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 8080, connecting as user “repraadmin” with no password:
ratool -status
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
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
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
To display debug logging information while running ratool, issue:
ratool -host machine1 -port 8888 -user newuser -password newpassword -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 -host machine1 -port 8888 -user newuser -password newpassword -loglevel DEBUG -logfile ratool.log -status
If you are connecting to RepConnector running on BEA’s default 7001 port you can run ratool:
ratool -port 7001 -user repraadmin -status
If you do not specify a connection name, the status of allconnections displays. Status values for the connection are:
RUNNING – the connection is running.
STOP – the connection is not running.