0 Replies Latest reply on Sep 12, 2007 9:18 AM by p.dario

    Clustered Socket Server

    p.dario

      Hi,

      I have a socket server that starts on two clustered Jboss servers.
      A load balancer dispatches clients to either server.
      These sockets stay open and available to be used to send "commands".

      A web application is used to send "commands" to one of the clients: I need a way to find the cluster instance that has the correct client socket.
      Is it possible to use some cluster feature?

      I thought of leaving just one node to accept clients and leave the other in fail-over mode, but I don't know how to setup this: how can I bound a service (EJB?) to an instance and leave Jboss manage the failover mechanism?

      Thanks!
      Dario