We run the Tomcat (v4.1) with Apache (1.3), connected through mod_jk. Every so often it stops running. Unfortunately, I have no idea why and I am not on top of all scripts running.
[Wed Jul 27 17:14:42 2005] [jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has been sent to the client (yet)
[Wed Jul 27 17:14:42 2005] [jk_ajp_common.c (1449)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0
[Wed Jul 27 17:14:42 2005] [jk_ajp_common.c (1477)]: Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=localhost failed errno = 61
The error log claims that it's not running, but it is. The fix has been to stop and start it and then it works. Sometimes for 6 weeks, sometimes for 5 days only.
Originally posted by retep The next time you get an error, try to check that tomcat is listening on the ajp port. e.g. telnet localhost 8009. That'll verify if it is listening or not. If not, check your tomcat logs for errors.
It just happened again. And yeah, the Tomcat was indeed not running, as stated in the error logs. Just not sure what makes it crash. Any ideas?
Looks like the problem is definitely on tomcat side, maybe you can try tomcat 5.x if there is no major compatibility issue.
Another possibility is that JVM crashed, make sure that you are using the latest one.
LiteSpeed Web Acceleration Platform by http://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!