2.11.4 delete-system-property
Removes a system property of the domain, configuration, cluster, or server instance, one at a time.
Synopsis
asadmin [asadmin-options] delete-system-property [--help] [--target target] property_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-system-property subcommand deletes a system property of a domain, configuration, cluster, or server instance. Ensure that the system property is not referenced elsewhere in the configuration before deleting it.
This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target target
-
Specifies the target on which you are deleting the system properties.
Type: String
The following values can be specified:
-
server
-
domain
-
configuration_name
-
cluster_name
-
instance_name
Default value: server
-
- property_name
-
Specifies the name of the system property.
Type: String
The following values can be specified:
-
Name of the system property
Default value: N/A
-
Examples
The following example deletes the system property named http-listener-port on the server instance instance1.
asadmin delete-system-property --target instance1 http-listener-port
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |