|
From: <yan...@bt...> - 2005-09-12 18:34:01
|
Leif, Thank you for the suggestions. But problems are still there. It seems nothing changed but the tomcat does not self terminate this time. Actually what I am trying to do is simply repeat the example given in the integration method 2, starting/stopping the Tomcat under unix, (http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-nix. html). My tomcat is 5.5.9. My Java version is 1.4.2_06-b03.=20 Do these two event affect the two exception? INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.core.StandardHost start INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: XML validation disabled INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mpower ] I have set all permissions of the related java executables mentioned in the webpage. Since I do not do anything special except simply starting and stopping Tomcat, I do not have any special native libraries. I did not met such problems when I did it with Tomcat 4.1.18.=20 Full logs go from here: DEBUG | wrapper | 2005/09/12 19:07:59 | Spawning intermediate process... DEBUG | wrapper | 2005/09/12 19:07:59 | Spawning daemon process... STATUS | wrapper | 2005/09/12 19:07:59 | --> Wrapper Started as Daemon DEBUG | wrapper | 2005/09/12 19:07:59 | Using system timer. DEBUG | wrapperp | 2005/09/12 19:07:59 | server listening on port 32000. DEBUG | wrapper | 2005/09/12 19:07:59 | Command[0] : /usr/j2se/bin/java DEBUG | wrapper | 2005/09/12 19:07:59 | Command[1] : -Djava.endorsed.dirs=3D../common/endorsed DEBUG | wrapper | 2005/09/12 19:07:59 | Command[2] : -Dcatalina.base=3D.. DEBUG | wrapper | 2005/09/12 19:07:59 | Command[3] : -Dcatalina.home=3D.. DEBUG | wrapper | 2005/09/12 19:07:59 | Command[4] : -Djava.io.tmpdir=3D../temp DEBUG | wrapper | 2005/09/12 19:07:59 | Command[5] : -Djava.library.path=3D../common/lib DEBUG | wrapper | 2005/09/12 19:07:59 | Command[6] : -classpath DEBUG | wrapper | 2005/09/12 19:07:59 | Command[7] : ../common/lib/wrapper.jar:/usr/j2se/lib/tools.jar:../bin/bootstrap.jar DEBUG | wrapper | 2005/09/12 19:07:59 | Command[8] : -Dwrapper.key=3DMl4m5PhK32mwLnAI DEBUG | wrapper | 2005/09/12 19:07:59 | Command[9] : -Dwrapper.port=3D32000 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[10] : -Dwrapper.debug=3DTRUE DEBUG | wrapper | 2005/09/12 19:07:59 | Command[11] : -Dwrapper.use_system_time=3DTRUE DEBUG | wrapper | 2005/09/12 19:07:59 | Command[12] : -Dwrapper.version=3D3.1.2 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[13] : -Dwrapper.native_library=3Dwrapper DEBUG | wrapper | 2005/09/12 19:07:59 | Command[14] : -Dwrapper.service=3DTRUE DEBUG | wrapper | 2005/09/12 19:07:59 | Command[15] : -Dwrapper.cpu.timeout=3D10 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[16] : -Dwrapper.jvmid=3D1 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[17] : org.tanukisoftware.wrapper.WrapperStartStopApp DEBUG | wrapper | 2005/09/12 19:07:59 | Command[18] : org.apache.catalina.startup.Bootstrap DEBUG | wrapper | 2005/09/12 19:07:59 | Command[19] : 1 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[20] : start DEBUG | wrapper | 2005/09/12 19:07:59 | Command[21] : org.apache.catalina.startup.Bootstrap DEBUG | wrapper | 2005/09/12 19:07:59 | Command[22] : true DEBUG | wrapper | 2005/09/12 19:07:59 | Command[23] : 1 DEBUG | wrapper | 2005/09/12 19:07:59 | Command[24] : stop STATUS | wrapper | 2005/09/12 19:07:59 | Launching a JVM... INFO | jvm 1 | 2005/09/12 19:08:00 | WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@53c015 INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper Manager: JVM #1 INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper Manager: Registering shutdown hook INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper Manager: Using wrapper INFO | jvm 1 | 2005/09/12 19:08:00 | Loaded native library: libwrapper.so INFO | jvm 1 | 2005/09/12 19:08:00 | Calling native initialization method. INFO | jvm 1 | 2005/09/12 19:08:00 | Inside native WrapperManager initialization method INFO | jvm 1 | 2005/09/12 19:08:00 | Java Version : 1.4.2_06-b03 Java HotSpot(TM) Client VM INFO | jvm 1 | 2005/09/12 19:08:00 | Java VM Vendor : Sun Microsystems Inc. INFO | jvm 1 | 2005/09/12 19:08:00 |=20 INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2005/09/12 19:08:00 |=20 INFO | jvm 1 | 2005/09/12 19:08:00 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@fa7e 74, args["start"]) called by thread: main INFO | jvm 1 | 2005/09/12 19:08:00 | Open socket to wrapper... INFO | jvm 1 | 2005/09/12 19:08:00 | Opened Socket INFO | jvm 1 | 2005/09/12 19:08:00 | Send a packet KEY : Ml4m5PhK32mwLnAI INFO | jvm 1 | 2005/09/12 19:08:00 | handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D33230]) DEBUG | wrapperp | 2005/09/12 19:08:00 | accepted a socket from 127.0.0.1 on port 33230 DEBUG | wrapperp | 2005/09/12 19:08:00 | read a packet KEY : Ml4m5PhK32mwLnAI DEBUG | wrapper | 2005/09/12 19:08:00 | Got key from JVM: Ml4m5PhK32mwLnAI DEBUG | wrapperp | 2005/09/12 19:08:00 | send a packet LOW_LOG_LEVEL : 1 DEBUG | wrapperp | 2005/09/12 19:08:00 | send a packet PING_TIMEOUT : 30 DEBUG | wrapper | 2005/09/12 19:08:00 | Start Application. DEBUG | wrapperp | 2005/09/12 19:08:00 | send a packet START : start INFO | jvm 1 | 2005/09/12 19:08:00 | Received a packet LOW_LOG_LEVEL : 1 INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper Manager: LowLogLevel from Wrapper is 1 INFO | jvm 1 | 2005/09/12 19:08:00 | Received a packet PING_TIMEOUT : 30 INFO | jvm 1 | 2005/09/12 19:08:00 | Wrapper Manager: PingTimeout from Wrapper is 30000 INFO | jvm 1 | 2005/09/12 19:08:00 | Received a packet START : start INFO | jvm 1 | 2005/09/12 19:08:00 | calling listener.start() INFO | jvm 1 | 2005/09/12 19:08:00 | WrapperStartStopApp: start(args) INFO | jvm 1 | 2005/09/12 19:08:00 | WrapperStartStopApp: invoking start main method INFO | jvm 1 | 2005/09/12 19:08:00 | Created MBeanServer with ID: 1301ed8:1064b85a2e4:-8000:teamworker:1 INFO | jvm 1 | 2005/09/12 19:08:02 | WrapperStartStopApp: start(args) end. Main Completed=3Dfalse, exitCode=3Dnull INFO | jvm 1 | 2005/09/12 19:08:02 | returned from listener.start() INFO | jvm 1 | 2005/09/12 19:08:02 | Send a packet STARTED :=20 DEBUG | wrapperp | 2005/09/12 19:08:02 | read a packet STARTED :=20 DEBUG | wrapper | 2005/09/12 19:08:02 | JVM signalled that it was started. INFO | jvm 1 | 2005/09/12 19:08:02 | Sep 12, 2005 7:08:02 PM org.apache.coyote.http11.Http11Protocol init INFO | jvm 1 | 2005/09/12 19:08:02 | INFO: Initializing Coyote HTTP/1.1 on http-8080 INFO | jvm 1 | 2005/09/12 19:08:02 | Sep 12, 2005 7:08:02 PM org.apache.catalina.startup.Catalina load INFO | jvm 1 | 2005/09/12 19:08:02 | INFO: Initialization processed in 1758 ms INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.core.StandardService start INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: Starting service Catalina INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.core.StandardEngine start INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: Starting Servlet Engine: Apache Tomcat/5.5.9 INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.core.StandardHost start INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: XML validation disabled INFO | jvm 1 | 2005/09/12 19:08:03 | Sep 12, 2005 7:08:03 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO | jvm 1 | 2005/09/12 19:08:03 | INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mpower ] DEBUG | wrapperp | 2005/09/12 19:08:03 | send a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:04 | Received a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:04 | Send a packet PING : ok DEBUG | wrapperp | 2005/09/12 19:08:04 | read a packet PING : ok DEBUG | wrapper | 2005/09/12 19:08:04 | Got ping response from JVM INFO | jvm 1 | 2005/09/12 19:08:05 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:05 | INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] INFO | jvm 1 | 2005/09/12 19:08:05 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:05 | INFO: ContextListener: contextInitialized() INFO | jvm 1 | 2005/09/12 19:08:05 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:05 | INFO: SessionListener: contextInitialized() INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: ContextListener: contextInitialized() INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: SessionListener: contextInitialized() INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:05 PM org.apache.catalina.core.StandardContext filterStart INFO | jvm 1 | 2005/09/12 19:08:06 | SEVERE: Exception starting filter Compression Filter INFO | jvm 1 | 2005/09/12 19:08:06 | java.lang.ClassNotFoundException: compressionFilters.CompressionFilter INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1332) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1181) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi lterConfig.java:211) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio nFilterConfig.java:308) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte rConfig.java:79) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav a:3540) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110 ) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:759) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:8 94) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :857) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31 1) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardService.start(StandardService.java:450) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Catalina.start(Catalina.java:537) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.reflect.Method.invoke(Method.java:324) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.reflect.Method.invoke(Method.java:324) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.j ava:159) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.Thread.run(Thread.java:534) INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.StandardContext filterStart INFO | jvm 1 | 2005/09/12 19:08:06 | SEVERE: Exception starting filter Set Character Encoding INFO | jvm 1 | 2005/09/12 19:08:06 | java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1332) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1181) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi lterConfig.java:211) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio nFilterConfig.java:308) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte rConfig.java:79) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav a:3540) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4110 ) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:759) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:8 94) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :857) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31 1) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardService.start(StandardService.java:450) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Catalina.start(Catalina.java:537) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.reflect.Method.invoke(Method.java:324) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) INFO | jvm 1 | 2005/09/12 19:08:06 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.reflect.Method.invoke(Method.java:324) INFO | jvm 1 | 2005/09/12 19:08:06 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.j ava:159) INFO | jvm 1 | 2005/09/12 19:08:06 | at java.lang.Thread.run(Thread.java:534) INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.StandardContext start INFO | jvm 1 | 2005/09/12 19:08:06 | SEVERE: Error filterStart INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.StandardContext start INFO | jvm 1 | 2005/09/12 19:08:06 | SEVERE: Context [/servlets-examples] startup failed due to previous errors INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1cd107f') INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1f64158') INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3c2378') INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: SessionListener: contextDestroyed() INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.core.ApplicationContext log INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: ContextListener: contextDestroyed() INFO | jvm 1 | 2005/09/12 19:08:06 | Sep 12, 2005 7:08:06 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO | jvm 1 | 2005/09/12 19:08:06 | INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mpower .new] INFO | jvm 1 | 2005/09/12 19:08:07 | Sep 12, 2005 7:08:06 PM org.apache.coyote.http11.Http11Protocol start INFO | jvm 1 | 2005/09/12 19:08:07 | INFO: Starting Coyote HTTP/1.1 on http-8080 INFO | jvm 1 | 2005/09/12 19:08:07 | Sep 12, 2005 7:08:07 PM org.apache.jk.common.ChannelSocket init INFO | jvm 1 | 2005/09/12 19:08:07 | INFO: JK: ajp13 listening on /0.0.0.0:8009 INFO | jvm 1 | 2005/09/12 19:08:07 | Sep 12, 2005 7:08:07 PM org.apache.jk.server.JkMain start INFO | jvm 1 | 2005/09/12 19:08:07 | INFO: Jk running ID=3D0 time=3D0/64 config=3Dnull INFO | jvm 1 | 2005/09/12 19:08:07 | Sep 12, 2005 7:08:07 PM org.apache.catalina.storeconfig.StoreLoader load INFO | jvm 1 | 2005/09/12 19:08:07 | INFO: Find registry server-registry.xml at classpath resource INFO | jvm 1 | 2005/09/12 19:08:07 | Sep 12, 2005 7:08:07 PM org.apache.catalina.startup.Catalina start INFO | jvm 1 | 2005/09/12 19:08:07 | INFO: Server startup in 4667 ms DEBUG | wrapperp | 2005/09/12 19:08:08 | send a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:08 | Received a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:08 | Send a packet PING : ok DEBUG | wrapperp | 2005/09/12 19:08:08 | read a packet PING : ok DEBUG | wrapper | 2005/09/12 19:08:08 | Got ping response from JVM DEBUG | wrapperp | 2005/09/12 19:08:12 | send a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:12 | Received a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:12 | Send a packet PING : ok DEBUG | wrapperp | 2005/09/12 19:08:12 | read a packet PING : ok DEBUG | wrapper | 2005/09/12 19:08:12 | Got ping response from JVM DEBUG | wrapperp | 2005/09/12 19:08:16 | send a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:16 | Received a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:16 | Send a packet PING : ok DEBUG | wrapperp | 2005/09/12 19:08:16 | read a packet PING : ok DEBUG | wrapper | 2005/09/12 19:08:16 | Got ping response from JVM DEBUG | wrapperp | 2005/09/12 19:08:20 | send a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:20 | Received a packet PING : ping INFO | jvm 1 | 2005/09/12 19:08:20 | Send a packet PING : ok DEBUG | wrapperp | 2005/09/12 19:08:20 | read a packet PING : ok DEBUG | wrapper | 2005/09/12 19:08:20 | Got ping response from JVM Any hints? Thank you very much! Regards, Wei -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: 12 September 2005 13:30 To: wra...@li... Subject: Re: [Wrapper-user] Exception starting filter Compression Filter and wapper self shuts down Wei, Can you try that again with the wrapper.debug=3Dtrue property set? = That error means that Wrapper's attempt to launch the 2nd JVM is failing because it can't find the java binary... I assume that the Java binary is still there. Not sure how it would be possible. But I wonder if it is some kind of a permission problem. What are the permissions of the java executable? Are there any native libraries other than the libwrapper.so file? Maybe something in your application? Any native libraries would have to be in the common/lib directory. On startup, you are getting exceptions about Tomcat not being able to find classes that should be there... Most likely related. This is one I have not seen before :-/ I don't see anything in the wrapper.conf file that looks abnormal either. Cheers, Leif >>My Wrapper.conf file is as follow: >>wrapper.java.command=3D%JAVA_HOME%/bin/java >> >>wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperStartStopApp= >> >>wrapper.java.classpath.1=3D../common/lib/wrapper.jar >>wrapper.java.classpath.2=3D%JAVA_HOME%/lib/tools.jar >>wrapper.java.classpath.3=3D../bin/bootstrap.jar >> >>wrapper.java.library.path.1=3D../common/lib >> >>wrapper.java.additional.1=3D-Djava.endorsed.dirs=3D../common/endorsed >>wrapper.java.additional.2=3D-Dcatalina.base=3D.. >>wrapper.java.additional.3=3D-Dcatalina.home=3D.. >>wrapper.java.additional.4=3D-Djava.io.tmpdir=3D../temp >> >>wrapper.app.parameter.1=3Dorg.apache.catalina.startup.Bootstrap >>wrapper.app.parameter.2=3D1 >>wrapper.app.parameter.3=3Dstart >>wrapper.app.parameter.4=3Dorg.apache.catalina.startup.Bootstrap >>wrapper.app.parameter.5=3Dtrue >>wrapper.app.parameter.6=3D1 >>wrapper.app.parameter.7=3Dstop >> >>wrapper.on_exit.default=3DRESTART >>wrapper.on_exit.0=3DSHUTDOWN >> >>wrapper.daemonize=3DTRUE |