Professional Documents
Culture Documents
Failed To Start ADOAFMCTL
Failed To Start ADOAFMCTL
Most of the DBA's faced this error while starting Adoafmctl.sh failed once after clone or existing
instance. There are many reasons for failing services. Here we are going to cover a few of the
scenarios that most commonly faced by the DBA's.
Scenario 1:
Adoafmctl.sh failed to start a managed process after the maximum retry limit
In version 12.1.3, IAS for Applications Technology when attempting to start oafm with
$ADMIN_SCRIPTS_HOME/adoafmctl.sh start,
The following error occurs. The issue has the resulting business impact; Due to this issue, users
cannot start OAFM service successfully.
================================================================================
opmn id=xxxxxx.xxxxx.com:xxxx
0 of 1 processes started.
ias-instance id=PROD_xxxxx.xxxxx.xxxxx.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
default_group/oafm/default_group/
Error
Gokulkumar Page 1
JUST RELAX DBA
Log:
/doyen/inst/apps/TEST_xxxxx/logs/ora/10.1.3/opmn/default_group~oafm~default_group~1.log
=================================================================================
FileName = oafmstd.out
FileName = oafmstd.out
Gokulkumar Page 2
JUST RELAX DBA
Cause:
<user>
<name>ASADMIN</name>
<display-name>Default Apps SOA User</display-name>
<description>Used by SOAProvider for DB connection</description>
<credentials>asadmin</credentials>
</user>
Solution:
FROM:
<user>
<name>ASADMIN</name>
<display-name>Default Apps SOA User</display-name>
<description>Used by SOAProvider for DB connection</description>
<credentials>asadmin</credentials>
</user>
TO:
Gokulkumar Page 3
JUST RELAX DBA
<user>
<name>ASADMIN</name>
<display-name>Default Apps SOA User</display-name>
<description>Used by SOAProvider for DB connection</description>
<credentials>!asadmin</credentials>
</user>
NOTE: The change is adding the exclamation mark (!) "!" before the password.
Then try starting OAFM and check results the OAFM services will be up and running.
Best Practices:
1. It is mandatory to change ADADMIN password for only those using SOA in their environment, reset of
them does not requested to change the password.
2. Leave a comment line in the file that insists to add exclamation mark (!) "!" before the password.
Scenario 2:
While starting OPMNCTL services OC4J:oafm services was not starting up, it will be in the status "Init"
for some time after timeout it will failed.
The following error occurs. The issue has the following business impact, Due to this issue, users cannot
start OAFM service successfully.
---------------------------------+--------------------+---------+----------+------------+----------+-----------+---------------
---------------------------------+--------------------+---------+----------+------------+----------+-----------+----------------
Gokulkumar Page 4
JUST RELAX DBA
Log:
$INST_TOP/apps/SID_machine/logs/ora/10.1.3/opmn/default_group~oafm~default_group~1
Error
--> Process (index=1,uid=349189076,pid=15039)
time out while waiting for a managed process to start
12/09/19-06:13:11 :: adoafmctl.sh: exiting with status 152
Cause:
Existing JSP Tag Library Cache content was preventing the TLD Cache for the map viewer app from
initializing correctly.
Solution:
$COMMON_TOP/_TldCache
Gokulkumar Page 5
JUST RELAX DBA
The above steps will fix the issue, in some case once after clearing cache file to problem still exits.
For those environment we have follow the below steps to fix the issue.
rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
3. Run autoconfig.
4. Start the application services
Best Practices:
1. Shutdown all the services completely, kill all died pid and defunct session before starting the
services.
2. Clear persistence.
Reference:
Adoafmctl.sh Failed To Start A Managed Process After The ....
https://support.oracle.com/knowledge/Oracle%20E-Business%20Suite/1599784_1.html
Gokulkumar Page 6