I have jboss running on a multi-homed server. I have some user service mbeans 
which are registered with the JNDI. On client lookup the stubs returned 
contained hostname:port as an endpoint for these services.
 On the other hand the jms service which also gets registered with the JNDI, 
gets resolved to one of the interface IPAddress. This stub returns endpoint as 
IPAddress:port which is not reachable(in a different network) from this remote 
client. Is there a way to specify for jms service to be bound to a hostname 
instead of a jboss resolved interface IPAddress.
 I am able to specify jboss.bind.address as an optional parameter to the 
org.jboss.Main class, and the JMS service gets bound to this specific address 
instead of the one JBoss resolved by itself. Is there a way instead to specify 
the JMS service such that the stub will have a hostname as 
endpoint(destination) instead of IPAddress.
 I used -Djava.rmi.server.hostname= and -Djboss.bind.address=x.x.x.x which gets 
supplied to the jms service xml configuration in uil2-service.xml.
But when I supplied the hostname to bind.address it got resolved to 
hostname/x.x.x.x:port and the stub contained endpoint x.x.x.x whereas I want 
hostname as endpoint.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to