[jboss-user] [JBoss Remoting] - Jboss5.1 - JMS and Linux Heartbeat - server return the real IP and not the VIP
Kobi Ianko
do-not-reply at jboss.com
Mon Jan 3 08:58:40 EST 2011
Kobi Ianko [http://community.jboss.org/people/kobiianko] created the discussion
"Jboss5.1 - JMS and Linux Heartbeat - server return the real IP and not the VIP"
To view the discussion, visit: http://community.jboss.org/message/578352#578352
--------------------------------------------------------------
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
+
+
+
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578352#578352]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110103/37157da8/attachment.html
More information about the jboss-user
mailing list