Gets the status of a specific connection.
ratool -status [ <connection_name> ]
The name of the connection you want to status for.
To get the status of RepToJMS:
ratool -status RepToJMS
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
To display debug logging information while running ratool, issue:
ratool -loglevel DEBUG -status
By default, if -logfile is not specified, logging information is sent to standard output.
To send the debug logging information to a log file while running ratool, issue:
ratool -loglevel DEBUG -logfile ratool.log -status
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
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
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
If you are connecting to RepConnector running on BEA WebLogic Servers default 7001 port, you can use:
ratool -port 7001 -user repraadmin -status
If you do not specify a connection name, the status of all connections displays. Status values for the connection are:
RUNNING – the connection is running.
STOP – the connection is not running.