My Oracle Support Banner

Error Occurred in RequiredModelMBean While Trying to Invoke Operation TestConnection (Doc ID 1144815.1)

Last updated on SEPTEMBER 11, 2023

Applies to:

Oracle Containers for J2EE - Version 10.1.3.5.0 and later
Linux x86-64

Symptoms

Environment:

While performing JDBC connectivity test from Enterprise Manager (EM), the following error is displayed:

An error has occurred.Error invoking method: testDatabaseConnection on MBean:
oc4j:j2eeType=J2EEApplication,name=default,J2EEServer=standalone
Error invoking method: testDatabaseConnection on MBean: oc4j:j2eeType=J2EEApplication,name=default,J2EEServer=standalone

Connectivity with JDBC thin driver works fine.


On expanding the error stack shows:

oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error invoking method: testDatabaseConnection on MBean: oc4j:j2eeType=J2EEApplication,name=default,J2EEServer=standalone
at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.invoke(SimpleInstanceMBeanServerDelegate.java:970)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
at oracle.sysman.ias.studio.sdk.SDKJMXUtil.invokeOperation(SDKJMXUtil.java:413)

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
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.