Hi, Do you have firewall configured between Apache+mod_jk and tomcat servers, if yes then try setting following parameters.
worker.tomcat61.cachesize=25 worker.tomcat61.cache_timeout=20 worker.tomcat61.socket_timeout=20 worker.tomcat61.socket_keepalive=1 and also let me know what is timeout paramenters in sever.xml. It could be 20000 miliseconds so I put 20 seconds in mod_jk. Please past server.xml and workers.properties (which you did). With regards, Babu Satasiya Cisco System Inc. Dave Gardner wrote: > > mod_jk seems to fail if not in debug mode > > I've set up my Apache/Tomcat servers and it seems to be working. However, > in my httpd.conf if I use "JkLogLevel info" I get the following messages > in my mod_jk.log file: > > [Tue Feb 13 08:08:45 2007] [24399:46784] [info] > ajp_process_callback::jk_ajp_common.c (1433): Writing to client aborted or > client network problems > > [Tue Feb 13 08:08:45 2007] [24399:46784] [info] > ajp_service::jk_ajp_common.c (1832): (tomcat72) request failed, because of > client write error without recovery in send loop attempt=0 > > [Tue Feb 13 08:08:45 2007] [24399:46784] [info] service::jk_lb_worker.c > (979): unrecoverable error 200, request failed. Client failed in the > middle of request, we can't recover to another instance. > > [Tue Feb 13 08:08:45 2007] [24399:46784] [info] jk_handler::mod_jk.c > (2135): Aborting connection for worker=tomcats > > These repeat, not for every request but it cycles through all four Tomcat > workers about every 10-20 minutes or so. Users also are getting page > cannot be displayed, timeouts, etc. > > If I change it to "JkLogLevel debug" I get tons of information but no > errors. Users tend to run a little slow (probably because of all the > logging taking place), but it seems to work. > > Any help here would be appreciated. > > I am running: > > Linux RedHat Fedora 4.2 > Apache 2.0.54-10 > Apache Tomcat 5.5.12 > Tomcat Connectors (mod_jk) 1.2.20 > > 2 physical servers, each with dual procesors > Each server runs 2 instances of Tomcat, each with it's own AJP1.3 > connector > Apache HTTPD runs on one server running virtual hosts. > Each host routes to mod_jk using a "JkMount /* tomcats" directive > My workers.properties file looks like this: > > # workers.properties start > ps=/ > worker.list=tomcat61, tomcat62, tomcat71, tomcat72, tomcats, jkstatus > # DTBS6 Tomcat 1 > worker.tomcat61.port=8009 > worker.tomcat61.host=192.168.6.41 > worker.tomcat61.type=ajp13 > worker.tomcat61.lbfactor=100 > # DTBS6 Tomcat 2 > worker.tomcat62.port=8010 > worker.tomcat62.host=192.168.6.41 > worker.tomcat62.type=ajp13 > worker.tomcat62.lbfactor=100 > # DTBS7 Tomcat 1 > worker.tomcat71.port=8009 > worker.tomcat71.host=192.168.6.42 > worker.tomcat71.type=ajp13 > worker.tomcat71.lbfactor=100 > # DTBS7 Tomcat 2 > worker.tomcat72.port=8010 > worker.tomcat72.host=192.168.6.42 > worker.tomcat72.type=ajp13 > worker.tomcat72.lbfactor=100 > # Load Balancer worker > worker.tomcats.type=lb > worker.tomcats.balance_workers=tomcat61, tomcat71, tomcat62, tomcat72 > # Status Worker > worker.jkstatus.type=status > # workers.properties end > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/mod_jk-seems-to-fail-if-not-in-debug-mode-tf3221490.html#a8951985 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]