-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathstop-forms-reports.sh
28 lines (22 loc) · 1007 Bytes
/
stop-forms-reports.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -----------------------------------------------------------------------------------
# File Name : https://oracle-base.com/dba/weblogic/stop-forms-reports.sh
# Author : Tim Hall
# Description : Stop a WebLogic Forms and Reports Services installation.
# Call Syntax : ./stop-forms-reports.sh
# Last Modified: 15-JUN-2013
# -----------------------------------------------------------------------------------
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!"