Rio is launched using the RIO_HOME/bin/rio script. It is the command and control utility for starting Rio services and the Rio command line interface. While it is typical to modify provided scripts with specific environment variables, it is usually best to use the script as-is. This way if something does get horked we can discount the script as a possible place to look ![]()
With that in mind the rio script provides the opportunity to set environment variables outside of the script, allowing you to provide a custom envirnment as needed. The following table describes the options available.
| Option |
Description |
Default |
|---|---|---|
| NET_ADDR | Sets the IP address to use when exporting services and sets the java.rmi.server.hostname system property. |
-Djava.rmi.server.hostname="`hostname` |
| JAVA_MEM_OPTIONS | Memory options for the Java Virtual Machine |
-Xms8m -Xmx256m |
| JAVA_RMI_OPTIONS |
RMI properties that may be useful See here and here for more details on what are available |
Empty, no default |
| JAVA_GC_OPTIONS |
Java Virtual Machine garbage collection options |
Empty, no default |
| USER_OPTS |
Any additional options that you need to set |
Empty, no default |
| If you need additional settings, send something to the maillist or file a Jira issue |
