NonStop Server Guide for BEA WebLogic Server 8.1

Sample Application
HP NonStop Server Guide for BEA WebLogic Server 8.1529891-001
10-2
Running MedRec Application in the Installed
WebLogic Server Location
The prerequisite software and shell environment can be checked using the same script
run during the installation. For example:
ksh [130] $WL_HOME/server/lib/hpns/check-wl-hpns.sh
To run MedRec in directories outside the installed WebLogic Server location, see
Running MedRec in Another Location.
During installation of the NonStop Server Toolkit, extra files needed to run MedRec
sample application are copied into the directory:
$WL_HOME/samples/domains/medrec_sqlmx if you are running SQL/MX Version
2.0 native tables or
$WL_HOME/samples/domains/medrec_sqlmx2 if you are running SQL/MX
Version 2.0 MX Tables.
This location can be used to run MedRec immediately after installation.
If you have previously run medrec_sqlmx or medrec_sqlmx2, you might need to
clean up before running medrec_sqlmx or medrec_sqlmx2 again. To clean up, run
the cleanMedRec_sqlmx.sh script using the same userid as the previous user who
ran medrec_sqlmx or medrec_sqlmx2.
To run the sample application, ensure that environment variables are set and exported,
then use the startMedRecServer_sqlmx.sh script. For example:
ksh [134] export JAVA_HOME=/usr/tandem/nssjava/jdk142_h10
ksh [135] export PATH=$PATH:$JAVA_HOME/bin
ksh [136] export WL_HOME=/usr/bea/weblogic81
ksh [137] cd $WL_HOME/samples/domains/medrec_sqlmx
ksh [138] . ./startMedRecServer_sqlmx.sh
Note that startMedRecServer_sqlmx.sh calls
$WL_HOME/common/bin/commEnv.sh, which sets the variables _RLD_LIB_PATH
and _RLD_FIRST_LIB_PATH.
The following portions of output from the startMedRecServer_sqlmx.sh script are
useful to note:
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://<hostname>:<port>/console *
***************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, point your browser
to the URL "http://machine.building.corp.net/index.jsp"
to view the WebLogic Server Index running
on this server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Dec 2, 2003 4:00:20 PM PST> <Notice> <WebLogicServer> <BEA-000360> <Server
started in RUNNING mode>
<Dec 2, 2003 4:00:19 PM PST> <Notice> <WebLogicServer> <BEA-000355> <Thread
"ListenThread.Default" listening on port 7001, ip address *.*>
<Dec 2, 2003 4:00:19 PM PST> <Notice> <WebLogicServer> <BEA-000355> <Thread
"SSLListenThread.Default" listening on port 7002, ip address *.*>