|
From: Victor K. <Vic...@se...> - 2004-09-30 09:20:25
|
Thanks for the quick reply :-) > I do not see the Java side startup banner which shows that the > WrapperManager class is being correctly initialized. In every case > I have seen to date, this was caused by the user setting the main > class directly to their application's main class. My config definitaly uses WrapperSimpleApp. > When this happens, the app will start normally, but the Java side > of the Wrapper does not get initialized correctly and you get a > timeout. Are there any conditions that my app must obey which qould otherwise prevent WrapperSimpleApp from replying to the ping? Would it be worth making my app reply to the pings and use my main class as the mainclass? > could you please add the wrapper.debug=TRUE Heres my new config wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.classpath.1=wrapper.jar wrapper.java.classpath.2=call-logger.jar wrapper.java.command=java.exe wrapper.java.library.path.1=. wrapper.java.additional.1=uk.co.mooed.calllogger.Logger wrapper.java.additional.2=call-logger.properties wrapper.ntservice.displayname=FROG Call Logger wrapper.ntservice.name=FROGCallLogger wrapper.ntservice.description=Logs calls wrapper.ntservice.starttype=AUTO_START wrapper.ntservice.interactive=false wrapper.debug=TRUE and heres the new output: wrapper | --> Wrapper Started as Console wrapper | Using system timer. wrapperp | server listening on port 32000. wrapper | Launching a JVM... wrapper | command: "c:\products\j2sdk\bin\java.exe" uk.co.mooed.calllogger.Logger ca ll-logger.properties -Djava.library.path="." -classpath "wrapper.jar;call-logger.jar" -Dwrapper.key="QZqr731c447p4Jlx" -Dwrapper.port=32000 -Dwrapper.debug="TRUE" -Dwrapp er.use_system_time="TRUE" -Dwrapper.version="3.1.1" -Dwrapper.native_library="wrapper " -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimp leApp wrapper | JVM started (PID=3928) jvm 1 | localhost: Logging in localhost:23 (attempt 1) jvm 1 | localhost: Logged in jvm 1 | localhost: Connecting to localhost:4001 (attempt 1) jvm 1 | localhost: Connected jvm 1 | localhost: Logging started wrapper | Startup failed: Timed out waiting for a signal from the JVM. wrapper | JVM did not exit on request, terminated wrapper | JVM was only running for 29 seconds leading to a failed restart count of 1 . wrapper | Waiting 5 seconds before launching another JVM. wrapper | Launching a JVM... ... Regards, Vic -- Victor Kirk Analyst Serco Integrated Transport Tel: +44 (0)1642 636894 Fax: +44 (0)1642 636701 -- This message, including attachments, is intended only for the use by the person(s) to whom it is addressed. It may contain information which is privileged and confidential. Copying or use by anybody else is not authorised. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by Serco Integrated Transport. |