create boot.properties files:
$FORMSREPORTSDOMAIN/servers/AdminServer/security/boot.properties
$FORMSREPORTSDOMAIN/servers/WLS_FORMS/security/boot.properties
$FORMSREPORTSDOMAIN/servers/WLS_REPORTS/security/boot.properties
$FORMSREPORTSDOMAIN/servers/WLS_PORTAL/security/boot.properties
---------------------------------------------------------------------------------------------------
Start:
#!/bin/sh
export MIDDLEWARE_HOME=/u01/app/oracle/product/Middleware
export FORMSREPORTSINSTANCE=/u01/app/oracle/product/Middleware/as_portal
export FORMSREPORTSDOMAIN=$MIDDLEWARE_HOME/user_projects/domains/PortalDomain
export WEBLOGICINSTANCE=$MIDDLEWARE_HOME/asinst_1
echo "Starting AdminServer"
nohup $FORMSREPORTSDOMAIN/startWebLogic.sh >/dev/null 2>/dev/null &
echo "Starting WLS_PORTAL"
nohup $FORMSREPORTSDOMAIN/bin/startManagedWebLogic.sh WLS_PORTAL >/dev/null 2>/dev/null &
echo "Starting WLS_FORMS"
nohup $FORMSREPORTSDOMAIN/bin/startManagedWebLogic.sh WLS_FORMS >/dev/null 2>/dev/null &
echo "Starting WLS_REPORTS"
nohup $FORMSREPORTSDOMAIN/bin/startManagedWebLogic.sh WLS_REPORTS >/dev/null 2>/dev/null &
echo "Starting OPMN managed components"
$WEBLOGICINSTANCE/bin/opmnctl startall
---------------------------------------------------------------------------------------------------
Stop:
export MIDDLEWARE_HOME=/u01/app/oracle/product/Middleware
export FORMSREPORTSINSTANCE=/u01/app/oracle/product/Middleware/as_portal
export FORMSREPORTSDOMAIN=$MIDDLEWARE_HOME/user_projects/domains/PortalDomain
export WEBLOGICINSTANCE=$MIDDLEWARE_HOME/asinst_1
$WEBLOGICINSTANCE/bin/opmnctl stopall
nohup $FORMSREPORTSDOMAIN/bin/stopManagedWebLogic.sh WLS_PORTAL >/dev/null 2>/dev/null &
nohup $FORMSREPORTSDOMAIN/bin/stopManagedWebLogic.sh WLS_FORMS >/dev/null 2>/dev/null &
nohup $FORMSREPORTSDOMAIN/bin/stopManagedWebLogic.sh WLS_REPORTS >/dev/null 2>/dev/null &
nohup $FORMSREPORTSDOMAIN/bin/stopWebLogic.sh >/dev/null 2>/dev/null &
0 comentários:
Postar um comentário