Unable to start OAFM service (time out while waiting for a managed process to start) exiting with status 152

Review below MOS Docs

OC4J Fails to startup with “ERROR Failed to set the internal configuration of the OC4J JMS Server” (Doc ID 372412.1)
OAFM OC4J is Not Starting. Error: “time out while waiting for a managed process to start” (Doc ID 952583.1)

Check Log files under ($LOG_HOME/ora/10.1.3/opmn)
and below logs.

$LOG_HOME/ora/10.1.3/j2ee/oafm/oafm_default_group_1/application.log
$LOG_HOME/ora/10.1.3/j2ee/oafm/oafm_default_group_1/server.log
$LOG_HOME/ora/10.1.3/opmn/default_group~oafm~default_group~1.log
$LOG_HOME/ora/10.1.3/opmn/oafm_default_group_1/oafmstd.out
$LOG_HOME/ora/10.1.3/opmn/oafm_default_group_1/oafmstd.err
$LOG_HOME/appl/admin/log/adoafmctl.txt
2017-09-14_111520

2017-09-14_111850

Issue resolved after doing below actions:

Clear the TLD cache:

  1. Stop all middle tier services
  2. Delete/backup all the files under directory:

$COMMON_TOP/_TldCache
$ORA_CONFIG_HOME/10.1.3/j2ee/oafm/persistence

cd $COMMON_TOP
mv $COMMON_TOP/_TldCache /home/applprd/oafm_log_backup041116/

  1.      cd $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/
    mv persistence /home/applprd/oafm_log_backup041116/

3. start all middle tier services

cd $ADMIN_SCRIPTS_HOME
$ adoafmctl.sh stop
$ adoafmctl.sh start
$ adoacorectl.sh stop
$ adoacorectl.sh start

$ adopmnctl.sh status” You should see all as “Alive”

Advertisements