adoacorectl.sh: exiting with status 150

Error:

Starting and stopping oacore giving error.

[applmgr@ebs122 scripts]$ adoacorectl.sh stop
You are running adoacorectl.sh version 120.13
Stopping OPMN managed OACORE OC4J instance ...

adoacorectl.sh: exiting with status 150

Solution :

stop all R12 services
 
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence/*
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/persistence/*
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/forms/persistence/*
 
start all service again (Start the oc4j using opmnctl startall)

If you like please follow and comment