File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Exception UnmarshalException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Exception UnmarshalException" Watch "Exception UnmarshalException" New topic

Exception UnmarshalException

Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
i get this error when i get to call one of my methods from the server the error only happens with one method all the others are working fine. What can cause this? Thanks.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: unknown protocol: c unexpected error.

Val SCJP <BR>going for SCJD
Terry McKee
Ranch Hand

Joined: Sep 29, 2000
Posts: 175
I am receiving this error too. Any thoughts?
Terry McKee
Ranch Hand

Joined: Sep 29, 2000
Posts: 175
I figured out why this was happening. When defining the java.rmi.server.codebase property make sure you are using the proper protocol. I originally was defining this property like this,
It should have been defined like this:
Hope this helps anyone who comes across this in the future.
I agree. Here's the link:
subject: Exception UnmarshalException
It's not a secret anymore!