[jboss-user] [JNDI/Naming/Network] - problem connecting to jbos on another unix machine

litalh do-not-reply at jboss.com
Tue Sep 12 11:11:26 EDT 2006


Hi.
I'm trying to connect to jboss from tomcat.
The jboss is running on a different machine with unix operating system.
I'm using the following properties:
provider.url = jnp://serverName:1099
initial.context.factory = org.jnp.interfaces.NamingContextFactory
url.pkg.prefixes = org.jboss.naming.client

This works well if the jboss is running on the same machine and also if it is running on other windows machines.

when trying to connect I get the following exception :
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 137.0.0.1;

It seems there is a problem connecting to that port but when I telnet it seems o.k. I get the following :
¼?sr?java.rmi.MarshalledObject|??ù?c?>??I?hashlocBytes[BobjBytesq~?xpɧè?ur?[B
?°T??xp2¼?t!http://suse.il.identify.com:8083/q~q~uq~??¼?sr org.jnp.server.Naming
Server_Stub??xrjava.rmi.server.RemoteStub????ïße?xr?java.rmi.server.RemoteObject
Connection to host lost.


Does anyone have any idea ?

Thanks a lot,
Lital

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

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




More information about the jboss-user mailing list