NonStop Server Guide for BEA WebLogic Server 8.1

Sample Application
HP NonStop Server Guide for BEA WebLogic Server 8.1529891-001
10-3
Running MedRec Application in the Installed
WebLogic Server Location
The NonStop SQL catalog is created and populated the first time you start this sample
application and the catalog name is put into files you can use to control the catalog.
Subsequent starts of MedRec will keep the same catalog data.
Also, the scripts that control the catalog are available in the directory db where you are
running the application.
The defaults used with NonStop SQL are:
To specify other values for these default values, read the instructions in the script
create_medrecdb.sh. Be sure to escape the dollar-sign ($) character in the volume
name.
To use any of these scripts, change to the correct directory and run the script. For
example, to repopulate the catalog:
ksh [142] cd $WL_HOME/samples/domains/medrec_sqlmx/db
ksh [143] create_medrecdb.sh -reload
The other scripts are input files to SQL. Be sure to use the correct command
interpreter. For example, to remove the catalog after you have finished using the
sample application:
ksh [144] cd $WL_HOME/samples/domains/medrec_sqlmx/schema/db
ksh [145] create_medrecdb.sh -drop
Accessing MedRec from a Web Browser
From a web browser, view the initial MedRec screen at the address that was output at
the shell when the application started.
SQL/MX catalog The current users group. For example, DEV.
SQL/MX schema The current users ID. For example, USER.
SQL/MP subvolume
(applies to SQL/MX 2.0
native tables only)
The current users default subvolume.
TMF resource manager medrec