Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo as windows service (Changes between 3.2.0 and 3.5.0 for starting Virgo as windows service)
Virgo as windows service [message #940659] Thu, 11 October 2012 17:28 Go to previous message
Prasanth Salla is currently offline Prasanth Salla
Messages: 4
Registered: May 2011
Junior Member
We currently use Virgo 3.0.2.RELEASE. The Virgo is starting as a windows service using the Tanuki Java Wrapper software. The parameters we pass to the Wrapper software as below:

wrapper.conf for 3.0.2

set.default.SERVER_HOME=%VWS_HOME%
set.default.CONFIG_DIR=%SERVER_HOME%/config

wrapper.app.parameter.1=org.eclipse.virgo.osgi.launcher.Launcher
wrapper.app.parameter.2=-config
wrapper.app.parameter.3=%SERVER_HOME%/lib/org.eclipse.virgo.kernel.launch.properties
wrapper.app.parameter.4=-Forg.eclipse.virgo.kernel.home=%SERVER_HOME%
wrapper.app.parameter.5=-Forg.eclipse.virgo.kernel.config=%CONFIG_DIR%
wrapper.app.parameter.6=-Fosgi.configuration.area=%SERVER_HOME%/work/osgi/configuration
wrapper.app.parameter.7=-Fosgi.java.profile=file:%SERVER_HOME%/lib/java6-server.profile
wrapper.app.parameter.8=-Fosgi.clean=true

When we do something similar for the Virgo 3.5.0.RELEASE the service is not startign and the interestingly the Serviceability folder is not created for me to check the logs. If I start the Virgo from command line everything works fine.


wrapper.conf for 3.5.0

wrapper.app.parameter.1=org.eclipse.virgo.osgi.launcher.Launcher
wrapper.app.parameter.2=-config
wrapper.app.parameter.3=%CONFIG_DIR%/config.ini
wrapper.app.parameter.4=-Forg.eclipse.virgo.kernel.home=%SERVER_HOME%
wrapper.app.parameter.5=-Forg.eclipse.virgo.kernel.config=%CONFIG_DIR%
wrapper.app.parameter.6=-Fosgi.configuration.area=%CONFIG_DIR%
wrapper.app.parameter.7=-Fosgi.java.profile=file:%CONFIG_DIR%/java6-server.profile
wrapper.app.parameter.8=-Fosgi.clean=true

I would appreciate if you can let me know if any of the parameters for the Launcher have changed or if there is a different approach.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Remote Node Management
Next Topic:No frame contents in Swing app on Virgo
Goto Forum:
  


Current Time: Sat May 25 17:47:38 EDT 2013

Powered by FUDForum. Page generated in 0.01624 seconds