DevPortal

How do I Configure RMI Servers?


A client outside the domain of server host attempting to invoke methods on remote objects requires to first locate the Server. The remote references that Server exports must contain the fully qualified name of Server host. Some firewall proxies do not forward the host name if the host name is specified as the IP address of the host.

On some platforms and network environments, the fully qualified name of the host may or may not be available with Server VM. If so, the fully qualified name of the host must be specified with the property java.rmi.server.hostname while starting Server.

For example, to start the Server class com.pramati.Server on the machine docs.pramati.com, run java -Djava.rmi.server.hostname=docs.pramati.com com.pramati.Server.

If the Server does not support RMI clients that are behind firewalls that prevent them from forwarding to arbitrary ports, use the following configuration:

A sample script is supplied in the RMI distribution for Unix, Solaris, and Windows Operating Systems. The script must specify the complete path to the Java interpreter on Server.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal