My Oracle Support Banner

RuntimeException Connecting to the Container from an OC4J Startup Class Using JMX (Doc ID 761274.1)

Last updated on OCTOBER 12, 2020

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.4.0 [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

When using a JMX service URL as follows from an OC4J startup class the following error occurs at startup time in the OPMN log file.

URL:

private String url =
    "service:jmx:ormi:///opmn://<host>:6003/xxxx_server";


Runtime Error:

--------
09/01/14 15:26:54 Start process
--------
09/01/14 15:27:29 java.lang.RuntimeException: No OC4J process up for AS instance identified by
domain: opmn-xxxx_server+oc4j-<host>-6003-default
09/01/14 15:27:29   at
oracle.oc4j.admin.jmx.shared.Oc4jOpmnRmiDomain.getPort(Oc4jOpmnRmiDomain.java:344)
09/01/14 15:27:29   at oracle.oc4j.admin.jmx.shared.Oc4jRmiDomain.getRmiPort(Oc4jRmiDomain.java:119)
09/01/14 15:27:29   at
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:433)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.