Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Configuring Apache with Jboss-Tomcat bundle

Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've installed Apache (apache_1.3.26-win32-x86-no_src) and Jboss-tomcat bundle (jboss-3.2.1_tomcat-4.1.24) on Windows 2000. Please give me some references or clarify the following.
1. Do I need to specify CATALINA_HOME if I want to use Apache as Web server and connect it to Tomcat bundled with Jboss ?
2. Where do I keep file ?
3. I've edited httpd.conf file to use JK2 connector. What configuration is required in Jboss directory structure to make Tomcat serve JSPs ?

For production quality with SSO/SSL, which combination of Apache and Jboss/tomcat versions is recommended ?
Chary Vangeepuram
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am in the same position, but I'm running Apache 2.0.47. Should you find the way, could you please tell me how to do that?
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was able to configure Apache and Tomcat together on Windows 2000 so that Apache would server static content and forward all other requests to Tomcat. I did not use Tomcat from JBoss, I used Tomcat standalone instead, but nevertheless, these instructions might help you...
One quick note, I dont think jk2 works with Apache 1.x versions. You can check the documentation at the Apache site to be 100%, but I'm almost positive I remember reading something to that effect.
Configuration on Apache 2.0.43
1)You need to place module "mod_jk-2.0.43.dll" in the Apache2043\modules directory.
2)Make sure you have the following line in Apache\conf\httpd.conf (this should be the last line in the Dynamic Shared Object (DSO) section of the file)
LoadModule jk_module modules/mod_jk-2.0.43.dll
3)Make sure you have the file "" in Apache2043\conf, and also make sure you have the following lines specified in the file (these are the properties that Apache uses to forward requests to Tomcat. Use your own custom settings for the port and host)
Configuration on Tomcat 4.1.27
1)Make sure that you have the following Connector specified in Tomcat4.1.27\conf\server.xml
2) My version of Tomcat4.1.27\conf\ is empty and contains nothing but comments, so I don't think any configuration is required.
That should be it. Make sure the value for "port" in the Connector from step 1) is equal to the "worker.ajp13.port" in step 3).
If you run into ClassNotFoundExceptions thrown by Tomcat complaining about "org.apache.jk.server.JkCoyoteHandler", then you will most likely need to get the latest JARs from the Tomcat site (the file is called tomcat-jk2.jar)
Hope that helps,
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic