B
Upgrading the Pet Store Application and the Examples Server
SETLOCAL
cd ..\..
@rem Set user-defined variables.
set JAVA_HOME=d:\610sp2\jdk131
@rem Check that script is being run from the appropriate
directory
if not exist lib\weblogic.jar goto wrongplace
goto checkJDK
@rem :wrongplace
@rem echo startPetStore.cmd must be run from the config\petStore
directory. 1>&2
@rem goto finish
:checkJDK
if exist "%JAVA_HOME%/bin/javac.exe" goto runWebLogic
echo.
echo Javac wasn't found in directory %JAVA_HOME%/bin.
echo Please edit the startPetStoreServer.cmd script so that the
JAVA_HOME
echo variable points to the root directory of your JDK
installation.
goto finish
:runWebLogic
echo on
set PATH=.\bin;"%JAVA_HOME%\bin";%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\
samples\eval\cloudscape\lib\cloudscape.jar;.\config\petStore\se
rverclasses
echo off
echo.
echo ***************************************************
echo *
echo *
echo *
echo *
echo *
echo ***************************************************
@rem Set WLS_PW equal to your system password for no password
prompt server startup.
set WLS_PW=
@rem Set Production Mode.
up in production mode.
@rem When set to false, the server starts up in development mode.
B-8
BEA WebLogic Server 7.0 Upgrade Guide
To start WebLogic Server, use the password
assigned to the system user.
username and password must also be used to
access the WebLogic Server console from a web
browser.
The system
When set to true, the server starts
*
*
*
*
*
Need help?
Do you have a question about the WebLogic Server 7 and is the answer not in the manual?