WebLogic Server (WLS) 7.0
HP NonStop Server Platform Guide for WebLogic Server—525779-001
6-1
6 Pet Store Sample Application
 Running Pet Store Sample Application
 Running Pet Store Application in the Installed WebLogic Server Location
 Running the PointBase Form of Pet Store
 Running the SQL/MX Form of Pet Store
 Accessing Pet Store from a Web Browser
 Running Pet Store in Another Location
Running Pet Store Sample Application
Pet Store is a sample reference application that demonstrates the WebLogic Server 
features.
On the HP NonStop server, the sample application Pet Store can use either of these 
relational databases:
•
PointBase, which is written in Java and bundled with BEA WebLogic Server.
•
HP NonStop SQL/MX, for optimal performance on the NonStop server. This 
database is available after running a script to change Pet Store from PointBase.
For both databases, the application source for Pet Store is the same, and only the 
configuration files changed when they were built.
You can detect what version of Pet Store is ready to run by using the 
whichPetStore.sh script. For example:
ksh [123] export WL_HOME=/usr/bea/weblogic700
ksh [124] $WL_HOME/samples/server/config/petstore/whichPetStore.sh
whichPetStore.sh: Examining files in /usr/bea/weblogic700/samples/server
whichPetStore.sh: Examined Pet Store files use PointBase
Running Pet Store Application in the Installed 
WebLogic Server Location
The easiest place to run Pet Store is in the installed location which, by default, is 
/usr/bea/weblogic700. However, running Pet Store in the installed location 
changes files in the installed directories, which can cause problems for other users 
who want to run private copies of Pet Store. Also, you need write access to the 
installation directories.
Before you run Pet Store or other applications with WebLogic Server, ensure that you 
are running the Parallel Library TCP/IP. For example:
ksh [125] add_define =TCPIP^PROCESS^NAME class=map file=\$ZSM1
ksh [126] add_define =PTCPIP^FILTER^KEY class=map file=~mykey
ksh [127] info_define all
To run Pet Store in directories outside the installed WebLogic Server location, see 
Running Pet Store in Another Location.










