ClassNotFoundException occurs when running the JMX Monitoring API sample program from WLST (Doc ID 2104770.1)

Last updated on SEPTEMBER 29, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.9.0 to 12.2.1.0.0
Information in this document applies to any platform.

Symptoms

The documentation describes the necessary JAR files to use the JMX Monitoring API from WLST. however, even if they were set in the classpath, it returns the ClassNotFoundException at runtime. 

11.1.1.9:
D.3.1 Sample Program
http://docs.oracle.com/middleware/11119/osb/administer/app_jmx_monitoring.htm#OSBAG770

12.1.3:
A.3.1 Sample Program
http://docs.oracle.com/middleware/1213/osb/administer/GUID-375273AC-15EC-46BC-97CC-EC7D43D80872.htm#OSBAG2419

12.2.1:
A.3.1 Sample Program
http://docs.oracle.com/middleware/1221/osb/administer/GUID-375273AC-15EC-46BC-97CC-EC7D43D80872.htm#OSBAG2419

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