Will multiple Lan cards cause problems using rmi?

Chris Arrowood


Even if the RMI Registry is started running on the fully qualified domain name that you have chosen, the RMI objects may have the local unqualified name embedded in them.

The answer is to set the system property java.rmi.server.hostname before starting the RMI Registry.

See the Suns FAQ on this topic at http://java.sun.com/products/jdk/1.2/docs/guide/rmi/faq.html#domain