I try to ues quartz to schedule jobs. i find out that I can pass same date by JobDataMap.
But I get below error. So how to pass some data to quartz in atlassian?
[INFO] [talledLocalContainer] java.lang.UnsupportedOperationException: Atlassian Scheduler does not support the persistence of a Job Data Map [INFO] [talledLocalContainer] at com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:283) [INFO] [talledLocalContainer] at com.atlassian.scheduler.OfBizJobStore.storeJob(OfBizJobStore.java:246) [INFO] [talledLocalContainer] at com.atlassian.scheduler.OfBizJobStore.storeJobAndTrigger(OfBizJobStore.java:239) [INFO] [talledLocalContainer] at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:613) [INFO] [talledLocalContainer] at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)
It was beacuse of wrong version of quartz in repozytory (1.5.1) on jira server. I have to add to pom.xml:
<dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>1.8.0</version> </dependency>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.