|
From: Anakreon M. <am...@er...> - 2003-08-05 14:44:02
|
Hello all. In order to integrate the wrapper to my application I am using the last method, and implemented WrapperListener. When starting the application from console (Wrapper.exe -c C:\code\java\xrisima\config\wrapper.properties) and log level to debug I get this output: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper Manager: JVM #1 jvm 1 | Wrapper Manager: Registering shutdown hook jvm 1 | Wrapper Manager: Using wrapper jvm 1 | Calling native initialization method. jvm 1 | Initializing WrapperManager native library. jvm 1 | Java Executable: c:\j2sdk1.4.0_01\bin\java.exe jvm 1 | Java Version : 1.4.0_01-b03 Java HotSpot(TM) Client VM jvm 1 | Java VM Vendor : Sun Microsystems Inc. jvm 1 | jvm 1 | Wrapper (Version 3.0.0) jvm 1 | jvm 1 | Open socket to wrapper... jvm 1 | Opened Socket jvm 1 | Send a packet 110 : O1XpGyFt63WDCMnQ jvm 1 | handleSocket(Socket[addr=/127.0.0.1,port=1777,localport=2128]) jvm 1 | Received a packet 112 : 1 jvm 1 | Wrapper Manager: LowLogLevel from Wrapper is 1 jvm 1 | Received a packet 100 : start jvm 1 | calling listener.start() jvm 1 | returned from listener.start() jvm 1 | Send a packet 106 : jvm 1 | All non-daemon threads have stopped. Exiting. jvm 1 | Send a packet 101 : 0 jvm 1 | Thread, Wrapper-Connection, handling the shutdown process. jvm 1 | calling listener.stop() jvm 1 | returned from listener.stop() jvm 1 | Send a packet 107 : 0 jvm 1 | Closing socket. jvm 1 | calling System.exit(0) wrapper | <-- Wrapper Stopped Have I forgot something in the implementation of WrapperListener? What should I do to prevent wrapper from stoping? When I try to run the application from the services, an error message is displayd.But at the moment I am concerned in the console version. Thanks in advanced, Anakreon. |