0 Replies Latest reply on Feb 28, 2005 5:41 PM by patelj

    Intermittent "SocketException: Connection reset" error while

      I am using Jboss 4.0.1 (with j2sdk 1.4.2_04 on client and server). On very few occassion, my client is getting this exception (shown below) when it calls a method on a stateless session bean. Client is running on a PC and the server is on Solaris. I checked the jboss log file on the server (server.log) and it seems to me that the call even did not made it to the server. This error is not consistently reproduceable. I have not seen this error with Jboss 3.2.6 (and j2sdk 1.4.2_04). Does anyone know what could have cause it or how to fix it?


      20050224T170342-0500 INFO app.logging.LoggerC - - - java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
      java.net.SocketException: Connection reset
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:163)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:103)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
      at $Proxy17.handleEditRequests(Unknown Source)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at java.io.DataInputStream.readByte(Unknown Source)
      ... 16 more\n - -