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: 188.8.131.52;
It seems there is a problem connecting to that port but when I telnet it seems o.k. I get the following :
Connection to host lost.
Does anyone have any idea ?
Thanks a lot,