Inc. Server User Manual

B Upgrading the Pet Store Application and the Examples Server
B-4 BEA WebLogic Server 7.0 Upgrade Guide
An example of the above-listed config.xml file used for WebLogic Server 7.0
which includes explanations for how to change this script to upgrade the
Examples Server toWebLogic Server 7.0.
Note: To upgrade the Pet Store application to WebLogic Server 7.0, it is not
necessary to update the DTDs in the weblogic.xml and web.xml files. See
weblogic-ejb-jar.xml Document Type Definitions in Programming WebLogic
Enterprise JavaBeans for information on WebLogic Server 7.0 DTDs
Fix JSP Parsing Errors
Minor errors that were parsable in earlier versions of WebLogic Server cause errors in
WebLogic Server 8.1 because JDK 1.4 does not accept them. The errors corrected in
this section are property settings for which the method and setter properties do not
agree.
Correcting the errors requires making changes to these source files:
ListTag.java
CartListTag.java
MyListTag.java
ProductItemListTag.java
ProductListTag.java
SearchListTag.java
All of these files are located in the
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprints
\petstore\taglib\list
directory (where WL_HOME is the WebLogic Server
installation directory)
Use these steps to make the replacement in
ListTag.java:
1. In a command console, navigate to
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list
. For example:
C:\> cd
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list
2. Open ListTag.java in a text editor. For example:
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list>notepad ListTag.java.