2 Replies Latest reply on Oct 7, 2005 11:47 PM by sandhya basivi

    NoSuch method error when deploying SchedularBean

    sandhya basivi Newbie

      16:51:46,288 ERROR [Scheduler] Could not find the constructor or create Schedulable instance
      java.lang.NoSuchMethodException: com.vai.cms.ejb.message.SchedulableLIBean.(java.lang.String, int)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.getConstructor(Unknown Source)
      at org.jboss.varia.scheduler.Scheduler.startSchedule(Scheduler.java:294)

      at org.jboss.varia.scheduler.Scheduler.startService(Scheduler.java:1157)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB


      what is method
      i used schedulable interface and implemented perform method
      and here is my deployment service.xml



      true
      com.vai.cms.ejb.message.SchedulableLIBean
      SchedulabeTest,12345
      java.lang.String,int
      NOW
      2000
      -1
      jboss:service=Naming