rmiregistry cannot be started ...
Hello, all.
I encountered a weird problem with rmiregistry. I wrote following code in the source file
import java.rmi.registry.LocateRegistry;
LocateRegistry.createRegistry(5081);
when running the application, the system complains.
Error: Registry cannot be contacted.
java.rmi.Unmarshal Exception: Error unmarshalingreturn header; nested exception is:
java.net.SocketException: Connection Reset
Does anybody know how to solve this problem?
And a second question, are strings and arrays of strings passed by reference in RMI?
Thanks !!

