User guide
anonymous = "false"
bypass = "false"
tracelocal = "false"
relay = "false"
srv.startup="rdb$jdbc_home:rdbjdbc_startsrv.com"
/>
<!—My new server -->
<server
name="MY_SRV"
controlUser="GROUND_CONTROL"
controlPass="0x7315A012ECAD1059A3634F8BE1347846"
type="RdbThinSrv"
url="//localhost:1888/"
cfg="rdb$jdbc_com:my_cfg.xml"
srv.onStartCmd="@rdb$jdbc_com:my_setup.com"
/>
</servers>
</config>
Note
The server definition for MY_SRV is fairly minimal allowing most of the DEFAULT
characteristics to inherited. Also that the session section is used to ensure that the
broadcast IP the controller will check will be the same as the server uses.
RDB$JDBC_HOME:RDBJDBC_STARTSRV.COM
The default server properties in MY_CFG.XML sets the server configuration file used by
the server by using the srv.startup property:
srv.startup="rdb$jdbc_home:rdbjdbc_startsrv.com"
This file is used by the controller during the start-up of a detached OpenVMS process
that the server will run within. In most situations the default command procedure,
rdb$jdbc_home:rdbjdbc_startsrv.com created during installation, can be used without
change,.
Sever Setup Command Procedure
During server start-up any DCL command specified on srv.onStartCmd for the server,
will be executed prior to the server class being invoked. So this a good place to carry out
system specific and version specific set up procedures.
srv.onStartCmd="@rdb$jdbc_com:my_setup.com"
Note that as this properties is an executable DCL command, the @ character is required
so that the command procedure is correctly invoked.
148