AnsweredAssumed Answered

scheduledPublishUpdatesJobDetail threw an unhandled Exception:

Question asked by sscbrian on Aug 5, 2015
Latest reply on Aug 7, 2015 by to-nee-t
I'm getting the following error in the logs from one of our Alfresco servers:


ERROR [org.quartz.core.JobRunShell] [DefaultScheduler_Worker-7] Job DEFAULT.scheduledPublishUpdatesJobDetail threw an unhandled Exception:
org.alfresco.repo.lock.LockAcquisitionException: 06240137 Failed to release lock '{http://www.alfresco.org/model/system/1.0}publishupdates' using token '89fcce33-64ce-499b-91db-92a579f0ca67'.  The lock has expired and been taken by another process.
   at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:237)
   at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:175)
   at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:431)
   at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
   at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:434)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob$1.doWork(RecordsManagementJob.java:111)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob$1.doWork(RecordsManagementJob.java:97)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob.execute(RecordsManagementJob.java:96)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
13:06:50,716 ERROR [org.quartz.core.ErrorLogger] [DefaultScheduler_Worker-7] Job (DEFAULT.scheduledPublishUpdatesJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.lock.LockAcquisitionException: 06240137 Failed to release lock '{http://www.alfresco.org/model/system/1.0}publishupdates' using token '89fcce33-64ce-499b-91db-92a579f0ca67'.  The lock has expired and been taken by another process.]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.repo.lock.LockAcquisitionException: 06240137 Failed to release lock '{http://www.alfresco.org/model/system/1.0}publishupdates' using token '89fcce33-64ce-499b-91db-92a579f0ca67'.  The lock has expired and been taken by another process.
   at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.updateLocks(AbstractLockDAOImpl.java:237)
   at org.alfresco.repo.domain.locks.AbstractLockDAOImpl.releaseLock(AbstractLockDAOImpl.java:175)
   at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:431)
   at org.alfresco.repo.lock.JobLockServiceImpl$3.execute(JobLockServiceImpl.java:428)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
   at org.alfresco.repo.lock.JobLockServiceImpl.releaseLock(JobLockServiceImpl.java:434)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob$1.doWork(RecordsManagementJob.java:111)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob$1.doWork(RecordsManagementJob.java:97)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.module.org_alfresco_module_rm.job.RecordsManagementJob.execute(RecordsManagementJob.java:96)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more


It's been doing this ever since we installed Records Management.  It was actually throwing a LOT more errors than this (including some every minute!).  I removed the Records Management module and all the errors went away except for this one, which happens on each service restart.  Appears I did not completely remove Records Management.  How can I finish the job and get rid of this error too?

Thanks,
Brian

Outcomes