Cloudscape Access Using RmiJdbc
Page 6 of 6

The RJPing Utility

RJPing is an RmiJdbc utility class that allows various operations against a running RmiJdbc server. RJPing lets you:

  • connect to the server
  • get driver information
  • shut down the server
  • list the RmiJdbc version on the client and server
  • list all current drivers registered in the server

You can run RJPing from a shell prompt, or you can modify and run the RJPing.bat and RJPing.ksh scripts provided in the frameworks\RmiJdbc\bin subdirectory under $CLOUDSCAPE_INSTALL.

The command-line syntax for RJPing is:
java RJPing [//hostname:port#/]dbURL [connect, driverInfo, shutdown, rmiJdbcVersion]

If neither connect, driverInfo, shutdown nor rmiJdbcVersion is specified, RJPing returns a list of all current JDBC drivers in the server.

For help with RJPing syntax, type:

java RjPing -?

or

java RjPing help

RJPing returns 0 if it succeeds, -1 otherwise.

Examples using the RJPing utility are:

java RJPing
java RJPing //anotherHost:1099/
java RJPing //localhost:1099/ jdbc:cloudscape: driverInfo
java RJPing jdbc:cloudscape:myDB  connect
java RJPing //localhost:1099/jdbc:cloudscape:myDB connect
java RJPing jdbc:rmi://localhost:1099/jdbc:cloudscape:myDB connect
java RJPing //anotherHost:1099/ shutdown
java RJPing jdbc:rmi: shutdown
java RJPing //localhost:1099/ jdbc:cloudscape:myDB rmiJdbcVersion
java RJPing jdbc:cloudscape: rmiJdbcVersion