BEA WebLogic Server 7 Upgrade Manual page 117

Table of Contents

Advertisement

Upgrading the Pet Store Application From WebLogic 6.1 Service Pack 3 to WebLogic
@rem 4. SET THE PATH VARIABLE APPROPRIATELY USING WL_HOME70 YOU
DEFINED IN STEP 2 ABOVE
:runWebLogic
echo on
set PATH=%WL_HOME70%\server\bin;"%JAVA_HOME%\bin";%PATH%
@rem 5.
WHILE RETAINING ALL CLASS LOCATIONS
@rem RELEVANT TO YOUR APPLICATION. TO DO THIS, USE WL_HOME70 YOU
SET IN STEP 2.
set CLASSPATH=.;%WL_HOME70%\server\lib\weblogic.jar;.\samples\
eval\cloudscape\lib\cloudscape.jar;.\config\petStore\serverclas
ses
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.
The default is false.
set STARTMODE=true
@rem 6.
BEA_HOME VARIABLE YOU SET IN STEP 2.
echo on
"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath
"%CLASSPATH%"
-Dweblogic.Domain=petstore -Dweblogic.Name=petstoreServer
-Dbea.home="%BEA_HOME%"
-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
SET YOUR CLASSPATH SO THE NEW WLS70 CLASSES ARE USED
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.
SET THE -Dbea.home COMMAND LINE OPTION USING THE
BEA WebLogic Server 7.0 Upgrade Guide
The system
When set to true, the server starts
*
*
*
*
*
B-11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic Server 7 and is the answer not in the manual?

This manual is also suitable for:

Weblogic server 7.0

Table of Contents