|
From: Pleasant, T. <tra...@lm...> - 2005-10-06 19:53:59
|
I get an error when trying to start the Windows Service Net start MyApp The MyApp Service is starting. The MyApp service cannot be started. A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. Command is: C:\MyApp\bin\wrapper.exe -s C:\MyApp\bin\..\conf\wrapper.conf Log reads STATUS | wrapper | 2005/10/06 13:22:07 | --> Wrapper Started as Service STATUS | wrapper | 2005/10/06 13:22:08 | Launching a JVM... FATAL | wrapper | 2005/10/06 13:22:08 | Unable to execute Java command. The system cannot find the file specified. (0x2) FATAL | wrapper | 2005/10/06 13:22:08 | "%JAVA_HOME%\bin\java" -Djava.library.path="..\lib" -classpath "..\lib\wrapper.jar;%JAVA_HOME%\lib\tools.jar;C:\MyApp\lib\MyApp.jar" -Dwrapper.key="AYrW1B3dageXdGaH" -Dwrapper.port=32001 -Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.myproject.MyApp 4400 FATAL | wrapper | 2005/10/06 13:22:08 | Critical error: wait for JVM process failed When running that command directory on the command line I get: Failed to connect to the Wrapper. java.net.ConnectionException: Connection refused: connect Exiting JVM... The application is a simple server application which opens a Socket on port 4400 and listens for requests. The application works on it's own and when I run MyApp.bat |