The remote delete-jvm-options command enables you to delete JVM options from the Java configuration or profiler elements of the domain.xml file.
Ensure that the server is running.
Remote commands require a running server.
Obtain the exact name of the JVM option that you are deleting.
To list the existing JVM options:
asadmin list-jvm-options |
If necessary, notify users that the JVM option is being deleted.
Delete JVM options by using the delete-jvm-options(1) command.
To remove more than one JVM option, use a colon (:) to separate the options. If the JVM option itself contains a colon, use the backslash (\) to offset the colon delimiter.
To apply your changes, restart Enterprise Server.
Stop Enterprise Server.
For instructions, see To Stop a Domain (or Server).
Start Enterprise Server.
For instructions, see To Start a Domain (or Server).
The following example command removes a single JVM option:
asadmin delete-jvm-options -Dopt1=A |
Information similar to the following is displayed:
deleted 1 option(s) Command delete-jvm-options executed successfully. |
The following example command removes multiple JVM options:
asadmin delete-jvm-options -Doption1=-value1:-Dvariable=\$HOME |
Information similar to the following is displayed:
deleted 2 option(s) Command delete-jvm-options executed successfully. |
To see the full syntax and options of the command, type asadmin delete-jvm-options --help at the command line.