user manual
Upgrading the Pet Store Application From WebLogic 6.1 Service Pack 3 to WebLogic
BEA WebLogic Server 7.0 Upgrade Guide B-3
Set Up the WebLogic Server 7.0 Environment with Your 
6.1 Service Pack 3 Domain Configuration
To upgrade the Pet Store application from WebLogic Server 6.1 Service Pack 3 to 
WebLogic Server 7.0:
1. Repair tag library errors in Pet Store that were accepted under WebLogic Server 6.x 
but are rejected by the parser in WebLogic Server 7.0.
2. Copy the 
WL_HOME/config/petstore directory from WebLogic Server 6.1 to a 
location in your WebLogic Server 7.0 installation. BEA recommends not copying 
the directory to 
WL_HOME in order to avoid having to move the domain the next 
time you upgrade.
Note: If the directory in WebLogic Server 7.0 to which you copy Pet Store is the 
same as Pet Store’s directory location in WebLogic Server 6.1, you will not 
need to edit the 
config.xml file to reflect a new directory location. If you 
copy Pet Store to a different directory location, you will need to find all of the 
fully qualified file and directory paths in your 
config.xml file and change 
them to relative paths.
3. Edit the 
startPetstore.cmd script to reflect the new WebLogic Server 7.0 
installation as well as the new directory location (if you have one).
4. Edit the 
config.xml file to reflect the new WebLogic Server 7.0 installation as 
well as the new directory location (if you have one).
This section contains:
 Instructions for fixing the Pet Store errors: “Fix JSP Parsing Errors” on page 4.
 An example of the “startPetstore.cmd script used to boot WebLogic Server 6.1 
Service Pack 3” on page 7.
 An example of the “above-listed startPetstore.cmd script modified to boot 
WebLogic Server 7.0” on page 9.
 An example of the “config.xml file used for WebLogic Server 6.1 Service Pack 
3” on page 12.










