Monday 13 January 2014

OC4J Components exiting with status 204,3 and 150


R12-oafm, forms and oacore exiting with status 204, status 3 and status 150 after IP address change:

Recently, I had gone through a problem while, I changed the server IP and started the oracle application with adstrtal.sh script.

adstrtal.sh: Exiting with status 3 and adoafmctl.sh: exiting with status 204

Solution to fix this issue:

Problem: IP address is present in OC4J lock files, Once IP address is changed - lock files contain the wrong IP address which causes the problem to fail OC4J.

Steps to be followed to exit with 0:

  1. Open a new session and set the environment with apps user.
  2. Go to $ADMIN_SCRIPTS_HOME ( cd $INST_TOP/ADMIN/SCRIPTS)
  3. adopmnctl.sh stop
  4. Verify the staus once: ps -ef grep grep opmn
  5. Delete the persistence directory with below commands:
  • rm -r $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
  • rm -r $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
  • rm -r $INST_TOP/ora/10.1.3/j2ee/forms/persistence/* 
  1. adopmnctl.sh start
  2. Check if the issue has been resolved: adapcctl.sh status



No comments:

Post a Comment