You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2016/02/26 20:01:18 UTC

[jira] [Commented] (DELTASPIKE-1086) DeltaSpike @Scheduled does not firing on Wildfly 10

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169554#comment-15169554 ] 

Gerhard Petracek commented on DELTASPIKE-1086:
----------------------------------------------

please compare your application with the demo provided by [~rafabene]

> DeltaSpike @Scheduled does not firing on Wildfly 10
> ---------------------------------------------------
>
>                 Key: DELTASPIKE-1086
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1086
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Scheduler
>    Affects Versions: 1.5.2, 1.5.3
>         Environment: Wildfly 10 + quarts 2.2.2
>            Reporter: Ícaro Goulart Faria Motta França
>            Assignee: Rafael Benevides
>              Labels: easyfix
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)