Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why java.rmi.MarshalException exception occurs

843793Nov 4 2005 — edited Mar 23 2006
hello i am work with RMI now, for transfering file from client to server in this i used to compress the file using Gzip utility & using Multithreading when i transfer files i used to get error for last file as
java.rmi.MarshalException: error marshalling arguments; nested exception is:
        java.net.SocketException: Software caused connection abort: socket write error
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at ServerRecvT_Stub.CreateFile(Unknown Source)
        at ClientSendT.run(ClientSendT.java:92)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at java.io.BufferedOutputStream.write(Unknown Source)
        at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
        at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source)
        at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
        ... 4 more
why i am getting this error how to solve if any one know solution for this please reply me
Thanks for reading & solution u r going to provide
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2006
Added on Nov 4 2005
8 comments
3,389 views