Inc. Server User Manual

Upgrading the Pet Store Application From WebLogic 6.1 Service Pack 3 to WebLogic
BEA WebLogic Server 7.0 Upgrade Guide B-9
The default is false.
set STARTMODE=true
echo on
"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath
"%CLASSPATH%"
-Dweblogic.Domain=petstore -Dweblogic.Name=petstoreServer
-Dbea.home="d:\610sp2" -Dweblogic.management.password=%WLS_PW%
-Dweblogic.ProductionModeEnabled=%STARTMODE%
-Dcloudscape.system.home=./samples/eval/cloudscape/data
-Djava.security.policy=="d:\610sp2\wlserver6.1/lib/weblogic.pol
icy" weblogic.Server
goto finish
:finish
cd config\petStore
ENDLOCAL
above-listed startPetstore.cmd script modified to boot WebLogic Server 7.0
@echo off
@rem This script can be used to start WebLogic Server for the
purpose
@rem of running the PetStore application. This script ensures
that
@rem the server is started using the config.xml file found in
@rem this directory and that the CLASSPATH is set appropriately.
@rem This script contains the following variables:
@rem
@rem JAVA_HOME - Determines the version of Java used to start
@rem WebLogic Server. This variable must point
to the
@rem root directory of a JDK installation. and
will be set
@rem for you by the WebLogic Server installer.
Note that
@rem this script uses the hotspot VM to run
WebLogic Server.
@rem If you choose to use a JDK other than the one
@rem included in the disribution, make sure that
the JDK
@rem includes the hotspot VM. See the WebLogic
platform
@rem support page
(http://e-docs.bea.com/wls/platforms/index.html)
@rem for an up-to-date list of supported JVMs