[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: A few problems running the examples on different machine
ataylor
do-not-reply at jboss.com
Mon May 12 11:06:46 EDT 2008
ok, so it turns out that even tho the initial connection to jndi was happening the exported stub that was being returned still had an endpoint of localhost. This is because if the property java.rmi.server.hostname is not set it defaults to localhost, when the App Server starts up, setting this property is one of the first things it does.
Ive changed the jbm-standalone-beans.xml to inject the host property from the configuration object so that we only need to configure it in one place. The configuration property also sets the java.rmi.server.hostname property when the host is set.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150133#4150133
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150133
More information about the jboss-dev-forums
mailing list