Weblogic Reports and forms services Start/Stop
Start a WebLogic Forms and Reports Services :
export MW_HOME=/u01/app/oracle/middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/ClassicDomain
export FR_INST=$MW_HOME/asinst_1
echo "Starting AdminServer"
nohup $DOMAIN_HOME/bin/startWebLogic.sh > /dev/null 2>&1 &
sleep 120
echo "Starting WLS_FORMS"
nohup $DOMAIN_HOME/bin/startManagedWebLogic.sh WLS_FORMS > /dev/null 2>&1 &
echo "Starting WLS_REPORTS"
nohup $DOMAIN_HOME/bin/startManagedWebLogic.sh WLS_REPORTS > /dev/null 2>&1 &
echo "Start remaining processes using OPMN"
$FR_INST/bin/opmnctl startall
echo "Sleep for 10 minutes before calling reports startserver"
sleep 600
curl http://localhost:8888/reports/rwservlet/startserver > /dev/null 2>&1 &
echo "Done!"
Stop a WebLogic Forms and Reports Services :
export MW_HOME=/u01/app/oracle/middleware
export DOMAIN_HOME=$MW_HOME/user_projects/domains/ClassicDomain
export FR_INST=$MW_HOME/asinst_1
echo "Stop OPMN processes"
$FR_INST/bin/opmnctl stopall
echo "Stop WLS_FORMS"
$DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_FORMS
echo "Stop WLS_REPORTS"
$DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_REPORTS
echo "Stop AdminServer"
$DOMAIN_HOME/bin/stopWebLogic.sh
echo "Tidy up temp files"
find $DOMAIN_HOME/servers -name "*.lok" -exec rm -f {} \;
find $DOMAIN_HOME/servers -name "*.DAT" -exec rm -f {} \;
echo "Done!"