WLS 10.3: MBeanServerConnection RemoveNotificationListener Returns ListenerNotFoundException (Doc ID 1157105.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

The Customer has successfully registered a NotificationListener via MBeanServerConnection. The registered Notification Listener is able to receive JMX notifications. However, when they tried to remove the listener via MBeanServerConnection, received following exception:

javax.management.ListenerNotFoundException: Listener not found
at com.sun.jmx.remote.internal.ClientNotifForwarder.removeNotificationListener(ClientNotifForwarder.java:221)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.removeNotificationListener(RMIConnector.java:1252)
at com.ups.monitoring.jmx.ListenerRegistrar.unregisterListener(ListenerRegistrar.java:61)

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