Varun Nagpal created SLING-4047:
-----------------------------------

             Summary: Unable to schedule jobs using JobManager
                 Key: SLING-4047
                 URL: https://issues.apache.org/jira/browse/SLING-4047
             Project: Sling
          Issue Type: Bug
          Components: Engine
    Affects Versions: Event 3.3.14
            Reporter: Varun Nagpal
            Priority: Blocker
             Fix For: Event 3.3.16


I am unable to schedule Sling jobs using 
jobManager.createJob("topic").schedule().cron(cronExp).add()

Getting the following exception in logs 
{quote}
java.lang.NoClassDefFoundError: org/quartz/ValueSet
        at org.quartz.CronExpression.getValue(CronExpression.java:1121)
        at 
org.quartz.CronExpression.storeExpressionVals(CronExpression.java:699)
        at org.quartz.CronExpression.buildExpression(CronExpression.java:487)
        at org.quartz.CronExpression.<init>(CronExpression.java:276)
        at 
org.apache.sling.event.impl.support.ScheduleInfoImpl.check(ScheduleInfoImpl.java:304)
        at 
org.apache.sling.event.impl.jobs.JobManagerImpl.addScheduledJob(JobManagerImpl.java:1597)
        at 
org.apache.sling.event.impl.jobs.JobBuilderImpl$ScheduleBuilderImpl.add(JobBuilderImpl.java:135)
        at 
org.apache.sling.event.impl.jobs.JobBuilderImpl$ScheduleBuilderImpl.add(JobBuilderImpl.java:130)
{quote}



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

Reply via email to