Re: mod jk2/tomcat communication problem
kaleb, can you telnet to the tomcat connector port? 8009 is the default. On Tue, 21 Sep 2004, Kaleb Pederson wrote: Date: Tue, 21 Sep 2004 15:03:10 -0700 From: Kaleb Pederson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: mod jk2/tomcat communication problem I'm having some problems with apache and tomcat losing communication. I have mod_jk2 setup using tomcat as an out-of-process server. When apache loses communication with tomcat (even though tomcat is running and can be reached on port 8080 without problem), apache starts spawning processes, each of which slows the machine down and compounds the problem. These error messages show up in the logs when this happens: [Tue Sep 21 13:09:28 2004] [error] ajp13.service() ajpGetReply recoverable error 3 [Tue Sep 21 13:09:28 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Tue Sep 21 13:09:28 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 ... and sometimes I'll get the following, although rarely ... [Tue Sep 21 11:33:54 2004] [error] channelApr.receive(): Bad header [Tue Sep 21 11:33:54 2004] [error] workerEnv.processCallbacks() Error reading reply [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] msgAjp.receive(): Bad signature 00 Any ideas what I can do to resolve this problem? Thanks. --Kaleb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod jk2/tomcat communication problem
Alex, thanks for the response. I didn't try telnetting to port 8009, but will next time it goes down (I wish I could say *if* it goes down again :( ). I did nmap the box at that time, and it showed that the port was open. I'm going to try to switch to Unix sockets soon as well, as I hope that might fix the problem, but I'm not sure if that disallows me from using the load balancing (which I haven't setup yet as I don't have a backup machine) in the future or if I just have to reconfigure it so that the other channel uses the socket based connection? Thanks for the help. --Kaleb On Wednesday 22 September 2004 8:04 am, Alex wrote: kaleb, can you telnet to the tomcat connector port? 8009 is the default. On Tue, 21 Sep 2004, Kaleb Pederson wrote: Date: Tue, 21 Sep 2004 15:03:10 -0700 From: Kaleb Pederson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: mod jk2/tomcat communication problem I'm having some problems with apache and tomcat losing communication. I have mod_jk2 setup using tomcat as an out-of-process server. When apache loses communication with tomcat (even though tomcat is running and can be reached on port 8080 without problem), apache starts spawning processes, each of which slows the machine down and compounds the problem. These error messages show up in the logs when this happens: [Tue Sep 21 13:09:28 2004] [error] ajp13.service() ajpGetReply recoverable error 3 [Tue Sep 21 13:09:28 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Tue Sep 21 13:09:28 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 ... and sometimes I'll get the following, although rarely ... [Tue Sep 21 11:33:54 2004] [error] channelApr.receive(): Bad header [Tue Sep 21 11:33:54 2004] [error] workerEnv.processCallbacks() Error reading reply [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] msgAjp.receive(): Bad signature 00 Any ideas what I can do to resolve this problem? Thanks. --Kaleb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod jk2/tomcat communication problem
I'm having some problems with apache and tomcat losing communication. I have mod_jk2 setup using tomcat as an out-of-process server. When apache loses communication with tomcat (even though tomcat is running and can be reached on port 8080 without problem), apache starts spawning processes, each of which slows the machine down and compounds the problem. These error messages show up in the logs when this happens: [Tue Sep 21 13:09:28 2004] [error] ajp13.service() ajpGetReply recoverable error 3 [Tue Sep 21 13:09:28 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Tue Sep 21 13:09:28 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, status 200 ... and sometimes I'll get the following, although rarely ... [Tue Sep 21 11:33:54 2004] [error] channelApr.receive(): Bad header [Tue Sep 21 11:33:54 2004] [error] workerEnv.processCallbacks() Error reading reply [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] ajp13.service() ajpGetReply recoverable error 12 [Tue Sep 21 11:33:54 2004] [error] msgAjp.receive(): Bad signature 00 Any ideas what I can do to resolve this problem? Thanks. --Kaleb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]