2.6.11 delete-prf
The delete-prf subcommand deletes a PRF server.
Synopsis
asadmin [asadmin_options] delete-prf [--force={false|true}] prf_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-prf subcommand deletes the specified PRF server from the domain. If the PRF server is in a dependency relation with another server (the PRF server is the dependent source server), that relation is also deleted.
This subcommand is supported only in the remote mode.
Execution permission
General user
Precondition
The PRF server has been created.
The PRF server has been stopped.
Arguments
- --force={false|true}
-
Specifies whether to forcibly delete the PRF server.
Type: Boolean
You can specify the following values:
-
true
Forces deletion of the PRF server. If the PRF server on the node is not stopped or if deletion failed, the PRF server information is deleted from the domain.
-
false
Does not force the deletion of the PRF server. If the deletion of the PRF server on the node failed, the subcommand terminates with an error without deleting the PRF server information from the domain.
Default value: false
-
- prf_name
-
Specifies the name of the PRF server to be deleted.
Type: String
You can specify the following values:
-
Name of a PRF server that exists in the domain
Default value: (None. You must specify a value.)
-
Examples
The following example deletes the PRF server named PRF1:
asadmin delete-prf PRF1
The following example forcibly deletes the PRF server named PRF1:
asadmin delete-prf --force true PRF1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
Normal termination. |
1 |
Abnormal termination. |