Inc. Server User Manual

B Upgrading the Pet Store Application and the Examples Server
B-34 BEA WebLogic Server 7.0 Upgrade Guide
2. Set the WL_HOME variable so that you can access your WebLogic Server 7.0
classes.
set WL_HOME=C:\bea700\weblogic700
3. Point to the JDK on WebLogic Server 7.0.
@rem changed: set JAVA_HOME=C:\bea61sp2\jdk130
set JAVA_HOME=c:\bea700\jdk131
4. Point to application archives created when you build the examples.
set APPLICATIONS=%WL61_HOME%\config\examples\applications
5. Point to the directory used to store client classes.
set CLIENT_CLASSES=%WL61_HOME%\config\examples\clientclasses
6. Point to the directory used to store server-side classes.
set SERVER_CLASSES=%WL61_HOME%\config\examples\serverclasses
7. Point to the directory used to store classes used by the Examples Web
Application.
set
EX_WEBAPP_CLASSES=%WL61_HOME%\config\examples\applications\exam
plesWebApp\WEB-INF\classes
8. Point to the WebLogic Server 6.1 and WebLogic Server 7.0 classes.
set
CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.
jar;%WL_HOME%\lib\weblogic.jar;%WL_HOME%\lib\xmlx.jar;%WL61_
HOME%\samples\eval\cloudscape\lib\cloudscape.jar;%CLIENT_
CLASSES%;%SERVER_CLASSES%;%EX_WEBAPP_CLASSES%
9. Point to your %WL_HOME% 7.0 home.
set PATH=%WL_HOME%\bin;%JAVA_HOME%\bin;%PATH%
@echo.
@echo Your environment has been set.
startExamplesServer.cmd script used to boot a WebLogic 6.1 Service Pack 2
Examples Server
@echo off