[jboss-user] [EJB 3.0] - EJB 3 Jboss 4.2 GA Issue

abhilashjohn do-not-reply at jboss.com
Thu Mar 26 13:50:10 EDT 2009


Hi
Has any one faced this before?
Any pointers on the solution?


Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.1.
1.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java
.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connec
t to server 127.1.1.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.
1.1.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at com.ejb.client.Client.main(Client.java:16)
Caused by: javax.naming.CommunicationException: Failed to connect to server 127.1.1.1:1099 [Root exception is javax.nami
ng.ServiceUnavailableException: Failed to connect to server 127.1.1.1:1099 [Root exception is java.net.ConnectException:
 Connection refused: connect]]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
        ... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 127.1.1.1:1099 [Root exception is java.
net.ConnectException: Connection refused: connect]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
        ... 5 more
Caused by: java.net.ConnectException: Connection refused: 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 org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
        at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)
        ... 5 more

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

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



More information about the jboss-user mailing list