|
From: Leif M. <le...@ta...> - 2004-03-17 04:51:20
|
From the console output, it does not look like the WrapperManager class is being loaded and initialized. You say that things are working in Console mode but I expect that the Wrapper will time out and kill the JVM after about 30 seconds there as well. Please go back reread the integration section of the documentation. You will most likely want to use integration method #1 which makes use of the WrapperSimpleApp helper class. Let me know if you have questions after looking over the docs. Cheers, Leif Srinivas Chuthari wrote: > > 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 ..? > 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="../lib > " -classpath > "..\lib\AdventNetLogging.jar;..\lib\AdventNetSnmp.jar;..\lib\jep-2. > 24.jar;..\lib\JimiProClasses.zip;..\lib\NetLite.jar" > -Dwrapper.key="a4wZ3sxr3MPB > s2_3" -Dwrapper.port=32003 -Dwrapper.debug="TRUE" > -Dwrapper.cpu.timeout="10" -Dw > rapper.jvmid=1 com.sitelite.netlite.model.NetLiteMonitor > wrapper | Java Virtual Machine started (PID=2264) > 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 > > |