Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache mod_jk2 and tomcat

Status
Not open for further replies.
Oct 7, 2004
2
0
0
US
Hello. I'm experiencing some strange behavior between my apache and tomcat systems. First my setup. I have two systems both running redhat 7.2. One system is my webserver running apache 2.0.49 with mod_jk2 2.0.2. This connects to my tomcat system running tomcat 5.0.19; over the standard port 8009. The webserver is isolated in a dmz.
Everything works great. However, sometimes when accessing the page, it never loads. I don't see any errors in my logs. It just spins. If I halt apache, the 8009 ESTABLISHED connections die off. My tomcat system, on the other hand, 8009 connections remain ESTABLISHED.
Is there something I'm missing for having an apache server in a dmz.


Thanks
 
This may not help much: my experiences with mod_jk2 have not been positive - al least not ready for us to go into production. Other users may have had better experience.

We ended using Apache as a proxy web server to Tomcat - no need for a bridge.
 
I have similar problems and, though I haven't been able to determine the exact cause, I'm leaning towards the probability that it isn't a problem with mod_jk2 but actually a problem with tomcat.
 
Thanks for the input. I solved my issue. After an hour, if no data had been transmitted on 8009, the firewall would chop those connections. I enabled keepalive in my jk properties file on the apache server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top