User guide

name="SQSrjs1"
type="RdbThinSrv"
url="//localhost:1891/"
autoStart="true"
maxClients="10"
/>
<server
name="SQSrjs2"
type="RdbThinSrv"
url="//localhost:1892/"
autoStart="true"
maxClients="10"
/>
<server
name="SQSrjs3"
type="RdbThinSrv"
url="//localhost:1893/"
autoStart="true"
maxClients="10"
/>
<!-- Pool Server -->
<server
name="SQS1880"
type="RdbThinSrvPool"
url="//localhost:1880/" >
<pooledServer name="SQSrjs1"/>
<pooledServer name="SQSrjs2"/>
<pooledServer name="SQSrjs3"/>
</server>
</servers>
</config>
Create an onStartup command procedure that sets up the appropriate Rdb and Java versions
for your system
e.g. RDB$JDBC_COM:RDBJDBC_SQS_ONSTARTUP.COM may contain
$@sys$share:rdb$setver 71
$@sys$common:[java$141.com]JAVA$141_SETUP.COM
Start the dispatcher
SQLSRV> start dispatcher pool_disp;
Note:
In this example the command procedure pointed to by default srv.onStartCmd in the XML
configuration file happens to be the same as the one created as the SQS_ONSTARTUP
command procedure. These do not have to be the same command procedure.
106