getDefaultWSRRDefinition command

Use the getDefaultWSRRDefinition command to return the current default WSRR definition. If no default is set (this should only happen if there are no WSRR definitions), it will return null.

The getDefaultWSRRDefinition 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.
$AdminTask help SIBXWSRRAdminCommands
Use the following command to get detailed help on a particular command.
$AdminTask help command_name

Prerequisites

Location

The getDefaultWSRRDefinition command is run using the AdminTask object of the wsadmin scripting client. The wsadmin scripting client is located in the install_root\bin directory.

Syntax

$AdminTask getDefaultWSRRDefinition

Required parameters

Not applicable.

Example

  • Jython example:
    AdminTask.getDefaultWSRRDefinition()
    Tip: Add the jython print statement before the command when you want to see formatted output.
  • Jacl example:
    $AdminTask getDefaultWSRRDefinition