4 Replies Latest reply on Mar 3, 2004 7:04 AM by gsureshbabu

    Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster

    Darian Newbie

      I have an Apache 2.0 web server running jk2 (AJP) load balancing two JBoss 3.2.3 servers clustered (JDK 1.4.2). Session replication is working and everything looks good with the hot deploy. However, when JBoss is loading the context, the users get a 500 error (HTTP Status 500 - No Context configured to process this request) while the context is loading. This happens during startup and when a application is redeployed.

      Is it possible to direct users away from the server until the context is loaded. I think tomcat is loaded before the context and this is causing the problems. Ideas?

        • 1. Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster
          Juha Lindfors Master

          One idea is to get a hardware load balancer in front of the Apaches and only use JK2 to connect to JBoss/Tomcat instance, most HW load balancers offer far better options than JK2 to manage adding/removing nodes from the load balancer groups.

          • 2. Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster
            Darian Newbie

            We do have a hwlb in front. The problem is when the application is being deployed (or redeployed) there is no context for the application. JK can only tell if the server is up, not is the application is deployed. Because of this, when we do a hot deploy, some users see a HTTP Status 500 - No Context configured to process this request error.

            Is there a way redirect requests. I tried to modile the web.xml file that comes with tomcat in jbossweb-tomcat41.sar directory.

            • 3. Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster
              Darian Newbie

              Here is the configuration I added to the web.xml file in the jboss/tomcat dir:


              Where web is another context that is always loaded. Web is not the context I'm trying to load.

              • 4. Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster
                gsureshbabu Newbie

                I am g suresh babu.
                sub: is jboss clustering need support from another server.

                we have been trying to implement clustering with jboss application server only. we are facing some problems at implementation.

                After going through this jboss clustering forum faqs
                we think over about there will another server required to implement jboss 3.2.3 clustering!

                Is it really need ?
                if it need please give me the information how to establish that one with apache &jboss.
                or is jboss alone enough?

                Thanks & Regards