• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check the workers2.properties

Tien-Chih Wang
[ September 07, 2004: Message edited by: Tien-Chih Wang ]
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic