Use this command to view the Java Virtual Machine (JVM) properties. The properties that you can view are as follows:
enabled - Indicates whether the server creates a JVM.
java-home - The location of the JDK. The directory must be owned by the account the server runs as.
class-path-prefix - The prefix for the system class path. You should only prefix the system class path if you wish to override system classes, such as the XML parser classes. Use this attribute with caution.
server-class-path - The class path containing the server classes.
class-path-suffix - The suffix for the system class path.
env-class-path-ignored - Indicates whether the server ignores the CLASSPATH environment variable.
native-library-path-prefix - The prefix for the operating system native library path.
sticky-attach - Indicates whether the server attaches each HTTP request processing thread to the JVM only once instead of attaching and detaching on each request.
debug - Indicates whether the JVM is started in debug mode, ready for attachment with a JPDA (Java Platform Debugger Architecture) debugger.
debug-jvm-options — List of JPDA options.
jvm-options — List of server-wide JVM options.
bytecode-preprocessor-class - The bytecode preprocessor class.
profiler - The name of the JVM profiler.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. Also, prints the default value for all the non-mandatory options that you have not provided in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of the configuration.
wadm get-jvm-prop --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 java-home
The following exit values are returned:
command executed successfully
error in executing the command