Use this command to set the named WSRR definition to be the default
one.
Any WSRR definition in that cell that was previously set to be default
will no longer be the default. If no definition can be found with that name,
or the target object and name are both supplied but conflict, then an exception
will be thrown.
Before you begin
The
setWSRRDefinitionAsDefault command
is run using the AdminTask object of the wsadmin scripting client.
- Locate the command that starts the wsadmin scripting client: this is found
in the install_root\bin directory.
- Run the wsadmin command.
- If the server is not running, use the -conntype none option.
- If you are not connecting to the default profile, use the -profileName profile_name option.
Use the following command to list all the WSRR administrative
commands.
wsadmin> $AdminTask help SIBXWSRRAdminCommands
Use
the following command to get detailed help on a particular command.
wsadmin> $AdminTask help command_name
Syntax
$AdminTask setWSRRDefinitionAsDefault {-paramName paramValue ...}
Purpose
The setWSRRDefinitionAsDefault command
sets the named WSRR definition to be the default one.
- Command name
- setWSRRDefinitionAsDefault
- Target
- javax.management.ObjectName RegistryDefinition – the
RegistryDefinition which is to be the default.
- Result
- Sets the named WSRR definition as default.
Parameters
- -name definitionName
- The name of the WSRR definition, as a string.
Example
wsadmin>$AdminTask setWSRRDefinitionAsDefault {-name mydefName}