6 Replies Latest reply on Feb 21, 2003 3:22 PM by Josephine Schwabel

    Scheduler not working

    sridhar mandava Newbie

      Hi,

      I am getting an error message when I start the jboss with the scheduler I have.

      the error is::
      ____
      [Configuration] Could not create MBean :service=Scheduler(org.jboss.util.Schedul
      er)
      [Configuration] java.security.InvalidParameterException: Given class org.jboss.u
      til.Scheduler$ScheduledDataRemover is not valid or not found
      [Configuration] at org.jboss.util.Scheduler.setSchedulableClass(Schedule
      r.java:351)
      [Configuration] at org.jboss.util.Scheduler.(Scheduler.java:120)
      [Configuration] at java.lang.reflect.Constructor.newInstance(Native Meth
      od)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.internal_insta
      ntiate(MBeanServerImpl.java:2210)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.createMBean(MB
      eanServerImpl.java:761)
      [Configuration] at org.jboss.configuration.ConfigurationService.create(C
      onfigurationService.java:579)
      [Configuration] at org.jboss.configuration.ConfigurationService.loadConf
      iguration(ConfigurationService.java:381)
      [Configuration] at java.lang.reflect.Method.invoke(Native Method)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1628)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [Configuration] at org.jboss.Main.(Main.java:213)
      [Configuration] at org.jboss.Main$1.run(Main.java:127)
      [Configuration] at java.security.AccessController.doPrivileged(Native Me
      thod)
      [Configuration] at org.jboss.Main.main(Main.java:123)

      ____

      I am using JBoss2.4.3
      the mbean element I have added to jboss.jcml is













      If I use the example given in docs that is working fine.

      thanks in advance..

      -Sridhar Mandava