NonStop Server Guide for BEA WebLogic Server 8.1

Configuring Persistent WebLogic Server Processes
HP NonStop Server Guide for BEA WebLogic Server 8.1529891-001
4-6
startgp.tacl
startgp.tacl
startgp.tacl is a TACL macro that must be copied to the Guardian namespace and
converted to an EDIT file using CTOEDIT. As with startgp.sh, the macro needs to
be updated to reflect the process to be started and must be run by a member of the
SUPER group.
Scripts to Start the WebLogic Server Process
Regardless of what method is used to add and start the generic process, a sample
script is needed to start the WebLogic Server process. To avoid the character limit of
115 on STARTUPMSG, place the following scripts in a directory near the root directory.
The Administration Server script and the Node Manager script use the standard scripts
created by the WebLogic Server. These scripts can be expanded as appropriate.
Administration Server Script
Place the following text into a file, turn the execute bit on, and use its name as the
script name used when adding the generic process:
#!/bin/sh
PATH=/usr/bin:/bin:/usr/local/bin:
cd <application directory>
. ./setEnv.sh
run -name=/G/adsvr ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS}
${JAVA_OPTIONS} -Dweblogic.Name=${ADMIN_SERVER}
-Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE}
-Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
-Dweblogic.management.username=${WLS_USER}
-Dweblogic.management.password=${WLS_PW} weblogic.Server
Node Manager Script
Place the following text into a file, turn the execute bit on, and use its name as the
script name used when adding the generic process:
#!/bin/sh
PATH=/usr/bin:/bin:/usr/local/bin:
cd application directory
. ./setEnv.sh
run -name=/G/nmgr "${JAVA_HOME}/bin/java" ${JAVA_VM} ${MEM_ARGS}
${JAVA_OPTIONS} -
Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
-Dweblogic.nodemanager.javaHome="${JAVA_HOME}"
weblogic.NodeManager