I have a similar problem that needs to be solved..

I have a test client with wich I try to send  messages to a remote que. Sending 
to my local server works well,  but when sending to the remote server, I get 
the following trace : 

Exception in thread "main" javax.naming.CommunicationException [Root exception 
is java.rmi.ConnectEx
ception: Connection refused to host: 213.187.xxx.xxx; nested exception is:
        java.net.ConnectException: Connection timed out: connect]
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at JmsClientTest.main(JmsClientTest.java:25)
Caused by: java.rmi.ConnectException: Connection refused to host: 
213.187.196.148; nested exception
is:
        java.net.ConnectException: Connection timed out: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
        ... 3 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.(Unknown Source)
        at java.net.Socket.(Unknown Source)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown 
Source)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown 
Source)
        ... 9 more

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042427
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to