[ mx4j-Bugs-1335777 ] Could not re-add listener when MBean is unregistered

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1335777, was opened at 2005-10-23 23:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1335777&group_id=47745

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: JSR 160 Implementation
Group: Release 3.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Simone Bordet (simonebordet)
Assigned to: Simone Bordet (simonebordet)
Summary: Could not re-add listener when MBean is unregistered

Initial Comment:
As reported by Jens Rottgardt, it is not possible to
re-add a NotificationListener to an
MBeanServerConnection obtained from a JMXConnector.
His particular case involved RMI, but that is true for
HTTP based connectors as well.
The problem lies in the fact that exceptions are not
handled correctly in the implementations of the
MBeanServerConnection interface (e.g.
HTTPConnectionMBeanServerConnection): when
connection.removeNotificationListener() throws an
exception, the listeners are not removed from the
notification handler.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1335777&group_id=47745


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.