We have opted to upgrade to Virgo server 3.5, however we have been stumped trying to wrap Virgo in a Windows Service. Based off my searches it seems as though we may be one of the first to attempt to wrap Virgo 3.5 in a Windows service (?).
I would like to know what is the recommended wrapper to be used with the latest version of Virgo - and have there been any successful attempts at doing this with the latest version of Virgo...? If so, is there any samples/scripts for Virgo that are available?
We were successful using wrapping Virgo 3.0.3 as a service using YAJSW, however when since we've stepped up to Virgo 3.5 we've been getting "ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter" errors, whenever we use the JAVA main class "org.eclipse.equinox.launcher.Main" to start as per the docs...
The strange thing is the server will start fine utilizing the startup.bat file - but only when we run it in the SERVER_HOME directory.
If anyone has successfully implemented Virgo 3.5 as a Windows service, or you have an idea of why this isn't working, please chime in.
Chris Frost Messages: 230 Registered: January 2010 Location: Southampton, England
I don't know of anyone that has done this with a recent version of Virgo but before the project was donated to Eclipse we used the Tanuki Service Wrapper, I remember that it took some configuring but it worked well. YAJSW is the only other wrapper I have heard of people using. Just looked at the Tanuki web site and they have a community edition now so you arn't stuck on a back level of their old Open Source edition.
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.