3 Replies Latest reply on Jan 29, 2003 3:21 AM by slaboure

    Clustering and WebServices

    benkarsa

      Hi,

      I want to cluster two JBoss servers. ALso I want to use Web Services. The cluster is responsible for reliability. If a client uses Web Services, it sends it's data to a defined IP. Now, if the JBoss running on this IP is not up, but the second one works, how do the client knows to send his Web Service request to the IP of the second JBoss (in the cluster)? Do I need a HTTP balancer that sends the Web Service Request to the JBoss?

        • 1. Re: Clustering and WebServices
          slaboure

          yes, in the case of any HTTP client, you must use an HTTP load-balancer that supports sticky-sessions.

          I am not aware of any standard SOAP tag that allows to define several targets for failover. Do you know such a thing? If that's the case, then we could implement these extensions.

          Cheers,


          sacha

          • 2. Re: Clustering and WebServices
            benkarsa

            Do you think I can write a servlet, which delegates the web service request to a server in the client which is up and put the servelet on an os-cluster (high reliability). Is it so easy as I think or do I have forgotten something?

            • 3. Re: Clustering and WebServices
              slaboure

              The thing is: you must have a load-balancer which is not a single-point-of-failure.

              How you implement it, is up-to-you: software, hardware, etc.

              Cheers,


              sacha