CONTENTS | PREV | NEXT Java Remote Method Invocation


B.1 Server Properties

The following table contains a list of properties typically used by servers for configuration.

Property
Description

java.rmi.server.codebase

Indicates the server's codebase URL where classes are available for clients to download.

java.rmi.server.disableHttp

If set to true, disables the use of HTTP for RMI calls. This means that RMI will never resort to using HTTP to invoke a call via a firewall. Defaults to false (HTTP usage is enabled).

java.rmi.server.hostname

Used to specify the fully-qualified hostname, if one is not available via the InetAddress.getLocalHost() call.

Not set by default.

java.rmi.dgc.leaseValue

Sets the lease duration that the RMI runtime grants to clients referencing remote objects in the VM. Defaults to 10 minutes.

java.rmi.server.logCalls

If set to true, server call logging is turned on and prints to stderr. Defaults to false.

java.rmi.server.useCodebaseOnly

If set to true, when RMI loads classes (if not available via CLASSPATH) they are only loaded using the URL specified by the property java.rmi.server.codebase.



CONTENTS | PREV | NEXT
Copyright © 1997-1998 Sun Microsystems, Inc. All Rights Reserved.