Inc. Server User Manual

B Upgrading the Pet Store Application and the Examples Server
B-22 BEA WebLogic Server 7.0 Upgrade Guide
@rem To display short (MS-DOS) filenames, use "dir /x". File
@rem names with
@rem spaces will break this script.
@rem
@rem jDriver for Oracle users: This script assumes that native
libraries
@rem required for jDriver for Oracle have been installed in the
proper
@rem location and that your system PATH variable has been set
appropriately.
@rem For additional information, refer to Installing and Setting
up WebLogic
@rem Server (/install/index.html in your local documentation set
or on the
@rem Internet at
@rem http://e-docs.bea.com/wls/docs60/install/index.html).
@rem Set user-defined variables.
set WL_HOME=D:\WLS_6.0\wlserver6.0
set JAVA_HOME=D:\WLS_6.0\jdk130
@if exist %WL_HOME%\lib\weblogic.jar goto checkJava
@echo.
@echo The WebLogic Server wasn't found in directory %WL_HOME%.
@echo Please edit the setExamplesEnv.cmd script so that the
@echo WL_HOME
@echo variable points to the WebLogic Server installation
@echo directory.
@echo Your environment has not been set.
@goto finish
:checkJava
@if exist %JAVA_HOME%\bin\java.exe goto setEnv
@echo.
@echo The JDK wasn't found in directory %JAVA_HOME%.
@echo Please edit the setEnv.cmd script so that the JAVA_HOME
@echo variable points to the location of your JDK.
@echo Your environment has not been set.
@goto finish
:setEnv
set APPLICATIONS=%WL_HOME%\config\examples\applications
set CLIENT_CLASSES=%WL_HOME%\config\examples\clientclasses
set SERVER_CLASSES=%WL_HOME%\config\examples\serverclasses
set
EX_WEBAPP_CLASSES=%WL_HOME%\config\examples\applications\exampl
esWebApp\WEB-INF\classes
set
CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.