-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 8080, connecting as user “repraadmin” with no password:

ratool -status

Example 3

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

ratool -port 8888 -status

Example 4

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, you can issue this command to get the status of the RepConnector connection:

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

Example 5

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

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

Example 6

To display debug logging information while running ratool, issue:

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

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

Example 7

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

ratool -host machine1 -port 8888 -user newuser -password newpassword -loglevel DEBUG -logfile ratool.log -status

Example 8

If you are connecting to RepConnector running on BEA’s default 7001 port you can run ratool:

ratool -port 7001 -user repraadmin -status

Usage

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