Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.11.3 delete-jvm-options

Removes one or more options for Java VM.

Synopsis

asadmin [asadmin-options] delete-jvm-options [--help]
    [--target target] [--profiler={true|false}]
    option-name[=option-value] [:option-name[=option-name]]...

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-jvm-options subcommand removes one or more command-line options for Java VM. These options are removed from the Java configuration java-config element or the profiler profiler element of the domain.xml file. The deletion of some options requires a server restart for changes to become effective.

Other options are set immediately in the environment of the domain administration server (DAS) and do not require a restart.

This subcommand is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Files

The delete-jvm-options subcommand removes one or more command-line options for Java VM. These options are removed from the Java configuration java—config element or the profiler profiler element of the domain.xml file.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target from which you are removing Java VM options.

Type: String

The following values can be specified:

  • server

    Specifies the DAS (default).

  • configuration-name

    Specifies a named configuration.

  • cluster-name

    Specifies a cluster.

  • instance-name

    Specifies a server instance.

Default value: server

--profiler={true|false}

Indicates whether Java VM options are for the profiler.

Type: Boolean

The following values can be specified:

  • true

  • false

Default value: false

option-name=option-value

Specifies the One or more options delimited by a colon (:).

Notes: The format of the option-name operand depends on the following:

  • If the option has a name and a value, the format is option-name=value.

  • If the option has only a name, the format is option-name. For example, -Xmx2048m.

If an option name or option value contains a colon, the backslash (\) must be used to escape the colon in the name or value. Other characters might also require an escape character.

Type: String

The following values can be specified:

  • One or more Java VM options delimited by a colon (:)

Default value: N/A

Examples

The following example removes multiple Java VM options on the server instance instance1.

asadmin delete-jvm-options --target instance1 -Doption1=value1
"-Doption1=value1:-Doption2=value2"

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.