User guide
Example
my_setup.com
$@SYS$LIBRARY:RDB$SETVER 72
$@sys$common:[java$142.com]JAVA$142_SETUP.COM
FAST
$define/job MY_DB_DIR sys$common:[DBS]
These commands ensure that the environment is correct for the server process to access a
V7.2 Oracle Rdb database using the FAST JAVA VM.
Step 4 Start the Oracle JDBC for Rdb thin server
Now that set up and configuration files are created in place the controller may be used to
start the server. The configuration file containing the server definitions is used as a
parameter to the DCL command line invoking the controller. In the example we use
command mode –startServer to start the server
Example
$ JAVA -JAR RDBTHINCONTROL.JAR –CFG RDB$JDBC_COM:MY_CFG.XML –
CONTROLPASS "MySecretPassword" –STARTSERVER –NAME MY_SRV
.
RDB$NODE : 138.1.14.91
RDB$PORT : 1888
RDB$STATUS : Idle
RDB$SERVER_NAME : srv1
RDB$SERVER_TYPE : RdbThinSrv
RDB$SERVER_VERSION : T7.2-510 20070109 B719
RDB$SERVER_SHR_VERSION : T7.2-510 20061221 B6CL
RDB$SERVER_PID : 0x2030DA4D(540072525)
RDB$ALLOWS_ANON : false
RDB$ALLOWS_BYPASS : false
RDB$NUMBER_OF_CLIENTS : 0
RDB$MAX_CLIENTS : -1
RDB$TRACE_LEVEL : 0
RDB$RESTRICT_ACCESS : false
In the example we provided both the configuration file to use and the control password.
The controlpass could have been set in plain text in the configuration session section, but
Oracle does not recommend placing plain text passwords in plain text files. Note also that
the password is enclosed in double quotation marks to prevent case changing.
Step 5 Install the Oracle JDBC for Rdb thin driver on your client machine.
149