Purpose
Adds
a predetermined set of JVM configuration
parameters to any of the processes on the appliance during startup.
Syntax
add-jvm-args process
name listOfOneOrMoreJVMArgs
Parameters
There are two required parameters
for this command:
- process name
- Name of the process that needs to be configured. Valid processName
arguments include:
- all - All processes, including xsa.app,
catalog server and all
container servers.
- console - Includes the xsa.app process
only.
- grids - All container server processes only.
- gridNN
- Where NN equals a number (i.e 01) that specifies a single
container server.
- listOfOneOrMoreJVMArgs
- List valid JVM arguments for the process. Valid JVM arguments
you can specify include:
- -Dcom.ibm.CORBA.Debug
- -Dcom.ibm.CORBA.CommTrace
- -Djavax.net.debug
- -Dcom.ibm.websphere.xs.ProduceJavaCoreOnLockTimeout=true
- -verbose:gc
- -Xverbosegclog
- -Xhealthcenter
- -Xcheck:jni
Note: If there is more than one parameter
you want to include
in the list, separate with
!:!, for example:
add-jvm-args
grid01 -Dcom.ibm.websphere.xs.ProduceJavaCoreOnLockTimeout=true!:!-Dcom.ibm.CORBA.CommTrace
add-jvm-args all -Dcom.ibm.CORBA.CommTrace
Example
Console> add-jvm-args grid01 -Dcom.ibm.websphere.xs.ProduceJavaCoreOnLockTimeout=true
Updating JVM Args to include new args...
Adding the following JVM Arg: -Dcom.ibm.websphere.xs.ProduceJavaCoreOnLockTimeout=true
[Wed Apr 10 2013 17:00:22] Run device restart to enable the new JVM args settings.