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: java.net.MalformedURLException: unknown protocol: c unexpected error.
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, -Djava.rmi.server.codebase=C:\java\project\root\ It should have been defined like this: -Djava.rmi.server.codebase=file:\\c:\java\project\root\ Hope this helps anyone who comes across this in the future.