2 Replies Latest reply on Oct 26, 2002 4:00 PM by jason poley

    How to integrate JBoss 2.4.4-Tomcat 4.0.1 with Apache 1.3

    karvui Newbie

      Install mod_jk.dll
      1. Download mod_jk.dll from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i386/mod_jk.dll if you don’t have the dll.
      2. Place the mod_jk.dll in the modules subdirectory under your Apache installation

      Install worker.properties file
      3. Create and download a worker.properties file if you don’t have. You can use the file shipped in Tomcat 3.2.4.
      4. Place the worker.properties file in the conf subdirectory under your Apache installation.

      Configure httpd.conf
      5. Edit httpd.conf in conf subdirectory under your Apache installation
      6. Goto LoadModule section, add the following line to the bottom of the list if it’s not already in the list:

      LoadModule jk_module modules/mod_jk.dll

      7. Goto AddModule section, add the following line to the bottom of the list if it’s not already in the list:

      AddModule mod_jk.c

      8. Next add this

      <IfModule mod_jk.c>
      JkWorkersFile conf/workers.properties
      JkLogFile logs/mod_jk.log
      JkLogLevel debug
      JkMount /jboss/* ajp13


      Note: The JkMount directive is used to assign specific URLs to Tomcat. I’ve use jboss as an example

      Configure jboss.jcml
      9. Edit jboss.jcml in conf\catalina subdirectory under your JBoss installation.
      10. If the following lines are not in the file, add it:







      Test it!
      11. Start JBoss/Tomcat bundle
      12. Start Apache web server
      13. Goto URL http://localhost/jboss/index.html. If no error occurs, you’ve configured the server correctly.