cancel
Showing results for 
Search instead for 
Did you mean: 

scheduledPublishUpdatesJobDetail threw an unhandled Exception:

sscbrian
Champ on-the-rise
Champ on-the-rise
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
1 REPLY 1

to-nee-t
Champ in-the-making
Champ in-the-making
Hi Brian. I'm not aware of how to go about uninstalling the RM module specifically, but check the below post for the best way to uninstall amps.

<a>https://forums.alfresco.com/forum/developer-discussions/development-environment/best-way-uninstall-a...</a>

Toni