BEA 7 用户手册

下载
页码 146
B
Upgrading the Pet Store Application and the Examples Server
B-38
BEA WebLogic Server 7.0 Upgrade Guide
:runWebLogic
echo on
@rem original: set PATH=.\bin;%PATH%
4. Set the 
PATH
 to look in your 
%WL_HOME%
 7.0 home. If this is not set, the server 
won't boot.
set PATH=%WL_HOME%\bin;%PATH%
@rem original: set
@rem CLASSPATH=.;.\lib\weblogic_sp.jar;
@rem .\lib\weblogic.jar;.\samples\eval\cloudscape\
@rem lib\cloudscape.
@rem jar;.\config\examples\serverclasses
set 
CLASSPATH=%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.
jar;
%WL61_HOME%\samples\eval\cloudscape\lib\cloudscape.jar;
%WL61_HOME%\config\examples\serverclasses
5. Set the 
CLASSPATH
 to point to old classes and to new classes that you need.
echo CLASSPATH=%CLASSPATH%
@rem original: %JAVA_HOME%\bin\java -hotspot -ms64m -mx64m
@rem -classpath %CLASSPATH% -Dweblogic.Domain=examples
@rem -Dweblogic.Name=examplesServer -Dbea.home=C:\bea61sp2
@rem -Dcloudscape.system.home
@rem =./samples/eval/cloudscape/data
@rem -Djava.security.policy==C:\bea61sp2\wlserver6.1
@rem /lib/weblogic.policy weblogic.Server
%JAVA_HOME%\bin\java -hotspot -ms64m -mx64m -classpath 
%CLASSPATH% -Dweblogic.Name=examplesServer
-Dweblogic.ProductionModeEnabled=true -Dbea.home=C:\bea700 
-Dcloudscape.system.home=%WL61_HOME%/
samples/eval/cloudscape/data 
-Djava.security.policy==%WL61_HOME%/lib/weblogic.policy 
weblogic.Server
goto finish
:finish
ENDLOCAL