Hi Folks,
I really need your help. and Please help. Thank you.
I read this link
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanNonMBeansReceiveJMXNotifications
At the bottom of tht link, there is a line saying
" any component (e.g. a servlet) that can get hold of the MBeanServer can potentially subscribe for notifications"
I am confused.
Because the MBean is in sar. the Servlet is a listener in war.
In my servlet, I do
server.addNotificationListener(objectName, this, null, null );
But looks like the listener (servlet ) also should be in SAR.
How to solve this conflict.
Please help me out. Thank you very much.
Chwang