NonStop Server Guide for BEA WebLogic Server 8.1

Using the WS Plug-in
HP NonStop Server Guide for BEA WebLogic Server 8.1529891-001
8-21
Modifying the Database
In the following example, the prefix /Slot invokes the least busy target application
server process in the cluster called Test-Cluster. This cluster is defined in the
clusters file and includes two target application server processes that are listening on
ports 4080 and 4090. (The port numbers are specified in the configuration file for the
cluster.) The path mapping converts the /Slot prefix to /SlotServletRoot before
forwarding requests to the application server.
insert into =dbaccess values ("/Slot", "Test-Cluster", 0,"x",0,-1,1);
-- Clusters
insert into =clusters values ("Test-Cluster","localhost",4080,"$ztc0",1);
insert into =clusters values ("Test-Cluster","localhost",4090,"$ztc0",2);
-- Path Mapping
insert into =pathmap values ("/Slot","/SlotServletRoot");
Modifying the Database
When you first build and install the WS Plug-in, the make command loads the
database with the data in dbload.sqlci. To update the database, however, you do
not need to reinstall the WS Plug-in.
To Update the Database, Without Changing the Locations of
the Database Files:
1. Update the dbload.sqlci file.
2. Use NonStop TS/MP PATHCOM to stop the WS Plug-in server class.
3. Change to the WS Plug-in directory (itpWS directory/bin/rmt) and use the
make dbload command to update the database tables.
4. Use PATHCOM to start the WS Plug-in server class.
To Update the Database Without Stopping the WS Plug-in
Servers:
1. Update the dbload.sqlci file.
2. Change to the WS Plug-in directory (itpWS directory/bin/rmt) and use the
make dbload command to update the database tables
3. Use the make refresh command to force the WS Plug-in processes to load the
new configuration.
To Change the Location of the Database:
1. Stop the iTP Secure WebServer environment.