Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29 It takes a second request to get a jsp or servlet output to display in the browser: I type in the url (jsp or servlet) and hit Enter, the browser spins indefinitely. I then hit Enter a second time, and the page will immediately load. Restated: All servlets/jsp requests do load - but only on the second hit (request). However, any static html page (served through apache) loads immediately on the first hit. If I hit the jsp/servlet through port 8080, it serves immediately. This doesn't seem to be a tomcat problem ( I suspect mod_jk), but since it does involve tomcat, I figured this forum would have the best shot at an answer. The apache (access_log, error_log), mod_jk, and catalina logs do not show any errors. The catalina_log.*.txt shows sporadic "IOException Broken pipe" errors. Any suggestions / advice would be appreciated. I have been writing java apps for a couple of years - some deployed to tomcat standalone, but this is my first adventure into tomcat connected to apache. Thanks!! Brent [ February 11, 2004: Message edited by: Brent Parker ]
posted 16 years ago
Fixed. Backed up to mod_jk 1.2.5 and problem was corrected.
I brought this back from the farm where they grow the tiny ads: