Re: Will multiple Lan cards cause problems using rmi?
Posted By:
Chris_Arrowood
Posted On:
Friday, June 22, 2001 10:44 AM
Possibly.
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