JVM Error for Java Service Wrapper

gFu picture gFu · Jun 16, 2011 · Viewed 8k times · Source

This appears in a log file when I try to start a service I just installed as a windows service using the JSWrapper:

STATUS | wrapper | 2011/06/16 13:55:57 | Launching a JVM...
ERROR | wrapper | 2011/06/16 13:55:57 | JVM exited while loading the application.
STATUS | wrapper | 2011/06/16 13:55:57 | JVM Restarts disabled. Shutting down.
STATUS | wrapper | 2011/06/16 13:55:58 | <-- Wrapper Stopped

Can anyone tell me what needs to be done to fix this issue? I have java installed and paths set correctly in environment variables. Not sure what's going on.

Answer

Naytzyrhc picture Naytzyrhc · Aug 31, 2011

since there is also no output of the JVM from the Wrapper's initialization, I suppose there is sth wrong with your wrapper.java.command...

can you please enable debug mode by setting wrapper.debug=true in your conf file? you should see the command line of the JVM the Wrapper is trying to execute.

If you don't see any problem in both places, please post the output and let me have a look at it...

cheers,