4 Replies Latest reply on Jun 22, 2007 11:08 AM by kaymenji

    Apache/JBoss integration using mod_jk.

    rchandran

      Has anyone followed the instructions given on this JBoss twiki to make Apache 2.x and JBoss 4.0.4 talk to each other using mod_jk.

      http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

      I have been struggling with this for two weeks now, and I keep getting the error message "Service Temporarily Unavailable" when try to hit the link http://localhost/web-console.

      Has anyone else used the instructions and succeeded? Thanks.

        • 1. Re: Apache/JBoss integration using mod_jk.
          krunal1981

          I 've done with the same stuff u got it works perfectly ...

          only thing the error suggets is that could be your jboss is not running

          or checkout with workers.properties for jkmount u need to mount you .ear there ..

          • 2. Re: Apache/JBoss integration using mod_jk.
            madhav21

            How do you mount your .ear file?
            Say my ear file is C:\jboss4.0.5\server\default\deploy\abcd.ear, can can you mount it with JKMount?

            I thought jkMount is to tell which requests to forward to JBoss.

            • 3. Re: Apache/JBoss integration using mod_jk.
              kaymenji

               

              "madhav21" wrote:
              How do you mount your .ear file?
              Say my ear file is C:\jboss4.0.5\server\default\deploy\abcd.ear, can can you mount it with JKMount?

              I thought jkMount is to tell which requests to forward to JBoss.


              I have same issue with madhave21. Could anyone help? how to mount EAR file in mod_jk?

              • 4. Re: Apache/JBoss integration using mod_jk.
                kaymenji

                 

                "madhav21" wrote:
                How do you mount your .ear file?
                Say my ear file is C:\jboss4.0.5\server\default\deploy\abcd.ear, can can you mount it with JKMount?

                I thought jkMount is to tell which requests to forward to JBoss.

                Hi,

                I got the solution. you could mount your web application by changing the JKMount in mod_jk.conf file.

                for example:
                # Mount your applications
                JkMount /your-web-app-context-root/* loadbalancer

                "your-web-app-context-root" is the web context root you defined in your jboss application.xml file.

                Or you could define mutiple URL in uriworkermap.properties file. Good luck!