Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1086

DeltaSpike @Scheduled does not firing on Wildfly 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.5.2, 1.5.3
    • None
    • Scheduler
    • Wildfly 10 + quarts 2.2.2

    Description

      http://stackoverflow.com/questions/35637609/deltaspike-scheduled-does-not-firing

      My job annotated with @Scheduled does not fire the task. I am using Wildfly 10

      deltaspike-scheduler-module 1.5.3

      quartz 2.2.2

      Quartz alone works fine.

      My actual code problem:

      @Scheduled(cronExpression = "0 * * * * ?")
      public class CronTask implements Job{

      static public final Logger log = Logger.getLogger(CronTask.class.getName());

      @Override
      public void execute(JobExecutionContext arg0) throws JobExecutionException

      { log.info("Run"); System.out.println("aaaaa"); }

      }
      Any help is welcome.

      PS: This code on Jboss EAP works

      Attachments

        Activity

          People

            rafabene Rafael Benevides
            icarogoulart@yahoo.com.br Ícaro Goulart Faria Motta França
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified