I don't understand this. My remote call works, but the calling code gets an exception.
The remote method has this signature:
public void mymethod(Object value) throws RemoteException;
- The code/process that
implements mymethod has logging statements that appear in the log, so I know that it is successfully getting called, printing stuff about value, and getting to the end.
- The code/process that
calls mymethod gets this exception from the remote call:
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:219)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:181)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
at MyRemoteClass.mymethod
... (rest is my code)
Maybe it's because I do not understand what it means by "unmarshaling return header", but it doesn't sound to be like it should be trying to unmarshal anything when the return type is void.
??!!!??!?!
Anyone?
/Mel