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

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.4.0
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://localhost:6003/sicc_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-sicc_server+oc4j-localhost-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.j
ava:433)

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