*
The moose likes Tomcat and the fly likes Apache + Tomcat: why does connection works without jk2.properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache + Tomcat: why does connection works without jk2.properties" Watch "Apache + Tomcat: why does connection works without jk2.properties" New topic
Author

Apache + Tomcat: why does connection works without jk2.properties

Nicolas Stern
Ranch Hand

Joined: Apr 26, 2002
Posts: 57
Hello everybody,

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
Tien-Chih Wang
Greenhorn

Joined: Feb 23, 2003
Posts: 25
Check the workers2.properties

Tien-Chih Wang
[ September 07, 2004: Message edited by: Tien-Chih Wang ]
Matt Fury
Greenhorn

Joined: Mar 04, 2002
Posts: 23
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?


-------<br />Sun Certified Java 2 Programmer<br /><a href="http://www.lfhsolutions.com" target="_blank" rel="nofollow">http://www.lfhsolutions.com</a><br />matt@lfhsolutions.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache + Tomcat: why does connection works without jk2.properties