aspose file tools*
The moose likes Java in General and the fly likes RMI and broken pipe exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "RMI and broken pipe exception" Watch "RMI and broken pipe exception" New topic
Author

RMI and broken pipe exception

Gayathri Gopal
Greenhorn

Joined: Jul 04, 2005
Posts: 1
I get this message java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.net.SocketException: Broken pipe
What could be the reason
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24168
    
  30

Hi,

Welcome to JavaRanch!

Two programs were talking to each other, and one unexpectedly quit. You might be able to figure out more from the stack trace.


[Jess in Action][AskingGoodQuestions]
Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
Ernest Friedman-Hill wrote:Hi,

Welcome to JavaRanch!

Two programs were talking to each other, and one unexpectedly quit. You might be able to figure out more from the stack trace.

Hi!

I'm also having this problem.
This code is in a servlet, inside the doPost method:

The error is occurring in the last line of the above code.
Question: Can I use a server through RMI using a servlet?

How can I fix this problem? Thanks very much!
Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
I solved this problem changing the parameter type to String.
I think that the object that I was passing was too big.
 
Consider Paul's rocket mass heater.
 
subject: RMI and broken pipe exception
 
Similar Threads
JSP servlet Exception
I wasn't refering to Sesions on data...
Broken pipe IOException
java.io.IOException: Broken pipe
Axis exception