[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: A few problems running the examples on different machine

timfox do-not-reply at jboss.com
Tue May 13 03:10:07 EDT 2008


"ataylor" wrote : 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. 

Nice catch. Sounds like a nasty one to track down.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150238#4150238

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150238



More information about the jboss-dev-forums mailing list