0 Replies Latest reply on Apr 28, 2002 12:24 PM by jdsys

    How to configure Apache to talk to Tomcat/JBoss?

    jdsys

      I have configure both Tomcat and Apache so they can talk to each other but it I have not been successful.
      How exactly is the httpd.conf file supposed to be configured?
      For example:
      I have the following lines in my httpd.conf file.
      ###################################################
      <IfModule !mod_jk.c>
      LoadModule jk_module modules/mod_jk.dll

      JkWorkersFile "/workers.properties"
      JkLogFile "/usr/local/JBoss-2.4.4_Tomcat-4.0.1/catalina/logs/mod_jk.log"
      JkLogLevel emerg
      JkMount /admin ajp13
      JkMount /admin/* ajp13
      JkMount /examples/*.jsp ajp13
      JkMount /jboss/* ajp13
      JkMount /examples/* ajp13
      JkMount /servlet/* ajp13
      #####################################################
      Where do I find the workers.properties file?
      Where are the JkMount directories? Do I create them on the Apache side or the Tomcat side? I am running Tomcat embedded with JBoss. So currently the root of all jsp's exists on the JBoss side. Does this mean that all the JkMount directories in the httpd.conf file need to be in the JBoss side?
      Thanks for the help. :)