[jboss-user] [Clustering/JBoss] - Re: JNP lookup from multi-homed client
bstansberry@jboss.com
do-not-reply at jboss.com
Fri Jun 19 17:10:03 EDT 2009
JBoss does the same basic thing with the java.rmi.server.hostname system property
1) Do nothing if already set (e.g. via -Djava.rmi.server.hostname)
2) else if the -b value isn't 0.0.0.0, set java.rmi.server.hostname to the -b value
3) else set java.rmi.server.hostname to InetAddress.getLocalHost().getHostName()
RMI won't work properly if the RMI server isn't listening on the interface specified via java.rmi.server.hostname. For more on this see the https://jira.jboss.org/jira/browse/JBAS-4732 and the forum thread linked from there.
In JBoss 4.x, HA-JNDI doesn't expose a config property to let you set it's RMIBindAddress to something other than the -b value. But does setting -Djava.rmi.server.hostname=XXXX let you control the interface that works?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238849#4238849
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238849
More information about the jboss-user
mailing list