-status

Description

Gets the status of a specific connection.

Syntax

ratool -status [ <connection_name> ]

Parameters

connection_name

The name of the connection you want to status for.

Examples

Example 1

To get the status of RepToJMS:

ratool -status RepToJMS

Example 2

To get the status of all configured RepConnector connections for RepConnector running on “localhost”, listening on port 8000, connecting as user “repraadmin” with no password:

ratool -status

Example 3

To display debug logging information while running ratool, issue:

ratool -loglevel DEBUG -status

NoteBy default, if -logfile is not specified, logging information is sent to standard output.

Example 4

To send the debug logging information to a log file while running ratool, issue:

ratool -loglevel DEBUG -logfile ratool.log -status

Example 5

If you have configured your application server to listen on a different port, for example, 8888, issue this command to display the status of all configured RepConnector connections:

ratool -port 8888 -status

Example 6

If you have changed the default user name “repraadmin” with no password to the new user “newuser” with password “newpassword” for connecting to RepConnector running on “machine1” and port 8888, issue this command to get the status of the RepConnector connection:

ratool -host machine1 -port 8888 -user  newuser -password newpassword 
-status

Example 7

To connect to RepConnector that is running on remote “machine1” listening on default port 8000, connecting as the default user or password, issue one of these commands:

ratool -host machine1 -status
ratool -host machine1 -port 8000 -status
ratool -host machine1 -port 8000 -user repraadmin -status

Example 8

If you are connecting to RepConnector running on BEA WebLogic Servers default 7001 port, you can use:

ratool -port 7001 -user repraadmin -status

Usage

If you do not specify a connection name, the status of all connections displays. Status values for the connection are: