Unable to Start OPMN Managed Process (Doc ID 331969.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Fusion Middleware - Version 9.0.4.0.0 to 10.1.2.0.0 [Release AS10g to AS10gR2]
Oracle Containers for J2EE - Version 9.0.4.1.0 to 10.1.2.3.0 [Release AS10g to AS10gR2]
Information in this document applies to any platform.
Oracle Application Server 10g Enterprise Edition - Version: 9.0.4 to 10.1.2.3
***Checked for relevance on 24-Feb-2015***


Symptoms

An OPMN managed process, such as an OC4J instance,  isn't available and can't be stopped or started using "opmn" commands. "opmnctl status -l" shows the process as always being in a status of "Stop" and the functionality of the managed process isn't available. The ipm.log shows that OPMN is constantly trying to stop but never start the managed process.

For example, the OC4J_SECURITY isn't available and accessing SSO related pages from the browser results in the following error being returned to the browser:

Internal Server Error
=====================
The server encountered an internal error or misconfiguration
and was unable to  complete your request. Please contact the
server administrator, you@your.address and inform them of the
time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server
error log.

The "opmnctl status" command shows:

 

% opmnctl status Processes in Instance: myas_infra.myhost.myfdomain.com -------------------+--------------------+-------+--------- ias-component      | process-type       |   pid | status -------------------+--------------------+-------+--------- OID                | OID                |  7504 | Alive HTTP_Server        | HTTP_Server        |  7500 | Alive OC4J               | OC4J_SECURITY      | 18297 | Stop
dcm-daemon         | dcm-daemon         | 24676 | Alive
LogLoader          | logloaderd         |   N/A | Down

The OC4J log for the OC4J_SECURITY instance (i.e. located at ${ORACLE_HOME}/opmn/logs) shows:

Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.Authentication
Exception:Invalid username/password for default (admin); nested exception is:
javax.naming.AuthenticationException: Invalid username/password for default (admin)
com.evermind.client.orion.AdminCommandException: Unable to find java:comp/ServerAdministrator:
Lookup error: javax.naming.

 The "ipm.log" (located at ${ORACLE_HOME}/opmn/logs) shows:

05/08/08 11:53:54 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 11:53:54 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 11:57:54 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 11:57:54 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 12:03:54 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 12:03:54 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
05/08/08 12:11:54 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (82772520:18297)
...

Changes

The server may have failed and rebooted unexpectedly resulting in all the OPMN managed processes that were running before the server crash having died abnormally.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms