File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache + Tomcat: why does connection works without Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache + Tomcat: why does connection works without" Watch "Apache + Tomcat: why does connection works without" New topic

Apache + Tomcat: why does connection works without

Nicolas Stern
Ranch Hand

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

Thanks in advance for your input in this matter.

- 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 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

Joined: Feb 23, 2003
Posts: 25
Check the

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

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="" target="_blank" rel="nofollow"></a><br />
I agree. Here's the link:
subject: Apache + Tomcat: why does connection works without
jQuery in Action, 3rd edition