7 Replies Latest reply on Jul 12, 2002 9:47 PM by jules

    Integrate Apache with JBoss3(Jetty)

    ericmacau

      Hello,

      Would you please to teach me how can I integrate Apache + JBoss3(Jetty) ?

      Best regards,
      Eric

        • 1. Re: Integrate Apache with JBoss3(Jetty)

          try :

          http://jetty.mortbay.org/jetty/doc/index.html


          specifically :

          http://jetty.mortbay.org/jetty/doc/JettyWithApache.html

          where jetty doc describes a jetty.xml JBoss/Jetty uses the ConfigurationElement attribute of the jetty-plugin.sar or jbossweb.sar/META-INF/jboss-service.xml.

          AJP13 support is currently only available with Jetty 4.1 which is checked into JBoss cvs HEAD and sould make it into Branch_3_0 (and thence a 3.x release) shortly.

          If you build a jetty plugin (jbossweb.sar) from HEAD, I would expect it deploy fine in JBoss3.0.1RC1, but Jetty4.1 jars are unlikely to work correctly if just substituted into a JBoss 3.0.1RC1 tree due to API changes.


          Jules

          • 2. Re: Integrate Apache with JBoss3(Jetty)

            try :

            http://jetty.mortbay.org/jetty/doc/index.html


            specifically :

            http://jetty.mortbay.org/jetty/doc/JettyWithApache.html

            where jetty doc describes a jetty.xml JBoss/Jetty uses the ConfigurationElement attribute of the jetty-plugin.sar or jbossweb.sar/META-INF/jboss-service.xml.

            AJP13 support is currently only available with Jetty 4.1 which is checked into JBoss cvs HEAD and sould make it into Branch_3_0 (and thence a 3.x release) shortly.

            If you build a jetty plugin (jbossweb.sar) from HEAD, I would expect it deploy fine in JBoss3.0.1RC1, but Jetty4.1 jars are unlikely to work correctly if just substituted into a JBoss 3.0.1RC1 tree due to API changes.


            Jules

            • 3. Re: Integrate Apache with JBoss3(Jetty)
              yasirk

              Hi,

              I added the ajp13 call directives in the jboss-service file under the meta-inf directory of the jboss-jetty.sar package. I get the following exception:

              java.lang.ClassNotFoundException: org.mortbay.http.ajp.AJP13Listener

              Im using jboss3.0, final release. Seems like the ajp13 class for jetty is not present in the distribution. how and where can i get this?

              • 4. Re: Integrate Apache with JBoss3(Jetty)

                I said in my posting that this would only work with Jetty 4.1 and that that was only integrated with cvs HEAD.

                It will NOT yet work with 3.0.0/1

                If you want a jetty-plugin with 4.1 in, mail me and I'll send you one.


                Jules@jboss.org

                • 5. Re: Integrate Apache with JBoss3(Jetty)

                  Greg plans to release a stable 4.1 tomorrow night. I should be able to get it into JBoss cvs pretty quickly, so if you are tracking Branch_3_0 cvs you will be in business....

                  Jules

                  • 6. Re: Integrate Apache with JBoss3(Jetty)
                    yasirk

                    Thanks jules, i'll keep an eye out for it. gracias.

                    • 7. Re: Integrate Apache with JBoss3(Jetty)

                      I've just checked the latest Jetty - 4.1.B0 into JBoss cvs. It is on both HEAD (which is pretty unstable at the moment) and Branch_3_0 (which is solid as a rock).

                      If you want the AJP13 integration check out and build Branch_3_0 from sourceforge (go there, find the project, read the cvs instructions, check out with '-r Branch_3_0', go into build and do a ./build.sh, then look in the output dir.

                      You will need to look at jetty.mortbay.org for the AJP13 documentation.

                      Good luck - and if you want to write a simple Apache/Jetty/JBoss item for my FAQ, you are more than welcome.


                      Jules