@rem ************************************************************************* @rem This script is used to start WebLogic Server for the purpose of running @rem the code examples. It starts up the PointBase database, adds some @rem directories to the classpath, and calls the startWebLogic.cmd script under @rem %WL_HOME%\server\bin. @rem @rem To create your own start script for your domain, all you need to set is @rem DOMAIN_NAME and SERVER_NAME, then call %WL_HOME%\server\bin\startWebLogic.cmd @rem @rem Other variables that startWebLogic takes are: @rem @rem WLS_USER - cleartext user for server startup @rem WLS_PW - cleartext password for server startup @rem STARTMODE - Set to true for production mode servers, false for @rem development mode @rem JAVA_OPTIONS - Java command-line options for running the server. (These @rem will be tagged on to the end of the JAVA_VM and MEM_ARGS) @rem JAVA_VM - The java arg specifying the VM to run. (i.e. -server, @rem -hotspot, etc.) @rem MEM_ARGS - The variable to override the standard memory arguments @rem passed to java @rem @rem For additional information, refer to Installing and Setting up WebLogic @rem Server (http://e-docs.bea.com/wls/docs70/install/index.html). @rem ************************************************************************* echo off SETLOCAL @rem Set DOMAIN_NAME to the name of the domain you wish to run. set DOMAIN_NAME=examples @rem Set SERVER_NAME to the name of the server you wish to start up. set SERVER_NAME=examplesServer @rem Set WLS_USER equal to your system username and WLS_PW equal @rem to your system password for no username and password prompt @rem during server startup. Both are required to bypass the startup @rem prompt. set WLS_USER=installadministrator set WLS_PW=installadministrator @rem Set Production Mode. When this is set to true, the server starts up in @rem production mode. When set to false, the server starts up in development @rem mode. If it is not set, it will default to false. set STARTMODE= @rem Set JAVA_OPTIONS to the java flags you want to pass to the vm. i.e.: @rem set JAVA_OPTIONS=-Dweblogic.attribute=value -Djava.attribute=value set JAVA_OPTIONS= @rem ************************************************************************* @rem PointBase and examples domain specific configuration set SAMPLES_HOME=C:\bea\weblogic700b\samples set APPLICATIONS=%SAMPLES_HOME%\server\config\examples\applications set CLIENT_CLASSES=%SAMPLES_HOME%\server\config\examples\clientclasses set SERVER_CLASSES=%SAMPLES_HOME%\server\config\examples\serverclasses set EX_WEBAPP_CLASSES=%SAMPLES_HOME%\server\config\examples\applications\examplesWebApp\WEB-INF\classes @rem Add PointBase classes to the classpath, so we can start the examples @rem database. Also add the examples directories specified above to the @rem classpath to be picked up by WebLogic Server. set CLASSPATH=C:\bea\jdk131\lib\tools.jar;%SAMPLES_HOME%\server\eval\pointbase\server\lib\pbserver41ev.jar;%SAMPLES_HOME%\server\eval\pointbase\server\lib\pbclient41ev.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%;%EX_WEBAPP_CLASSES%;C:\PEJ\lib\jdo.jar;C:\PEJ\lib\pej.jar;C:\run\projects\bank\enhanced\bank.jar @rem Start PointBase start /min "PointBase" cmd /c ""C:\bea\jdk131\bin\java" -classpath "%CLASSPATH%" com.pointbase.net.netServer /port:9092 /d:3 /pointbase.ini=%SAMPLES_HOME%\server\config\examples\pointbase.ini" > %SAMPLES_HOME%\server\config\examples\pointbase.log 2>&1 @rem ************************************************************************* @rem Call WebLogic Server call "C:\bea\weblogic700b\server\bin\startWebLogic.cmd" ENDLOCAL