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.
Val SCJP <BR>going for SCJD
Terry McKee
Ranch Hand
Joined: Sep 29, 2000
Posts: 173
posted
0
I am receiving this error too. Any thoughts?
Terry McKee
Ranch Hand
Joined: Sep 29, 2000
Posts: 173
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.