4 Replies Latest reply on Jan 24, 2011 11:03 PM by Ron Sigal

    Jboss5.1 - JMS and Linux Heartbeat - server return the real IP and not the VIP

    Kobi Ianko Apprentice

      Hi,

      I've got an HA system, using linux HA (heartbeat).

       

      2 machines:

           node1 = 10.90.90.33

           node2 = 10.90.90.34

       

      and the Virtual IP (VIP) is 10.90.90.35

       

      because JBOSS5 uses hostname and not IP (like Jboss 4.0.5) I've add "-Djava.rmi.server.hostname=10.90.90.35 -Dremoting.bind_by_host=false" to the VM Params, for it to work with IPs

       

      when I access the server from the client I use my VIP, but the server returns to the client the real ip for remoting.

       

      using a sniffer I can see a packet from the server to the client:

      org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy...........xpw.......socket://10.90.90.33:4446/

       

      let me just point out the EJB call works fine, the problem is with JMS only.

       

      any of you know how to let Jboss 5.1 bind the UnifiedInvokerProxy to my VIP?

      is there any VM Params that I can add to my "run.sh ..." command ?

       

      10x, Kobi