WebLogic Server (WLS) 7.0

Pet Store Sample Application
HP NonStop Server Platform Guide for WebLogic Server525779-001
6-8
Running Pet Store in Another Location
Changing petstore/startPetStore.sh
Changing petstore/startPetStore_NSSQL.sh
Old string = 7001
New string = 20001
Changing examples/config.xml
Changing petstore/config.xml_BEA
Changing petstore/config.xml_HPNS
Old string = 7002
New string = 20002
Changing examples/config.xml
Changing petstore/config.xml_BEA
Changing petstore/config.xml_HPNS
Old string = Dhp.nsk.xares.name=petstore
New string = Dhp.nsk.xares.name=mystore
Changing petstore/startPetStore_NSSQL.sh
5. Run the PointBase form of Pet Store with the same commands used earlier:
ksh [161] cd $MYSAMPLES/config/petstore
ksh [162] . ./startPetStore.sh
6. Change to the SQL/MX form of Pet Store by using the swapPetStore.sh script.
For example:
ksh [163] ./swapPetStore.sh -mx -w $MYSAMPLES
Pet Store will use NonStop SQL/MX. To start it, use:
cd /h/user/mywls/samples/server/config/petstore/
. ./startPetStore_NSSQL.sh
ksh [164] ./whichPetStore.sh -w $MYSAMPLES
whichPetStore.sh: Examining files in /h/user/mywls/samples/server
whichPetStore.sh: Examined files use NonStop SQL/MX.
7. Run the SQL/MX form of Pet Store with the same commands used earlier (see
Running the SQL/MX Form of Pet Store). Values that should be unique are
reported so you can check your changes.
ksh [165] cd $MYSAMPLES/config/petstore
ksh [166] . ./startPetStore_NSSQL.sh
startPetStore_NSSQL.sh: This appears to be the first time
you have run Pet Store in this directory.
Copying schema directory to /h/user/mywls/samples/server/config/petstore
...
startPetStore_NSSQL.sh: This is a private copy of Pet Store, because you
are not under directory /usr/bea/weblogic700.To prevent conflicts with