Naming.lookup fails with Java WebStart

116 Views Asked by At

I have a Java application which I am in the process of converting to work with WebStart. It is supposed to connect to a server to do some authentication using Naming.lookup and this works fine when running as a standalone app. Unfortunately when running the same code as a WebStart app the call fails and throws:

java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.io.EOFException

1

There are 1 best solutions below

3
On BEST ANSWER

This indicates an error at the Registry, possibly a security problem. You need to run the Registry with some debugging parameters to see what, such as -Djava.rmi.server.logCalls etc. See the properties pages linked from the RMI Home Page.