Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OIM Scheduler. Failure occured during job recovery. Couldn't recover jobs: null

Empi3_INNDec 11 2014 — edited Dec 18 2014

Since yesterday OIM's scheduler fails to startup after a restart due to some exception during job recovery.

probably because of some some job being deleted.

It runs no prob after a manual start from http://oimhost:oimport/SchedulerService-web/

Is there any way to stop the scheduler from trying to recover that null job?

[2014-12-11T15:55:54.232+01:00] [wls_oim1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b59cd6e322edf8f3:-6993ee2a:14a39d436e6:-8000-0000000000000004,0] [APP: oim#11.1.2.0.0] Failed to execute handler[[

oracle.iam.scheduler.exception.SchedulerException: Scheduler exception encountered.

    at oracle.iam.scheduler.impl.quartz.QuartzSchedulerImpl.start(QuartzSchedulerImpl.java:835)

    at oracle.iam.scheduler.impl.quartz.CustomActionHandler.executeImpl(CustomActionHandler.java:187)

... cut

Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Couldn't recover jobs: null [See nested exception: java.lang.NullPointerException]]

    at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:575)

    at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:449)

    at org.quartz.impl.StdScheduler.start(StdScheduler.java:146)

    at oracle.iam.scheduler.impl.quartz.QuartzSchedulerImpl.start(QuartzSchedulerImpl.java:821)

    ... 145 more

Caused by: org.quartz.JobPersistenceException: Couldn't recover jobs: null [See nested exception: java.lang.NullPointerException]

    at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:816)

    at org.quartz.impl.jdbcjobstore.JobStoreSupport$2.execute(JobStoreSupport.java:752)

... cut

Caused by: java.lang.NullPointerException

    at org.quartz.SimpleTrigger.computeNumTimesFiredBetween(SimpleTrigger.java:800)

    at org.quartz.SimpleTrigger.updateAfterMisfire(SimpleTrigger.java:514)

    at org.quartz.impl.jdbcjobstore.JobStoreSupport.doUpdateOfMisfiredTrigger(JobStoreSupport.java:944)

    at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:898)

... cut

]]

edit: before the exception gets thrown:

[2014-12-12T13:50:05.137+01:00] [wls_oim1] [NOTIFICATION] [] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b59cd6e322edf8f3:48344619:14a3e87ad50:-8000-0000000000000004,0] [APP: oim#11.1.2.0.0] Kernel executing default validation with process id, event id, entity and operation 42,799.0.JobDetails.START_SCHEDULER

[2014-12-12T13:50:05.297+01:00] [wls_oim1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b59cd6e322edf8f3:48344619:14a3e87ad50:-8000-0000000000000004,0] [APP: oim#11.1.2.0.0] Execute default action handler with 42799.214452.JobDetails.START_SCHEDULER.entityId=null

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 15 2015
Added on Dec 11 2014
5 comments
2,763 views