My Oracle Support Banner

OSB Monitor Tool java.lang.ClassNotFoundException (Doc ID 2293846.1)

Last updated on AUGUST 08, 2023

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


We are facing an issue while generating the OSB Monitor tool.

OSB Monitor Tool:::It is a JAVA program which uses JMX APIs to obtain statistics information from last reset for monitored services. The statistical data like success rate, failure rate, message count, error message count, Interval time, max time, and min time, no of SLA and Pipeline alerts for each service is obtained.

Issue:: While running the code in Jdeveloper, we are getting java.lang.ClassNotFoundException.

Retrieving statistics for all monitoredbusiness services.
Failed to retrieve and reset statistics for all monitored business services...
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.bea.wli.monitoring.DelegatedServiceDomainMBean
  at tests.monitoring.ServiceStatisticsRetriever$ServiceDomainMBeanInvocationHandler.findServiceDomain(
  at tests.monitoring.ServiceStatisticsRetriever$ServiceDomainMBeanInvocationHandler.invoke(
  at com.sun.proxy.$Proxy0.getMonitoredRefs(Unknown Source)

Here are the jars that we have added in the Library and Classpath of the JAVA::

oracle.servicebus.configfwk.jar (<OSB_HOME>\ osb\lib\modules) (<OSB_HOME>\ wlserver\modules) (<OSB_HOME>\ wlserver\modules)
weblogic.jar (<OSB_HOME>\wlserver\server\lib)
wljmxclient.jar (<OSB_HOME>\wlserver\server\lib)
servicebus (<OSB_HOME>\osb\lib)
oracle.servicebus.kernel-api.jar(<OSB_HOME>\ osb\lib\modules)




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

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