Frequently Asked Questions
RMI and Networking



Q1: How do RMI clients contact remote RMI servers?  

Q2:  Why does my remote method or "callback" routine fail with a nested java.net.UnknownHostException?

Q3:  My server is using a fully-qualified domain name or IP address, so why do I still get an UnknownHostException? Q4:  I am using the latest release of the JDK and I have a host that has multiple IP addresses. RMI is choosing the wrong IP address for its server hostname, how do I work around this problem? Q5:  How does RMI obtain a server hostname in each of the versions of the JDK?

Copyright © 1998 Sun Microsystems, Inc. All rights reserved.