[
https://issues.apache.org/jira/browse/DELTASPIKE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169603#comment-15169603
]
Ícaro Goulart Faria Motta França commented on DELTASPIKE-1086:
--------------------------------------------------------------
I add my pom.xml below.
The Rafael example has others DeltaSpike dependencies. But I put the basic to
run Schedule and CDI.
> 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)