[jboss-user] [JNDI/Naming/Network] - unable to connect to JBoss messaging using SSH port forwardi

bodrin do-not-reply at jboss.com
Wed Feb 25 02:42:46 EST 2009


I have asked this on the JBoss Messaging forum, but it turns that here is right place. Two questions regarding http://www.jboss.org/community/docs/DOC-12519 :

1. Say that I have specified the secondaryBindPort and secondaryConnectPort at JBM server. Then in the client LAN say I have "jbmfake" host on which I set up three port forwardings:
jbmfake: serverBindPort -> jbm: serverBindPort
jbmfake: secondaryBindPort -> jbm: secondaryBindPort
jbmfake: secondaryConnectPort -> jbm: secondaryConnectPort

The question is how to configure the client jndi props and rmi props:
Code:

-Djava.rmi.server.hostname=<external_host_name>
-Djava.rmi.server.useLocalHostname=true
	


<external_host_name>=?
Code:

java.naming.provider.url=jbmfake:SOME_PORT
	


SOME_PORT=?

2. The above seems to be the configuration when we have single node cluster. So what about two/three/... nodes in the cluster? Could secondaryBindPort and secondaryConnectPort be specified in
\docs\examples\binding-manager\sample-bindings.xml ?
Do I have to port forward for each node separately or a subset (like 1 node) is sufficient? 

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

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



More information about the jboss-user mailing list