deleteWSRRDefinition command
Use the deleteWSRRDefinition command
to delete a WSRR definition that has been named or supplied as a target
object.
If the definition cannot be found, or the name and target object are both supplied but conflict, an exception is thrown. This command deletes the default WSRR definition only if it is the only definition in the cell. If there are other definitions present in the cell, the command fails and you must change the default to another WSRR definition before the current one can be deleted.
Use
the following command to list all the WSRR administrative commands:
$AdminTask help SIBXWSRRAdminCommandsPrerequisites
The
following conditions must be met:
- The command must be run on the deployment manager node.
- If the deployment manager is stopped, use the
wsadmin -conntype noneoption to run the command in disconnected mode. - If the deployment manager is running, you must connect with a user ID that has WebSphere® Application Server configurator privileges. Do not use the
wsadmin -conntype noneoption.
Location
Start the wsadmin scripting client from the deployment_manager_profile/bin directory. The deleteWSRRDefinition command does not write to a log file, but the wsadmin scripting client always writes a profile_root/logs/wsadmin.traceout log file where you will find exception stack traces and other information.
Syntax
deleteWSRRDefinition
-name definitionNameParameters
- -name definitionName
- A required parameter that specifies the name of the WSRR definition to be deleted, as a string.
Example
wsadmin>AdminTask.deleteWSRRDefinition( ['-name', 'MydefName'] )
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15