0 Replies Latest reply on Mar 22, 2003 7:58 AM by dmeister

    java.rmi.UnmarshalException: Error unmarshaling return heade

    dmeister

      Hello,

      when i call a method (remote interface) in an client application, i get the following exception.
      Does anyone know what is the cause.
      I use JBOSS 3.0.4, JDK 1.4, Windows XP.

      The method i call is a findAll()-Finder, but i think that it is not due to a CMP-Failture, so i post this in this forum.

      any help is welcome.
      Thank you
      Dirk

      <cut clientcode>
      Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
      java.net.SocketException: Software caused connection abort: socket write error
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)^M
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy0.findAll(Unknown Source)
      at <cut application code>
      ... 2 more
      Caused by: java.net.SocketException: Software caused connection abort: socket write error
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127)
      at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1583)
      at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:639)
      at sun.rmi.transport.StreamRemoteCall.releaseOutputStream(StreamRemoteCall.java:92)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:187)
      ... 12 more