|Remote repository configuration [message #655847]
||Tue, 22 February 2011 15:00
Registered: February 2011
I am having trouble getting Virgo remote repositories to work. There must be something basic that I am missing here.|
I am running two instances of the Virgo web server on my development machine. The first is configured to host the repository on port 8080. I did this by editing config\org.eclipse.virgo.apps.repository.properties:
The second (on port 8090) tries to use the remote repository, configured in config\org.eclipse.virgo.repository.properties:
remoterepo.uri= http://localhost:8080/org.eclipse.virgo.server.repository/ho stedrepo
In the logs for the second server I can see the failure to access the remote repository:
[2011-02-22 10:40:56.637] remoterepo o.e.v.r.i.r.ArtifactDescriptorStoreWatcher$StoreUpdaterThrea d Unexpected HTTP response code: 400 from remote repository 'remoterepo'.
I can also see a servlet being started on the second server for this remote repository:
[2011-02-22 10:13:39.721] start-signalling-2 System.err INFO: Initializing Spring FrameworkServlet 'hostedrepo'
[2011-02-22 10:13:39.721] start-signalling-2 org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'hostedrepo': initialization started
[2011-02-22 10:13:39.723] start-signalling-2 org.springframework.web.context.support.XmlWebApplicationCon text Refreshing WebApplicationContext for namespace 'hostedrepo-servlet': startup date [Tue Feb 22 10:13:39 PST 2011]; parent: ServerOsgiBundleXmlWebApplicationContext(bundle=org.eclipse. virgo.apps.repository-2.1.0.RELEASE-org.eclipse.virgo.apps.r epository.web, config=/WEB-INF/applicationContext.xml)
I don't see anything in the logs on the first instance about the remote repository.
My specific questions are:
1) What is wrong with my configuration?
2) What is the servlet on the second instance (the client of the remote repository)? Does its existence imply that one cannot access a Virgo remote repository running only the Virgo kernel? (I would not have been surprised to see a servlet running on the first instance to serve up artifacts from the hosted repository, but I see no evidence of this.)
Powered by FUDForum
. Page generated in 0.01513 seconds