[ http://jira.jboss.com/jira/browse/JBJMX-26?page=history ] Tom Elrod closed JBJMX-26: ---------------------------
Resolution: Out of Date This code is no longer contained within JBoss source (and has not been for over a year). > CascadingAgent problems: remote unregistration & listener > --------------------------------------------------------- > > Key: JBJMX-26 > URL: http://jira.jboss.com/jira/browse/JBJMX-26 > Project: JBoss JMX > Type: Bug > Reporter: SourceForge User > Assignee: Tom Elrod > > > SourceForge Submitter: gwojnaro . > 1. Remote unregistration not cascaded locally. > When remote MBean is unregistered its proxy is still > registered locally. > Class CascadingAgent Revision: 1.13 > Suggestion (???): > In class CascadingAgent, method findMBean(Connector > con, ObjectName remoteObjectName), line 619 > instead of: mbean.localName.equals(remoteObjectName) > should be: mbean.remoteName.equals > (remoteObjectName) > 2. Can not register listener on remote MBean > Created proxy never implements NotificationBroadcaster > Class CascadingAgent Revision: 1.13 > Suggestion (fast solution): > In class CascadingAgent, method registerMBean > (Connector con, ObjectName ro), line 487 > you can always add NotificationBroadcaster.class to the > list of interfaces: > mbean.mbean = (DynamicMBean) > Proxy.newProxyInstance(Thread.currentThread > ().getContextClassLoader(), new Class[] > {ProxyContext.class, > DynamicMBean.class, NotificationBroadcaster.class}, > new NotificationJMXInvocationHandler(con.server, > ro)); > If remote MBean is not NotificationBroadcaster then > remote sever should throw exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development