1 Reply Latest reply on Feb 17, 2009 1:41 PM by Gina Hope

    Problem establishing socket connection for InvokerLocator

    kutts4u Newbie

      Hi

      We have a web application on jsp+struts + ejb 2.0 + oracle 10g hosted on RedHat Linux 4. It is deployed on JBoss 4.2.2 GA.

      Under heavy load we see the following error

      [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 0
      ---------
      ----------
      ---------
      DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] remote endpoint has closed
      2009-01-28 00:11:37,618 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/128.1.1.155,port=4446,localport=44961].fc375d] closing
      2009-01-28 00:11:37,618 DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 0

      -----------
      -----------

      rg.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://128.1.1.155:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:559)
      at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
      at org.jboss.remoting.Client.invoke(Client.java:1634)
      at org.jboss.remoting.Client.invoke(Client.java:548)
      at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:184)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
      at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:63)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      at $Proxy163.create(Unknown Source)
      ... 34 more
      Caused by: java.lang.IllegalStateException: Timeout waiting for a free socket
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:772)
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:551)




      Any ideas on if this to do with configuration settings ? If so what all should we change ?

      Thanks