[jboss-user] [Management, JMX/JBoss] - Re: Problem with notification filter?

java123 do-not-reply at jboss.com
Wed Oct 25 09:05:58 EDT 2006


I have corrected the spelling mistake and still getting notifications from JMImplementation:type=MBeanServerDelegate with type = JMX.mbean.registered. I also tried with filter:

<filter factory="NotificationFilterSupportFactory">
  | 		         <enable type="JMX.mbean.registered"/>
  | 		         <enable type="JMX.mbean.unregistered"/>
  | 		      </filter>
Here is the config:

  | <mbean code="com.bfm.app.monitoring.ViewserverJMXNotificationHandler" 
  |           name="jboss.monitor:service=ViewserverMonitoring" >
  |       <attribute name="SubscriptionList">
  |          <subscription-list>
  |             <mbean name="jboss.monitor:service=MemoryMonitor">
  |                <notification type="jboss.alarm.memory"/>           
  |             </mbean>
  |             <mbean name="jboss.monitor:service=JDBCMonitor">
  |                <notification type="jboss.notification.jdbc"/>
  |             </mbean>
  |             <mbean name="jboss.system:service=Logging,type=JMXNotificationAppender">
  |                <notification type="jboss.notification.logging"/> 
  |             </mbean>
  |             <mbean name="JMImplementation:type=MBeanServerDelegate">
  | 		      <filter factory="NotificationFilterSupportFactory">
  | 		         <enable type="JMX.mbean.registered"/>
  | 		         <enable type="JMX.mbean.unregistered"/>
  | 		      </filter>
  | 		   </mbean>
  |          </subscription-list>
  |       </attribute>
  |    </mbean>
  |     

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980695#3980695

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980695



More information about the jboss-user mailing list