Exception Description: The object [Job {id:6675921, operation:Distribute, status:QUEUED}] cannot be updated because it has changed or been deleted since it was last read.
Class> org.opencastproject.job.jpa.JpaJob Primary Key> 6,675,921
at org.eclipse.persistence.exceptions.OptimisticLockException.objectChangedSinceLastReadWhenUpdating(OptimisticLockException.java:144)
at org.eclipse.persistence.descriptors.VersionLockingPolicy.validateUpdate(VersionLockingPolicy.java:790)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1086)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:84)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:301)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:58)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:904)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:803)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:85)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2896)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1857)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1839)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1790)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:273)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:131)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:4264)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1441)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1531)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:278)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:1169)[225:org.eclipse.persistence.core:2.6.4.v20160829-44060b6]
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:134)[226:org.eclipse.persistence.jpa:2.6.4.v20160829-44060b6]
at org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateInternal(ServiceRegistryJpaImpl.java:943)[84:matterhorn-serviceregistry:3.2.0]
at org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateJob(ServiceRegistryJpaImpl.java:876)[84:matterhorn-serviceregistry:3.2.0]
at org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateJob(ServiceRegistryJpaImpl.java:899)[84:matterhorn-serviceregistry:3.2.0]
at org.opencastproject.job.api.JobBarrier.suspendWaiterJob(JobBarrier.java:159)[39:matterhorn-common:3.2.0]
at org.opencastproject.job.api.JobBarrier.waitForJobs(JobBarrier.java:220)[39:matterhorn-common:3.2.0]
at org.opencastproject.util.JobUtil.waitForJobs(JobUtil.java:108)[39:matterhorn-common:3.2.0]
at org.opencastproject.util.JobUtil.waitForJobs(JobUtil.java:127)[39:matterhorn-common:3.2.0]
at org.opencastproject.util.JobUtil.waitForJobs(JobUtil.java:144)[39:matterhorn-common:3.2.0]
at org.opencastproject.util.JobUtil.waitForJobs(JobUtil.java:226)[39:matterhorn-common:3.2.0]
at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishElementsToDownload(OaiPmhPublicationServiceImpl.java:342)[73:matterhorn-publication-service-oaipmh:3.2.0]
at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishInternal(OaiPmhPublicationServiceImpl.java:248)[73:matterhorn-publication-service-oaipmh:3.2.0]
at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.process(OaiPmhPublicationServiceImpl.java:427)[73:matterhorn-publication-service-oaipmh:3.2.0]
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:281)[39:matterhorn-common:3.2.0]
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:240)[39:matterhorn-common:3.2.0]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_171]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_171]
2018-10-04 02:49:02,114 | WARN | (JobBarrier:164) - Unable to put Some(6675905) into a waiting state, this may cause a deadlock: javax.persistence.RollbackException: javax.persistence.OptimisticLockException: Exception [EclipseLink-5006] (Eclipse Persistence Services - 2.6.4.v20160829-44060b6): org.eclipse.persistence.exceptions.OptimisticLockException
Exception Description: The object [Job {id:6675921, operation:Distribute, status:QUEUED}] cannot be updated because it has changed or been deleted since it was last read.
Class> org.opencastproject.job.jpa.JpaJob Primary Key> 6,675,921
2018-10-04 02:49:28,588 | INFO | (SeriesServiceRemoteImpl:281) - Successfully get series ACL RDI-10005-2018-SEM1-2-A from the remote series index
2018-10-04 02:49:28,626 | INFO | (OaiPmhPublicationServiceImpl:256) - Published 992903cb-90db-4675-a416-8e6cbda39cb4 to OAI-PMH repository default
2018-10-04 02:49:32,949 | INFO | (SeriesServiceRemoteImpl:281) - Successfully get series ACL RDI-10005-2018-SEM1-2-A from the remote series index
2018-10-04 02:49:32,957 | INFO | (OaiPmhPublicationServiceImpl:256) - Published 992903cb-90db-4675-a416-8e6cbda39cb4 to OAI-PMH repository default