4 Replies Latest reply on Jul 9, 2002 12:28 PM by harjeetss

    JBoss 3 with Tomcat and Apache

    zommick

      Has anyone gotten JBoss 3.0+ to work with embedded tomcat 4+ and apache 1.2+? My configuration used to work under JBoss 2+ with tomcat 3, but no longer works now that we have JBoss 3 and tomcat 4. From the groups, I haven't seen anyone successfully do it.

        • 1. Re: JBoss 3 with Tomcat and Apache
          shura

          I'm use Apache 2.0 + mod_jk ( compiled from latest release of catalina connectors ), with Jboss3.0-Catalina.
          In tomcat4-service.xml I was replace connector tag for :
          <!-- AJP13 Connector configuration -->

          All work fine !

          • 2. Re: JBoss 3 with Tomcat and Apache
            trbentley

            Just try using Mod_Proxy. The details are on the Jakarta site. One does not need mod_jk any more.
            No changes are required to Jboss at all. the only file that needs chaninging is HTTP.conf

            • 3. Re: JBoss 3 with Tomcat and Apache
              skhosa

              Hi,

              I have been trying to user mod_proxy for integrating Apache with JBoss3.0(running on port 8080). I have some jsp's on jboss. In apache httpd.conf i have added following lines:
              ProxyPass /jboss/ http://localhost:8080/jboss/

              It works fine for the first jsp. But for subsequent request it redirects it to port 8080 on jboss. Am i doing something wrong? I am expecting that all my request to eb served from port 80 on Apache but this is not happening. Anu further tweaks that i need to do?

              Thanks

              • 4. Re: JBoss 3 with Tomcat and Apache
                harjeetss

                Try adding the line -
                ProxyPassReverse / http://:8080/

                This will redirect the requests back to the apache.