The Java Process Command Line

This section provides a quick way for finding JVM options for application servers and 3DSpace Service instances running on Linux.

This involves using the ps command to retrieve the Java process command line, as described in Checking for Other Running Processes. For example, checking the JVM options for a particular server can be done simply by looking at the command line of the server's Java process.

See Also
Process Limitations
Other Java Settings
Key Live Collaboration Environment Variables

Application server startup scripts typically pass their home directory as a property on the command line to their Java processes. Java properties are prefixed with a -D and are a means of passing a parameter to any Java code running in the process, such as the application server's own code or the 3DSpace Service running in RIP mode.

For example, if the Java command line contains:

-Dtomcat.home=${TOMCAT_HOME}

then the Java process is a Tomcat application server and its home directory can be found in the TOMCAT_HOME environment variable. This is the home directory for the application server and can be used to locate startup scripts and configuration files, as required in Collecting Logs and Core Files.

The following table shows a list of properties that can be used to locate a Java process:

Process

Identifier

java.rmi.activation.port
3DSpace Service
catalina.home
TomEE+

The java.rmi.activation.port property is in the following format:

-Djava.rmi.activation.port=1099

It shows the 3DSpace Service port.