Inc. Server User Manual

Upgrading the WebLogic 6.1 Service Pack 2 Examples Server to WebLogic Server 7.0
BEA WebLogic Server 7.0 Upgrade Guide B-37
-Dcloudscape.system.home=./samples/eval/cloudscape/data
-Djava.security.policy=="D:\WLS
6.1\wlserver6.1/lib/weblogic.policy" weblogic.Server
goto finish
:finish
cd config\examples
ENDLOCAL
above-listed startExamplesServer.cmd script modified to boot WebLogic Server
7.0
@echo off
SETLOCAL
@rem Set user-defined variables.
@rem original:set JAVA_HOME=C:\bea61sp2\jdk130
1. Set your JAVA_HOME to your new JDK in WebLogic 7.0.
set JAVA_HOME=C:\bea700\jdk131
@rem added:
2. Set this in order to be able to access your WebLogic Server 6.1 classes.
set WL61_HOME=c:\bea61sp2\wlserver6.1
3. Set this in order to be able to access your WebLogic Server 7.0 classes.
set WL_HOME=c:\bea700\weblogic700
:checkJRE
if exist %JAVA_HOME%\lib\nul goto runWebLogic
echo.
echo The JRE wasn't found in directory %JAVA_HOME%.
echo Please edit the startExamplesServer.cmd script so that the
JAVA_HOME
echo variable points to the root directory of your Java
installation.
goto finish