I got the following exception at calling LocateRegistry.getRegistry():
java.rmi.MarshalException: Error marshaling transport header; nested exception is: java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
I have no idea what I did wrong. The exception will not be thrown everytime - only sometimes.
Has someone an idea why this exception will be thrown?