3 Replies Latest reply on May 17, 2006 6:36 AM by Dimitris Andreadis

    Problem with Emmiter / Listener

    misge Newbie

      Hello everybody,
      i got a failure concerning the NotificationEmitter and ListenerServiceMBeanSupport.

      My CPULoad MBean implements the NotificationEmitter Interface and i have also override the NotificationBroadcaster interface methods.

      My listener is the SnmpAgentTeam which extends the ListenerServiceMBeanSupport and overrides the handleNotification2 method.

      At the desctiptor of the SnmpAgentTeam i have the following
      <subscription-list>
      <mbean name=\"mybean.test:name=CPULoad\">
      <notification type=\".1.3.6.1.4.1.1807.500.7.2.0\"/>

      </subscription-list>

      When i deploy i'm recieving the following error:
      Failed to subscribe to: 'mybean.test:name=CPULoad', maybe not a notification broadcaster or: 'mybean.teamm:name=SnmpAgentTeam', maybe not a notification listener