B
Upgrading the Pet Store Application and the Examples Server
An example of the
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
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:
All of these files are located in the
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprints
\petstore\taglib\list
installation directory)
Use these steps to make the replacement in
1. In a command console, navigate to
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list
C:\> cd
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list
2. Open
WL_HOME\samples\petStore\src\petstore\src\com\sun\j2ee\blueprin
ts\petstore\taglib\list>notepad ListTag.java.
B-4
BEA WebLogic Server 7.0 Upgrade Guide
above-listed config.xml file used for WebLogic Server 7.0
necessary to update the DTDs in the weblogic.xml and web.xml files. See
weblogic-ejb-jar.xml Document Type Definitions
Enterprise JavaBeans for information on WebLogic Server 7.0 DTDs
ListTag.java
CartListTag.java
MyListTag.java
ProductItemListTag.java
ProductListTag.java
SearchListTag.java
directory (where
in a text editor. For example:
ListTag.java
is the WebLogic Server
WL_HOME
ListTag.java
. For example:
in Programming WebLogic
:
Need help?
Do you have a question about the WebLogic Server 7 and is the answer not in the manual?