|
From: Srinivas C. <sch...@si...> - 2004-03-19 18:28:15
|
Thanks for the reply leif. I exactly followed the procedures for usign = Method#1. I also able to succesfully run my application in the console = mode for more than 6 hours with out any problem. Only problem is if I = start the service. Any clue is greatly appreciated. Thanks Srinivas > -----Original Message----- > From: Srinivas Chuthari =20 > Sent: Tuesday, March 16, 2004 4:06 PM > To: 'wra...@li...' > Subject: Issue with the Service...Need help! >=20 >=20 > 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 >=20 >=20 |