You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sander-martijn <em...@sander-martijn.com> on 2003/07/03 22:02:36 UTC

Integration problems: tomcat 4.1, apache 1.3.x mod_jk (ajp13)

Hi,

I'm trying to integrate apache and tomcat on our new production server.  
I'm having a problem which appears to be related to tomcat dropping 
connections without apache realizing it or vice versa.  Every so many 
requests (sometimes 2, sometimes 20) I get an internal server error, 
after which i have to restart both apache and tomcat.  Below are some 
sample log entries (gathered from a variety of tomcat and httpd logs) of 
what is output when this happens:

INFO: connection timeout reached
[jk_ajp13_worker.c (203)]: connection_tcp_get_message: Error - 
jk_tcp_socket_recvfull failed
[jk_ajp13_worker.c (621)]: Error reading request
[jk_ajp13_worker.c (491)]: Into jk_endpoint_t::done
192.168.1.10 - - [03/Jul/2003:14:56:46 -0400] "GET /index.jsp HTTP/1.1" 
500 621
[03/Jul/2003:14:56:46 -0400] 192.168.1.10 TLSv1 RC4-MD5 "GET /index.jsp 
HTTP/1.1" 621


Below are some snippets from my configs that i think may be related to 
the problem - i tried to note places i had tried other settings already 
to avoid postings that result in replies of "tried that - didn't work". 

# /etc/tomcat4/server.xml
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="150" # was 
at 75 - changed to 150 to match httpd.conf
               enableLookups="false" debug="99"
               acceptCount="100" connectionTimeout="15000" # tried these 
at other numbers
               useURIValidationHack="false"
               
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
       />


# /etc/httpd/conf/worker.properties
worker.list=ajp13
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009


# /etc/httpd/conf/httpd.conf
Timeout 300

KeepAlive Off                         # tried this On
MaxKeepAliveRequests 30
KeepAliveTimeout 15

MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 150
MaxRequestsPerChild 0            # tried this at other numbers




Thanks in advance for any help you can give.

.sander




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org