Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nicolas Stern
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the workers2.properties

Tien-Chih Wang
[ September 07, 2004: Message edited by: Tien-Chih Wang ]
 
Matt Fury
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic