I get this:
java.net.MalformedURLException: unknown protocol: rsrc
I'm not quite sure what to do with this unknown protocol. I use simple RMI to communicate between two JVMs. Is it a bank that I miss, which contains this protocol, and if so, which one? I did not find that Google search queries were so good for this problem.
Any help would be greatly appreciated. Thank.
EDIT2: To clarify, my RMI code works when starting from Eclipse. This is when I export and use jar executables and make it break.
EDIT: here is the code snippet:
registry=LocateRegistry.getRegistry(
rmiServerAddress,
(new Integer(rmiServerPort)).intValue());
source
share