You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Ícaro Goulart Faria Motta França (JIRA)" <ji...@apache.org> on 2016/02/26 13:24:18 UTC
[jira] [Created] (DELTASPIKE-1086) DeltaSpike @Scheduled does not
firing on Wildfly 10
Ícaro Goulart Faria Motta França created DELTASPIKE-1086:
------------------------------------------------------------
Summary: 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.3, 1.5.2
Environment: Wildfly 10 + quarts 2.2.2
Reporter: Ícaro Goulart Faria Motta França
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)