| Summary: | The Virgo Server does not update the hosted repository | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Mohit <mohit.kumr> | ||||||
| Component: | unknown | Assignee: | Project Inbox <virgo-inbox> | ||||||
| Status: | CLOSED INVALID | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | glyn.normington, mohit.kumr | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Mohit
Did you use a watched repository in the repository host? You should also check the refresh interval of the repository client. I tried with both external and watched repostiory with the refresh interval of 30 seconds in the host system and in the repository client the resfresh interval was 30 seconds. Ok, then this is strange as the function has worked on other occasions. An external repository won't help as it is only refreshed on repository server startup, but a watched repository should give the desired behaviour. Have you tried allowing, say, 2 minutes between adding the bundle and deploying the plan to ensure that both intervals have had a chance to expire in sequence? When I use the repostiory as external then the repository is available but when we try using watched repository then the repository is not available and when we try to access the hosted repository from URL "http://localhost:8080/org.eclipse.virgo.apps.repository/hosted-repo" it gives "HTTP Status 404" Hmmm. It certainly seems likely you have a configuration error somewhere. Have you double/triple checked that you have correctly followed the instructions in the User Guide? To be clear, your repository server Virgo instance should use a watched repository to store the artifacts that need to be available remotely. If you still can't find the problem, please attach all the relevant configuration files to this bug so we can take a look. Created attachment 199728 [details]
Virgo server Hosted Repostiory configuration
This is the configuration file available on the Virgo Server Instance.
Created attachment 199729 [details]
Virgo client reomote repostiory configuration
This file is available at the Virgo Client Instance for lookup in the remote repository.
Please see the attched configuration files and let me know if I am missing something or any thing else need to add. The server donot host the repository with this configuration.But when I use hosted-repo as external in the server reposotory configuration the hosted-repo becomes available. The hosted repository configuration is incorrect: hosted-repo.type=watched hosted-repo.searchPattern=repository/hosted/* hosted-repo.watchedInterval=10 For a watched repository, you must specify repository-name.watchDirectory. searchPattern is only applicable for an external repository. This is described in Table 11.8 in the User Guide: http://www.eclipse.org/virgo/documentation/virgo-documentation-3.0.0.x/docs/virgo-user-guide/htmlsingle/virgo-user-guide.html#configuring-hosted-repo. |