Modifying JVM Properties of the Sun Java System Application Server
See Also
You can set and modify the properties for the JVM of the Sun Java System Application Server
by modifying the JVM properties sheet in the Runtime window.
To modify the JVM properties:
- Ensure that the Sun Java System Application Server instance is running.
- In the Runtime window, expand the Servers node and the Sun Java System Application Server instance.
- Right-click the JVMs node and select properties to bring up the properties window.
- In the Properties window, you can modify the follow properties of the JVM:
- bytecode-preprocessors. Enter a comma-separated list of class
names. Each class must implement the
com.sun.appserv.BytecodePreprocessor interface. Classes are called in
the order specified.
- native-library-path-suffix. Add entries to the end of the native
library path. The native library path is a concatenation of the
server’s relative
path for its native shared libraries, the standard JRE native library
path, the shell environment setting (LD_LIBRARY_PATH on UNIX), and any
path specified on the JVM Profiler Settings page.
- native-library-path-prefix. Add entries to the beginning of the
native library path. The native library path is a concatenation of the
server’s relative
path for its native shared libraries, the standard JRE native library
path, the shell environment setting (LD_LIBRARY_PATH on UNIX), and any
path specified on the JVM Profiler Settings page.
- classpath-suffix. Click the box to add a directory or JAR/ZIP
file to the end of the classpath. You can also remove directories or
JAR/ZIP files currently in the JVM classpath and reorder the classpath references.
- debug-options. Enter or edit debug options. Note that using an
option of transport=dt_shmem is only supported on Windows.
- java-home. The name of the installation directory of the Java 2
Standard Edition (J2SE) software.
- jvm-options. Displays the JVM options. Edit options directly or
click the box to edit options with the editor.
- Select a JVM-option in the Item List to edit or remove that option.
- Add new options by entering the options in the Item field and then clicking Add.
- Options in the Item List can be moved up or down. Select the item to reposition and click Up or Down.
- javac-options. Displays the javac options. Edit options directly or click the box to edit options with the editor.
- debug-enabled. Set to true to enable debug mode; otherwise, set
to false to disable debug mode. If set to true, set the jpda_port_number.
- server-classpath. Click the box to add a directory or JAR/ZIP
file to the server classpath. You can also remove directories or JAR/ZIP files currently in the server
classpath and reorder the classpath references.
- classpath-prefix. Click the box to add a directory or JAR/ZIP
file to the beginning of the classpath. You can also remove directories or JAR/ZIP files currently in the classpath
and reorder the classpath references.
- rmic-options. Command-line options for RMIC compiler.
- env-classpath-ignored. Set to true to ignore env-classpath. This
is the recommended setting.
- jpda_port_number/shared_memory. This property is determined by
the transport setting in debug-options. If the transport value is
dt_shmem, then this property is shared_memory. If the transport value
is dt_socket, then this property is jpda_port_number. You can change
the value of shared_memory or of the port number. Set the port number
for the Java Platform Debugger Architecture (JPDA). For debugging, you must also enable
debugging by setting debug-enabled to true and set desired debug options.
- Close the window.
- See Also
- Working with the Sun Java System Application Server
Legal Notices