--
Romain Pellerin | Founder - CEO
1 rue Fleming - 17000 La Rochelle | www.ubidreams.com
Phone (France): +33 (0) 516 490 484 (office) | +33 (0) 689 289 580 (mobile)
Phone (US): +1 (415) 680 4311 (mobile)
Founder & Mentor NANOKO open source project | www.nanoko.org
Blog | Linkedin | Google+ | Twitter | ID Skype: rom1_ubidreams
--
You received this message because you are subscribed to the Google Groups "wisdom-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wisdom-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/wisdom-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/dbf65c6f-9fe5-4f64-bf0a-594c6b1069a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY MISFIRE_INSTRUCTION_DO_NOTHING MISFIRE_INSTRUCTION_FIRE_NOW
Hi Romain,Thank you for your reply, i hesitate betwen use Quartz and use ScheduledExecutorService with java 8 and new DateTime API.
To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/46d643f4-88db-4978-819b-3e2ce1787508%40googlegroups.com.
Hi Clément,About your first issue, it's not a real problem for me ;) I will ensure to have the right time zone.On the other side the second one is a real problem ! indeed, missed occurences must be considered as "has to be executed ASAP". although Quartz handles misfire events with these instructions:MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY MISFIRE_INSTRUCTION_DO_NOTHING MISFIRE_INSTRUCTION_FIRE_NOWMy choice will go to FIRE_NOW instruction.
What do you think about using Quartz inside controllers ?
--Thanks
Le jeudi 9 avril 2015 07:14:03 UTC+2, clement escoffier a écrit :Hi,Couple of days ago, I wonder about adding this feature. I still did not make a decision. Fixed time scheduled like you want exhibits a couple of issues:* obviously the time zones - the server does not necessary have the same time zone as you, so it can lead to unexpected behavior* dynamism - imagine that the task needs to be executed every day at 8, but a 7:59 it becomes invalid (a requiring service becomes unavailable), and become valid again at 8:01. do you need to execute the task ? So do you consider "close" missed occurrences as "has to be executed ASAP" ?If we ignore those two issues, we could use jcron parser and bind it to the Wisdom thread pool.Cheers,Clement2015-04-08 23:21 GMT+02:00 jihad mejdoub <mej...@gmail.com>:Hi all,--I want to schedule my task every monday at 8:00 ! wisdom allow cron expressions or i must use third-party library such as Quartz ?thanks
You received this message because you are subscribed to the Google Groups "wisdom-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wisdom-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/wisdom-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/dbf65c6f-9fe5-4f64-bf0a-594c6b1069a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wisdom-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wisdom-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/wisdom-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/6ff5ddcf-57bd-409e-bccf-0d9140c1051f%40googlegroups.com.
18:09:13.721 4308 [main] ERROR o.o.c.c.activators.BundleDeployer - Error during the starting of fr.astek.penseAsteKroissants.coreorg.osgi.framework.BundleException: Unresolved constraint in bundle fr.astek.penseAsteKroissants.core [61]: Unable to resolve 61.0: missing requirement [61.0] osgi.wiring.package; (&(osgi.wiring.package=org.quartz.impl)(version>=2.2.0)(!(version>=3.0.0))) [caused by: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.package; (osgi.wiring.package=com.mchange.v2.c3p0)] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) ~[org.apache.felix.framework-4.4.1.jar:na] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) ~[org.apache.felix.framework-4.4.1.jar:na] at org.ow2.chameleon.core.activators.BundleDeployer.open(BundleDeployer.java:192) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.DirectoryMonitor.addingService(DirectoryMonitor.java:238) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.DirectoryMonitor.addingService(DirectoryMonitor.java:52) [chameleon-core-1.10.6.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894) [org.apache.felix.framework-4.4.1.jar:na] at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.registerService(Felix.java:3431) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:353) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.BundleDeployer.start(BundleDeployer.java:80) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.utils.FrameworkManager.start(FrameworkManager.java:117) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.Chameleon.start(Chameleon.java:257) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.Main.main(Main.java:70) [chameleon-core-1.10.6.jar:na]18:09:13.801 4388 [main] ERROR o.o.c.c.activators.BundleDeployer - Error during the starting of org.quartz-scheduler.quartzorg.osgi.framework.BundleException: Unresolved constraint in bundle org.quartz-scheduler.quartz [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.package; (osgi.wiring.package=com.mchange.v2.c3p0) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) ~[org.apache.felix.framework-4.4.1.jar:na] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) ~[org.apache.felix.framework-4.4.1.jar:na] at org.ow2.chameleon.core.activators.BundleDeployer.open(BundleDeployer.java:192) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.DirectoryMonitor.addingService(DirectoryMonitor.java:238) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.DirectoryMonitor.addingService(DirectoryMonitor.java:52) [chameleon-core-1.10.6.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.apache.felix.framework-4.4.1.jar:na] at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894) [org.apache.felix.framework-4.4.1.jar:na] at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.Felix.registerService(Felix.java:3431) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) [chameleon-core-1.10.6.jar:na] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:353) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.activators.BundleDeployer.start(BundleDeployer.java:80) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.utils.FrameworkManager.start(FrameworkManager.java:117) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.Chameleon.start(Chameleon.java:257) [chameleon-core-1.10.6.jar:na] at org.ow2.chameleon.core.Main.main(Main.java:70) [chameleon-core-1.10.6.jar:na]To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/a4214c12-0aeb-4f09-974d-9ee286996aee%40googlegroups.com.
[WARNING] Unused Import-Package instructions: [com.mchange*]
To view this discussion on the web visit https://groups.google.com/d/msgid/wisdom-discuss/8fdcbf73-1bcc-403c-b809-b12744f8f89d%40googlegroups.com.