Virgo Tomcat Server 3.5.0 repository host returns 404https://www.eclipse.org/forums/index.php/mv/msg/390970/930770/#msg_930770
There is obviously something that I am missing, but I just cannot see it. Please help!

3. Create directory /home/devtools/hosted-virgo-repository
4. Copy a bundle to /home/devtools/hosted-virgo-repository. This bundle, if found by a VTS client, will fulfill a dependency requirement for a bundle that will be deployed on the client.
5. Start the VTS server on the linux machine. No errors in the logs, everything looks green from here.

6. Fresh install of VTS 3.5.0 on Windows 7 machine. This is the repository client.
7. edit configuration/org.eclipse.virgo.repository.properties. Add a remote repository pointing to the VTS repo server, and up date the chain to reference it. The actual hostname of the repo server resolves via DNS.

8. Start the VTS on the Windows 7 machine.
9. The client sends a request to the repo server, gets a 404 back.
10. Fail.

If there is any information I can provide, please let me know.

Regards,

Kevin]]>Kevin Beasley2012-10-02T16:23:37-00:00Re: Virgo Tomcat Server 3.5.0 repository host returns 404https://www.eclipse.org/forums/index.php/mv/msg/390970/931523/#msg_931523
Because you've clearly done your best to get this working, I was intrigued and tried to set it up myself. It's a while since I tested remote repository function and, unfortunately, it's one of the areas where we don't have an automated regression test of the end to end function.

So far, I have similarly failed to get it working on VTS 3.5.0 or VTS 3.0.3. Unless I'm making a stupid mistake, I think you've found a bug - feel free to raise a bugzilla if I haven't already done so (and posted to this thread) by the time you read this.

Meanwhile, I'm going back to VTS 2.1.x to see when it last worked the way I expect it to.

Regards,
Glyn]]>Glyn Normington2012-10-03T09:33:18-00:00Re: Virgo Tomcat Server 3.5.0 repository host returns 404https://www.eclipse.org/forums/index.php/mv/msg/390970/931551/#msg_931551
I am running a system of the type you are putting together. Unfortunately I am currently stuck at VTS version 3.0.0.RELEASE for corporate reasons (won't probably update for a few more months, and then it will be to VTS 3.6.x).

However I noticed that your linux server config file configuration/org.eclipse.virgo.apps.repository.properties is different from mine in this line:

The VTS repository host has a bundle, "Bundle2", in the location that it is serving from. When the client makes the request to get the index from the VTS host, the index lists Bundle2 correctly. I have a second bundle, "Bundle1", which has a dependency on Bundle2. When I deploy Bundle1 into the pickup directory on the VTS client, the installation of Bundle1 fails with an o.e.v.k.o.framework.UnableToSatisfyBundleDependenciesException. The exception indicates "Unsatisfied leaf constraint on Bundle2".

The thing that I don't see when I try to deploy Bundle1 is a request from the VTS client for the contents of Bundle2 from the VTS host. In fact, I never see that request happen. I am watching the connection with tcpdump, fwiw.

What I do see is an UnknownHostException being thrown when the client attempts to download Bundle2 from the repository host. The hostname that it attempts to contact is localhost.localdomain, which is clearly wrong since the VTS host is running on a machine with a FQDN. This exception does not show up on the console, but it does get written to serviceability/logs/log.log

The only reference I can find to localhost.localdomain is in a file in work/ that looks like the contents of the repository server response when the client polls for the index.

Looking at the work/cache directory on the VTS client, I can see that the folder structure for Bundle2 has been created, but none of the bundle contents are there. The folder structure gets created when I attempt to deploy Bundle1 on the client.

Sorry for the over long and rambling post. I try to be as thorough as I can. Please let me know if there is any other information I can gather for you.

Regards,

Kevin]]>Kevin Beasley2012-10-03T15:19:19-00:00Re: Virgo Tomcat Server 3.5.0 repository host returns 404https://www.eclipse.org/forums/index.php/mv/msg/390970/940374/#msg_940374
this forum thread for a possible workaround. Does that help? You may like to raise a bug too given that you've already created a decent write-up.]]>Glyn Normington2012-10-11T15:20:47-00:00