Apache + Tomcat: why does connection works without jk2.properties
Joined: Apr 26, 2002
Thanks in advance for your input in this matter.
Products: - Apache 2.0.50 with mod_jk2/2.0.4 on winXP - Tomcate 5.1.25 on the same box
I'm configuring Tomcat to run with Apache using mod_jk2, and applying the procedure described in chap. 12 of wrox "professional Apache Tomcat 5" (Chopra et al).
As described, it works great. :=))
If I omit the file jk2.properties in Tomcat, the connection also works ... That is , I can access my Webapps deployed under Tomcat by sending the request to the Apache server
So why is this file needed for ?
Have a good day
Joined: Feb 23, 2003
Check the workers2.properties
Tien-Chih Wang [ September 07, 2004: Message edited by: Tien-Chih Wang ]
Joined: Mar 04, 2002
There is not much documentation listed on this. The JK2 Connector has significantly changed for Apache 2 and Tomcat 5. It took me a couple of days to finally figure out how it worked. I think I will probably put together a nice HOW-TO for everyone just to help others out. It's a real pain but better than the original connector.
Does this new book have anything on connectors with Apache?