mod_jk2 and JOnAS
Hi, I've installed Apache 2.0.47 and the JOnAS/Tomcat (JOnAS 3.3, containing Tomcat 4.1.27) bundle - but I can't get it working. I've appended the configuration files and logs. Catalina log says, that a NullPointer occured. Any help appreciated. Kind regards Peter Nabbefeld jonas_config.zip Description: Zip compressed data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NPE in StandardHostValve.invoke
Hello, I've Tomcat and Apache httpd using mod_jk2. The catalina log file contains the following error message: 2003-10-04 16:09:03 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) BTW: Tomcat is running from the JOnAS-3-3-Tomcat bundle (including Tomcat 4.1.27). I would think, that there is some wrong configuration in server.xml. After checking the source code, I think that 'context.getLoader()' is null (the context is checked right before, and 'Thread.currentThread()' should never be zero). Perhaps I've not the appropriate rights for anonymous access? Any idea? Kind regards Peter Nabbefeld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DrWatson alert with httpd 2.0.43, Tomcat 4.1.12, mod_jk2 on W2k
..R.C?=m..R. 1c2bff80 b4 ff 2b 1c ce 60 00 78 - 88 b7 52 00 06 00 00 00 ..+..`.x..R. 1c2bff90 06 00 00 00 08 c2 52 00 - 00 f4 9e 82 8c ff 2b 1c ..R...+. 1c2bffa0 47 0f 43 80 dc ff 2b 1c - b8 ff 00 78 a8 35 03 78 G.C...+x.5.x 1c2bffb0 00 00 00 00 ec ff 2b 1c - dd 87 e7 77 08 c2 52 00 ..+w..R. Statusabbild für Threadkennung 0x728 eax=778221fe ebx=0004 ecx=77da0260 edx= esi=778837a7 edi=0004 eip=778837b2 esp=1c71fd24 ebp=1c71fd70 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0246 Funktion: NtWaitForMultipleObjects 778837a7 b8e900 mov eax,0xe9 778837ac 8d542404 lea edx,[esp+0x4] ss:1d22d2f7= 778837b0 cd2e int 2e 778837b2 c21400 ret 0x14 * Stack Back Trace * FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 1C71FD70 77E7A31D 1C71FD48 0001 ntdll!NtWaitForMultipleObjects 1C71FFB4 77E787DD 0005 000B000A 00072D50 kernel32!WaitForMultipleObjects 1C71FFEC 778221FE 00072D50 00C8 kernel32!GetModuleFileNameA * Raw Stack Dump * 1c71fd24 b7 7a e7 77 04 00 00 00 - 48 fd 71 1c 01 00 00 00 .z.wH.q. 1c71fd34 00 00 00 00 00 00 00 00 - 01 00 00 00 50 2d 07 00 P-.. 1c71fd44 01 00 00 00 cc 03 00 00 - d0 03 00 00 e0 03 00 00 1c71fd54 38 04 00 00 12 3d 1a 3d - 4c 3d 61 3d 6d 3d a9 3d 8=.=L=a=m=.= 1c71fd64 b6 3d c3 3d e8 3d ed 3e - 2c 3f 9d 3f b4 ff 71 1c .=.=.=.,?.?..q. 1c71fd74 1d a3 e7 77 48 fd 71 1c - 01 00 00 00 00 00 00 00 ...wH.q. 1c71fd84 00 00 00 00 00 00 00 00 - b2 22 82 77 04 00 00 00 ..w 1c71fd94 b0 fe 71 1c 00 00 00 00 - ff ff ff ff 50 2d 07 00 ..q.P-.. 1c71fda4 0a 00 0b 00 00 00 00 00 - 96 33 b1 33 b8 33 e5 33 .3.3.3.3 1c71fdb4 fd 33 08 34 00 00 00 00 - 01 00 00 00 38 00 00 00 .3.48... 1c71fdc4 23 00 00 00 23 00 00 00 - 00 00 00 00 0a 00 0b 00 #...#... 1c71fdd4 50 2d 07 00 00 6c 88 77 - 60 02 da 77 fe 21 82 77 P-...l.w`..w.!.w 1c71fde4 00 00 00 00 85 87 e7 77 - 1b 00 00 00 00 02 00 00 ...w 1c71fdf4 fc ff 71 1c 23 00 00 00 - ae 38 c4 38 ca 38 eb 38 ..q.#8.8.8.8 1c71fe04 f1 38 09 39 27 39 43 39 - 53 39 62 39 68 39 7e 39 .8.9'9C9S9b9h9~9 1c71fe14 85 39 8e 39 9b 39 da 39 - ea 39 1b 3a 5b 3a 6b 3a .9.9.9.9.9.:[:k: 1c71fe24 7e 3a af 3a bc 3a c9 3a - e5 3a f2 3a fd 3a 06 3b ~:.:.:.:.:.:.:.; 1c71fe34 45 3c 7a 3c ab 3c 08 3d - 18 3d 27 3d b4 3d 15 3e Ez..=.='=.=. 1c71fe44 4c 3e 94 3e eb 3e 7b 3f - 90 3f 95 3f 9c 3f bd 3f L..{?.?.?.?.? 1c71fe54 cb 3f e0 3f fe 3f 00 00 - 00 50 08 00 ec 00 00 00 .?.?.?...P.. It seems, that it is searching for a JVM, so I think it is complaining about some system call in mod_jk2 (yes, I have downloaded the correct file from version 2.0.1 directory). I didn't want to bore You with too many file content, so please tell me if You need more (e.g. jk2.properties, workers2.properties). With kind regards Peter Nabbefeld -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
[Win2000pro] mod_jk2 crash
9e 82 8c ff 2b 1c ..R...+. 1c2bffa0 47 0f 43 80 dc ff 2b 1c - b8 ff 00 78 a8 35 03 78 G.C...+x.5.x 1c2bffb0 00 00 00 00 ec ff 2b 1c - dd 87 e7 77 08 c2 52 00 ..+w..R. Statusabbild für Threadkennung 0x728 eax=778221fe ebx=0004 ecx=77da0260 edx= esi=778837a7 edi=0004 eip=778837b2 esp=1c71fd24 ebp=1c71fd70 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0246 Funktion: NtWaitForMultipleObjects 778837a7 b8e900 mov eax,0xe9 778837ac 8d542404 lea edx,[esp+0x4] ss:1d22d2f7= 778837b0 cd2e int 2e 778837b2 c21400 ret 0x14 * Stack Back Trace * FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 1C71FD70 77E7A31D 1C71FD48 0001 ntdll!NtWaitForMultipleObjects 1C71FFB4 77E787DD 0005 000B000A 00072D50 kernel32!WaitForMultipleObjects 1C71FFEC 778221FE 00072D50 00C8 kernel32!GetModuleFileNameA * Raw Stack Dump * 1c71fd24 b7 7a e7 77 04 00 00 00 - 48 fd 71 1c 01 00 00 00 .z.wH.q. 1c71fd34 00 00 00 00 00 00 00 00 - 01 00 00 00 50 2d 07 00 P-.. 1c71fd44 01 00 00 00 cc 03 00 00 - d0 03 00 00 e0 03 00 00 1c71fd54 38 04 00 00 12 3d 1a 3d - 4c 3d 61 3d 6d 3d a9 3d 8=.=L=a=m=.= 1c71fd64 b6 3d c3 3d e8 3d ed 3e - 2c 3f 9d 3f b4 ff 71 1c .=.=.=.,?.?..q. 1c71fd74 1d a3 e7 77 48 fd 71 1c - 01 00 00 00 00 00 00 00 ...wH.q. 1c71fd84 00 00 00 00 00 00 00 00 - b2 22 82 77 04 00 00 00 ..w 1c71fd94 b0 fe 71 1c 00 00 00 00 - ff ff ff ff 50 2d 07 00 ..q.P-.. 1c71fda4 0a 00 0b 00 00 00 00 00 - 96 33 b1 33 b8 33 e5 33 .3.3.3.3 1c71fdb4 fd 33 08 34 00 00 00 00 - 01 00 00 00 38 00 00 00 .3.48... 1c71fdc4 23 00 00 00 23 00 00 00 - 00 00 00 00 0a 00 0b 00 #...#... 1c71fdd4 50 2d 07 00 00 6c 88 77 - 60 02 da 77 fe 21 82 77 P-...l.w`..w.!.w 1c71fde4 00 00 00 00 85 87 e7 77 - 1b 00 00 00 00 02 00 00 ...w 1c71fdf4 fc ff 71 1c 23 00 00 00 - ae 38 c4 38 ca 38 eb 38 ..q.#8.8.8.8 1c71fe04 f1 38 09 39 27 39 43 39 - 53 39 62 39 68 39 7e 39 .8.9'9C9S9b9h9~9 1c71fe14 85 39 8e 39 9b 39 da 39 - ea 39 1b 3a 5b 3a 6b 3a .9.9.9.9.9.:[:k: 1c71fe24 7e 3a af 3a bc 3a c9 3a - e5 3a f2 3a fd 3a 06 3b ~:.:.:.:.:.:.:.; 1c71fe34 45 3c 7a 3c ab 3c 08 3d - 18 3d 27 3d b4 3d 15 3e Ez..=.='=.=. 1c71fe44 4c 3e 94 3e eb 3e 7b 3f - 90 3f 95 3f 9c 3f bd 3f L..{?.?.?.?.? 1c71fe54 cb 3f e0 3f fe 3f 00 00 - 00 50 08 00 ec 00 00 00 .?.?.?...P.. It seems, that it is searching for a JVM, so I think it is complaining about some system call in mod_jk2 (yes, I have downloaded the correct file from version 2.0.1 directory). I didn't want to bore You with too many file content, so please tell me if You need more (e.g. jk2.properties, workers2.properties). With kind regards Peter Nabbefeld -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org