• 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

can generate mod_jk.conf on tomcat 5?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a website running on Tomcat 5.0 and would like to bring in Apache 2.0 to serve static content (I'm doing this on my XP laptop -- I'll do it on Fedora next). I've had trouble finding a clear description of how to do this. Older articles covering Tomcat 4.0 or before talk about a procedure where Tomcat generates the mod_jk.conf file. Those articles say to add a statement like the following to Tomcat's server.xml file:

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true"/>

but notice the "tomcat4" in this statement. I can't find a class with this name in my Tomcat 5 distribution so I'm not sure how this can work. Anyone know if this is the right statement for generating mod_jk.conf, or if I need to substitute "tomcat5" above, or if the auto generation feature still exists in Tomcat5.

Thanks a lot. -Pete
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this one:
http://www.galatea.com/flashguides/apache20-tomcat5-modjk-linux
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having the same issue. I am on tomcat6 and apache 2.x on Fedora. I dont seem to find the auto generated config file. Anyone knows how to auto generate the mod_jk.conf file automatically in tomcat 6? That galatea.com link does not seem to work anymore.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic