|
From: Srinivas C. <sch...@si...> - 2004-03-17 00:06:10
|
I am trying to run my application as a service using Wrapper. I did all = the configuration and able to run successfully in console mode. But if = you try to start it as a service, the service will be in start pending = mode ( my application actually start running ) for ever. If I stop the = service it says the service is in start pending and will eventually = stop. What is wrong ..?=20 C:\NetLite\bin>Wrapper.exe -t ..\conf\wrapper.conf wrapper | Starting the SiteLite Network Monitoring service... wrapper | Waiting to start... wrapper | Waiting to start... wrapper | Waiting to start... wrapper | Waiting to start... wrapper | Waiting to start... C:\NetLite\bin>Wrapper.exe -p ..\conf\wrapper.conf wrapper | The SiteLite Network Monitoring service was in the process of = startin g. Stopping it... wrapper | Waiting to stop... C:\NetLite\bin>Wrapper.exe -c ..\conf\wrapper.conf wrapper | --> Wrapper Started as Console wrapperp | server listening on port 32003. wrapper | Launching a JVM... Unable to rename log file ../logs/wrapper.log to ../logs/wrapper.log.1. = File is in use by another application. wrapper | command: "..\jre\bin\java" -Xms3m -Xmx20m = -Djava.library.path=3D"../lib " -classpath = "..\lib\AdventNetLogging.jar;..\lib\AdventNetSnmp.jar;..\lib\jep-2. 24.jar;..\lib\JimiProClasses.zip;..\lib\NetLite.jar" = -Dwrapper.key=3D"a4wZ3sxr3MPB s2_3" -Dwrapper.port=3D32003 -Dwrapper.debug=3D"TRUE" = -Dwrapper.cpu.timeout=3D"10" -Dw rapper.jvmid=3D1 com.sitelite.netlite.model.NetLiteMonitor wrapper | Java Virtual Machine started (PID=3D2264) jvm 1 | 10.27.20.4 : pr0d5l : 1111 : switch : 1 wrapper | | wrapper | CTRL-C trapped. Shutting down. wrapper | wrapperStopProcess(0) called. Pause reading child output to share cycles. wrapper | Sending stop signal to JVM jvm 1 | ifInOctets : .1.3.6.1.2.1.2.2.1.10.1 : Tabular:ifTable:1:false : = Gene ric Event : 0.0 : NA : false jvm 1 | In cons table name is ifTable jvm 1 | ifInOctets : .1.3.6.1.2.1.2.2.1.10.2 : Tabular:ifTable:2:false : = Gene ric Event : 0.0 : NA : false jvm 1 | In cons table name is ifTable jvm 1 | ifInOctets : .1.3.6.1.2.1.2.2.1.10.3 : Tabular:ifTable:3:false : = Gene ric Event : 0.0 : NA : false jvm 1 | In cons table name is ifTable |