-
1. Re: JRMPInvoker need to implement NotificationBroadcaster
ivelin.ivanov Jul 3, 2004 3:55 PM (in response to lretief)Take a look at it.
Ivelin -
2. Re: JRMPInvoker need to implement NotificationBroadcaster
lretief Jul 5, 2004 10:17 PM (in response to lretief)I have submitted a patch. I now notice a similar problem with RMIClassLoader. Can I go ahead there as well?
Caused by: java.lang.IllegalArgumentException: The MBean jboss.rmi:type=RMIClassLoader exists but does not implement the NotificationBroadcaster interface.
... 62 more -
3. Re: JRMPInvoker need to implement NotificationBroadcaster
starksm64 Jul 5, 2004 11:01 PM (in response to lretief)Thanks for looking, but the patch is not valid and making other mbeans implement NotificationBroadcaster is not the way to address the exception. The real problem is that the org.jboss.management.j2ee.MBean class only registers for notification on mbeans that implement javax.management.NotificationBroadcaster, but it unconditionally tries to unregister on all mbeans. The type of exception must have changed such that the current MBean.preDestruction try/catch block is incorrect. The correct change is only to unregister with those mbeans previously the MBean code register as a listener of.
-
4. Re: JRMPInvoker need to implement NotificationBroadcaster
lretief Jul 6, 2004 3:21 AM (in response to lretief)Ah... I thought something like this was probably going on behind the scenes. Is someone working on org.jboss.management.j2ee.MBean or can I have a bash at that?
-
5. Re: JRMPInvoker need to implement NotificationBroadcaster
starksm64 Jul 6, 2004 8:50 AM (in response to lretief)Yes, see if you can track whether the associated jbossServiceName did support NotificationBroadcaster and only remove the listener if it was added.