Inc. Server User Manual

B Upgrading the Pet Store Application and the Examples Server
B-24 BEA WebLogic Server 7.0 Upgrade Guide
@rem Set user-defined variables.
@rem changed: set WL_HOME=C:\bea60sp2\wlserver6.0
1. Set the WL60_HOME variable so that you can access your WebLogic Server 6.0
classes.
set WL60_HOME=C:\bea60sp2\wlserver6.0
2. Set the WL_HOME variable so that you can access your WebLogic Server 7.0
classes.
set WL_HOME=C:\bea700\weblogic700
@rem changed: set JAVA_HOME=C:\bea60sp2\jdk130
3. Point to the JDK on WebLogic Server 7.0.
set JAVA_HOME=c:\bea700\jdk131
4. Point to application archives created when you build the examples.
set APPLICATIONS=%WL60_HOME%\config\examples\applications
5. Point to the directory used to store client classes.
set CLIENT_CLASSES=%WL60_HOME%\config\examples\clientclasses
6. Point to the directory used to store server-side classes.
set SERVER_CLASSES=%WL60_HOME%\config\examples\serverclasses
7. Point to the directory used to store classes used by the Examples Web
Application.
set
EX_WEBAPP_CLASSES=%WL60_HOME%\config\examples\applications\exam
plesWebApp\WEB-INF\classes
8. Point to the WebLogic Server 6.0 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;%WL60_
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.