[JNDI/Naming/Network] - Connection timed out: connect
by vink
I'm using JBoss 4.2.2.GA with Remoting 2.4.0.SP1. I've multiple clients which are requesting SLSB. After several hours of running. the following exception is encountered while there is no network problem;
Please suggest.
Throwable
javax.naming.CommunicationException: Could not obtain connection to any of these urls: noiclt13280: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 connect to server noiclt13280:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: 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.barco.cms.perspectivemgtproxy.PerspectiveMgt.connect(Unknown Source)
at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.getEventMgtProxy(Unknown Source)
at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.access$300(Unknown Source)
at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader$EventPoller.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.naming.CommunicationException: Failed to connect to server noiclt13280:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
... 13 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server noiclt13280:1099 [Root exception is java.net.ConnectException: Connection timed out: connect]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
... 14 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 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)
... 14 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198759#4198759
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198759
15 years, 5 months
[Remoting] - Re: Socket Read Timeout on stressing calls for validating pr
by vink
I've commented this, becqause of following behaviour;
- On running my client which is requesting SLSB, the netstat tool is showing several sockets going in TIME_WAIT state. And, number of such sockets increases as time passes by & it finally results into the following exception;
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://NOICLT13407:3873/]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:771)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:160)
at org.jboss.remoting.Client.invoke(Client.java:1708)
at org.jboss.remoting.Client.invoke(Client.java:612)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
at $Proxy0.getSourcesInfo(Unknown Source)
at com.barco.cmstest.dependency.MarshalTest.call(MarshalTest.java:82)
at com.barco.cmstest.dependency.MarshalTest.main(MarshalTest.java:51)
Caused by: java.net.BindException: Address already in use: 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 org.jboss.remoting.util.SecurityUtility.connect(SecurityUtility.java:969)
at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:203)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:1084)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:757)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:160)
at org.jboss.remoting.Client.invoke(Client.java:1708)
at org.jboss.remoting.Client.invoke(Client.java:612)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
at $Proxy0.getSourcesInfo(Unknown Source)
at com.barco.cmstest.dependency.MarshalTest.call(MarshalTest.java:82)
at com.barco.cmstest.dependency.MarshalTest.main(MarshalTest.java:51)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
... 11 more
N:\>netstat -a | findstr 3873
TCP noiclt13407:1472 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:1782 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:1790 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2055 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2219 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2256 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2289 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2296 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2336 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2351 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2373 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2375 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2376 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2389 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2397 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2420 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2477 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2479 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2522 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2528 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2529 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2551 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2573 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2627 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2628 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2629 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2630 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2632 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2669 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2691 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2748 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2749 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2750 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2764 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2768 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2772 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2775 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2785 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2823 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2824 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2830 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2842 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2920 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2941 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2942 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:2988 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3035 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3050 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3058 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3130 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3134 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3175 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3205 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3257 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3315 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3338 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3435 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3436 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3489 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3490 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3503 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3512 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3513 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3538 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3549 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3557 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3637 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3734 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3740 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3743 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3744 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3745 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3746 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3747 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3748 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3749 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3750 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3751 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3752 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3753 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3754 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3755 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3756 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3757 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3758 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3781 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3873 noiclt13407.barco.com:0 LISTENING
TCP noiclt13407:3944 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:3988 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4032 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4099 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4103 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4138 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4146 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4149 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4155 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4163 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4189 noiclt13407.barco.com:3873 TIME_WAIT
TCP noiclt13407:4390 noiclt13407.barco.com:3873 TIME_WAIT
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198750#4198750
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198750
15 years, 5 months