I found the solution for my problems and i thought that i will record it for future visitors ...
----- Original Message ----- From: "Harippriya Sivapatham" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 1:33 PM Subject: jk_ajp_common.c errors - issues with mod_jk receiving messages from tomcat > Hi everyone, > We are using Tomcat 3.2.3 and Apache 2.0.43 on Linux. I downloaded and > installed mod_jk-2.0.43.so and everything seemed to work fine (atleast on > IE). > > However, when I looked at the mod_jk log and i saw the following errors: > > [Thu Jan 16 12:23:49 2003] [jk_ajp_common.c (681)]: ERROR: can't receive > the response message from tomcat, network problems or tomcat is down. > [Thu Jan 16 12:23:49 2003] [jk_ajp_common.c (1050)]: Error reading reply > from tomcat. Tomcat is down or network problems. > [Thu Jan 16 12:23:49 2003] [jk_ajp_common.c (1187)]: ERROR: Receiving from > tomcat failed, recoverable operation. err=0 > > What do these errors mean and how can i fix them? I was using the workers.properties that was shipped with tomca (not a wise thing) but everything worked. But when i modified it to suit my environment, these errors vanished. > > I was tracking down a strange problem and that's when i happened to see the > log. I would be glad if anyone had any insights into this and if the errors > seen in mod_jk were responsible for the problems i am facing: > > On our website, we use the following redirection: > User login: /pds/login/login.html -- Works fine > Redirects to: /pds/login/j_security_check -- Works fine > Redirects to: /pds/initialize/initialize.jsp -- Redirects fine > Redirects to: /pds/ui/index.jsp > > the last redirect to index.jsp works fine and Apache gives a 200 response. > On IE, the page is loaded fine. But on Netscape, it says the following: > > HTTP/1.1 200 Date: Thu, 16 Jan 2003 15:04:24 GMT Server: Apache/2.0.43 > (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6b mod_jk/1.2.2 Content-Length: 1371 > Last-Modified: Wed, 15 Jan 2003 16:03:10 GMT Keep-Alive: timeout=15, max=96 > Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1 > > >From the apache access logs, it appears as though the index.jsp was not > processed. However, if i hit the 'go' button on the address bar, the page is > loaded fine. mod_ssl seams to have problems with HTTP 1.1 Hence it forces IE browsers to use HTTP 1.0. When i did the same for Netscape browsers too in ssl.conf file, the page content was displayed successfully. > > One small note: I am using mod_jk binary i downloaded from the > jakarta-connectors area instead of the one that is available under tomcat's > bin directory. Does is make a difference? > > Thanks for your help in advance. > > Hari > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>