Home » Applications » Oracle Fusion Apps & E-Business Suite » Script to completely shutdown the concurrent manager (Oracle E-Business Suite 11i (Did not test with 12 yet))
icon1.gif  Script to completely shutdown the concurrent manager [message #331709] Fri, 04 July 2008 14:41
Messages: 1
Registered: July 2008
Junior Member
Use this script to shutdown the concurrent manager completely. It will wait till all processes die.

# Author: Praveen Gattu
# Created: June 2007

# Figure out how you want to pass the variables DB_USER (username
# for APPS schema) and DB_PSWD (password for APPS). You can
# hardcode in this script (not recommended), prompt the user
# to enter them, etc.

# stop the concurrent manager
$SCRIPTS_TOP/adcmctl.sh stop $DB_USER/$DB_PSWD

# check if the processes are alive
while [ "$RETURN_VALUE" != "0" ]; do
sqlplus -silent $DB_USER/$DB_PSWD << _EOF_
select concurrent_queue_name, running_processes
from fnd_concurrent_queues
where running_processes > 0;
spool off

egrep --silent "no rows selected" $SPOOL_FILE

if [ $RETURN_VALUE -ne 0 ]; then
echo "Concurrent manager processes are still active. Sleeping for 10 seconds..."
sleep 10

echo "** Concurrent Manager and its processes are stopped **"

-- Praveen Gattu
(303) 880-7455
Previous Topic: Oracle Apps Technical Sample Projects
Next Topic: OM Shipping Exception Error
Goto Forum:

Current Time: Sun Aug 20 08:48:34 CDT 2017

Total time taken to generate the page: 0.04590 seconds