BEA WebLogic Server 7 ユーザーズマニュアル

ページ / 146
B
Upgrading the Pet Store Application and the Examples Server
B-26
BEA WebLogic Server 7.0 Upgrade Guide
@rem Server 
@rem (http://e-docs.bea.com/wls/docs60/install/index.html). 
SETLOCAL
cd ..\..
@rem Set user-defined variables.
set JAVA_HOME=D:\WLS 6.0\jdk130
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
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set 
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\samples
\eval\cloudscape\lib\cloudscape.jar;.\config\examples\server
classes
%JAVA_HOME%\bin\java -hotspot -ms64m -mx64m -classpath 
%CLASSPATH% -Dweblogic.Domain=examples -Dweblogic.
Name=examplesServer -Dbea.home=D:\WLS 6.0 
-Dcloudscape.system.home=./samples/eval/cloudscape/
data -Djava.security.policy==D:\WLS 
6.0\wlserver6.0/lib/weblogic.policy weblogic.Server
goto finish
:finish
cd config\examples
ENDLOCAL
above-listed startExamplesServer.cmd script modified to boot a WebLogic 7.0 
Examples Server
@echo off
SETLOCAL