|
From: Pritchard, S. <SP1...@te...> - 2002-12-30 20:01:25
|
Hi, I'm having trouble launching my program using the wrapper. I'm using Sun's JDK 1.4.1.01 on Windows 2000. I'm attempting to launch my program in console mode from a batch file. The batch file is a slight modification of the one used for the Test Wrapper example. My app runs fine when launched without wrapper. Wrapper appears to attempt to launch the JVM and then terminate and retry. It loops in this process and never successfully starts the VM. I turned on console debugging and have pasted my console output below. The strange part in this is my application seems to successfully start based on my app's log statements. So I'm not sure why wrapper thinks it hasn't started. I checked my netstat to ensure there wasn't a port conflict for 1777 and changed the port (just to be sure) but it didn't help. So I'm not sure what the problem is and have run out of ideas for debugging since my app seems to think it's running fine before wrapper terminates the JVM. Any suggestions for further troubleshooting? Thanks, Sean Pritchard wrapper | --> Wrapper Started as Console wrapperp | server listening on port 1777. wrapper | Launching a JVM... wrapper | command: "C:\j2sdk1.4.1_01\bin\java.exe" -hotspot -Dfile.encoding=UTF 8 -Xms128m -Xmx256m -Djava.library.path="../lib" -classpath "../lib/wrapper.jar; ../lib/TPS_hotfix.jar;../config;../lib/TPS.jar;../lib/mail.jar;../lib/log4j- 1.2. 7.jar" -Dwrapper.key="b0aa_HSUqy_XoWJI" -Dwrapper.port=1777 -Dwrapper.debug="TRU E" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.ncr.crm.email.multiplexer.Em ailMultiplexer wrapper | Java Virtual Machine started (PID=1440) wrapper | Startup failed: Timed out waiting for signal from JVM. wrapper | Java Virtual Machine did not exit on request, terminated wrapper | JVM was only running for 31 seconds leading to a failed restart count of 1. wrapper | Launching a JVM... |