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

2016-02-26 Thread Rafael Benevides (JIRA)

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

Rafael Benevides commented on DELTASPIKE-1086:
--

Do you have a zip file to provide with the code example ?

> 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("a");
>   }
> }
> Any help is welcome.
> PS: This code on Jboss EAP works



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


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

2016-02-26 Thread JIRA

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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("a");
>   }
> }
> Any help is welcome.
> PS: This code on Jboss EAP works



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


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

2016-02-26 Thread JIRA

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

Ícaro Goulart Faria Motta França commented on DELTASPIKE-1086:
--

My pom.xml with dependencies:

  

UTF-8


10.0.0.Final



1.0.2.Final


2.6

1.5.3


1.8
1.8





org.wildfly.bom

wildfly-javaee7-with-tools
${version.jboss.bom}
pom
import


org.hibernate.ogm
hibernate-ogm-bom
pom
5.0.0.Beta1
import








io.jsonwebtoken
jjwt
0.6.0



org.apache.deltaspike.modules
deltaspike-scheduler-module-api
${deltaspike.version}
compile



org.apache.deltaspike.modules

deltaspike-scheduler-module-impl
${deltaspike.version}
runtime



org.apache.deltaspike.cdictrl
deltaspike-cdictrl-api
${deltaspike.version}
compile



org.apache.deltaspike.cdictrl
deltaspike-cdictrl-weld
${deltaspike.version}
runtime



org.quartz-scheduler
quartz
2.2.2
provided





org.jboss.logging
jboss-logging
provided



com.fasterxml.jackson.core
jackson-core
provided



com.fasterxml.jackson.core
jackson-annotations
provided



org.hibernate.ogm
hibernate-ogm-mongodb
provided



org.jboss.spec.javax.transaction
jboss-transaction-api_1.2_spec
provided




javax.enterprise
cdi-api
provided




org.jboss.spec.javax.annotation
jboss-annotations-api_1.2_spec
provided



org.jboss.spec.javax.servlet
jboss-servlet-api_3.1_spec
provided





org.jboss.spec.javax.ws.rs
jboss-jaxrs-api_2.0_spec
provided




org.hibernate.javax.persistence
hibernate-jpa-2.1-api
provided




org.jboss.spec.javax.ejb
jboss-ejb-api_3.2_spec
provided



org.jboss.ejb3
jboss-ejb3-ext-api
2.2.0.Final
provided






org.hibernate
hibernate-validator
provided


org.slf4j
slf4j-api






org.jboss.spec.javax.faces

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

2016-02-26 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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("a");
>   }
> }
> Any help is welcome.
> PS: This code on Jboss EAP works



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