[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Feb 23 23:41:20 EST 2009

"bodrin" wrote : 10x, but the information on this page doesn't help
  | I have tried
  |  -Djava.rmi.server.hostname=<external_host_name>
  |   |     -Djava.rmi.server.useLocalHostname=true
  |   |  but no success .. the same exception..

Those two settings don't have any affect on JBoss.

Look at the JBoss documentation.

You should instead change the ports on the XML configs. 

You will also have to define the ports on remoting, as there are two random ports. (look at remoting-bisocket-service.xml):

               <!-- Use these parameters to specify values for binding and connecting control connections to
  |                     work with your firewall/NAT configuration
  |                <attribute name="secondaryBindPort">xyz</attribute>
  |                <attribute name="secondaryConnectPort">abc</attribute>
  |                -->

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

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

More information about the jboss-user mailing list