3 Replies Latest reply on Dec 10, 2010 8:57 AM by tagus24

    More than one jvmRoute?

    tagus24

      Hi all,

       

      I'm a begginer on JBoss and i don´t understand one thing in load balancing:

       

      Can i have more than one jvmRoute in same Jboss running instance? (if i can how do i define it?)

       

      My question appears because i want make two different workers (used in two distinct URIs in uriworkermap.properties of Apache httpd) point to the same jboss instance. Is any attribute than i can use to day it in workers.properties?

       

      Thanks,

       

      Tiago.

        • 1. Re: More than one jvmRoute?
          wdfink

          I'm not understand your question clearly.

          What you men by jvmRoute?

           

          The loadbalancing is only for EJB (rmi) calls, HTTP requests are not load balanced.

          This is normally done by apache in front of JBoss

          • 2. Re: More than one jvmRoute?
            tagus24

            Imagine that i have one Apache httpd configuration to make load balancing for 2 JBOSSs  in 2 different machines.

             

            Now, if i want  to configure 2 workers (on Apache) to access the same JBoss instance do i need 2 jvmRoutes ( configured on Jboss server.xml) or can i configure that 2 workers to access same jvmRoute?

             

            thanks

            • 3. Re: More than one jvmRoute?
              tagus24

              I think i found the answer: We can use attribute route in those two workers to point to same jvmRoute.

               

              Regards