0 Replies Latest reply on Apr 28, 2004 7:38 AM by srini

    EJB Timer Service

    srini

      i have created a timer and deployed in JBoss 4.0DR3. After the ejbTimeout method was called i got the following exception on the console.
      do i need to do any configuration in jboss-service.xml also.

      17:39:06,112 ERROR [ScheduleManager$MBeanListener] Handling a Scheduler call failed
      javax.management.ListenerNotFoundException: Listener not found org.jboss.varia.scheduler.ScheduleManager$MBeanListener@61100c for object name jboss:service=Timer
      at org.jboss.mx.notification.MBeanServerListenerRegistry.remove(MBeanServerListenerRegistry.java:139)
      at org.jboss.mx.server.MBeanServerImpl.removeNotificationListener(MBeanServerImpl.java:603)
      at org.jboss.varia.scheduler.ScheduleManager$ScheduleInstance.stop(ScheduleManager.java:835)
      at org.jboss.varia.scheduler.ScheduleManager$MBeanListener.handleNotification(ScheduleManager.java:612)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
      at $Proxy9.handleNotification(Unknown Source)
      at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98)
      at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:83)
      at javax.management.timer.Timer.sendNotifications(Timer.java:496)
      at javax.management.timer.Timer.access$100(Timer.java:32)
      at javax.management.timer.Timer$RegisteredNotification.doRun(Timer.java:666)
      at org.jboss.mx.util.SchedulableRunnable.run(SchedulableRunnable.java:175)
      at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:238)

      Regds
      srini