Job execution lock has failed. PersistentJobExecutionFactory. ORA-00001. DuplicateKeyException
Hi ,
I'm seeing the following exception in the logs for a Job scheduler. Though the job scheduler executing successfully but i could see this exception in the logs. I couldn;t trace it also. is it related to jvm or cluster side or nodes related exception? Kindly provide your inputs on this.
Exception :
Hi ,
I'm seeing the following exception in the logs for a Job scheduler. Though the job scheduler executing successfully but i could see this exception in the logs. I couldn;t trace it also. is it related to jvm or cluster side or nodes related exception? Kindly provide your inputs on this.
Exception :
2023-10-12 21:17:37,033 [BSCHEDULER_THREAD_10] [ STANDARD] [ ] [ ] ( JobSchedulerLifecycle) ERROR - [PersistentJobExecutionFactory] Job[abcdJS] execution lock has failed. com.pega.pegarules.pub.database.DuplicateKeyException: ORA-00001: unique constraint (ABCMS.PR_DATA_PK) violated DatabaseException caused by prior exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (ABCMS.PR_DATA_PK) violated | SQL Code: 1 | SQL State: 23000 DatabaseException caused by prior exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (ABCMS.PR_DATA_PK) violated | SQL Code: 1 | SQL State: 23000 at com.pega.pegarules.data.internal.access.ExceptionInformation.createExceptionDueToDBFailure(ExceptionInformation.java:448) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.store.ConnectionStatementStore.executeBatchForAllStatements(ConnectionStatementStore.java:233) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.store.ManagedTransaction.executeOutstandingBatches(ManagedTransaction.java:267) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.UpdateProcessor.action(UpdateProcessor.java:306) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.UpdateProcessor.action(UpdateProcessor.java:108) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.store.DataStoreManager.doInTransaction(DataStoreManager.java:273) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.UpdateProcessor.processUpdates(UpdateProcessor.java:226) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.Saver.save(Saver.java:756) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.Saver.save(Saver.java:1803) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:2943) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:2934) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:2924) ~[prprivate-data.jar:?] at com.pega.pegarules.data.internal.access.DatabaseImpl.save(DatabaseImpl.java:2915) ~[prprivate-data.jar:?] at com.pega.platform.executor.jobscheduler.scheduler.internal.persistence.PersistentJobExecutionFactory$Execution.createExecution(PersistentJobExecutionFactory.java:517) ~[executor.jar:?] at com.pega.platform.executor.jobscheduler.scheduler.internal.persistence.PersistentJobExecutionFactory$Execution.getOrCreateExecution(PersistentJobExecutionFactory.java:216) ~[executor.jar:?] at com.pega.platform.executor.jobscheduler.scheduler.internal.persistence.PersistentJobExecutionFactory$Execution.lockAndGetJobExecution(PersistentJobExecutionFactory.java:127) ~[executor.jar:?] at com.pega.platform.executor.jobscheduler.sch
***Edited by Moderator to add Support Case Number***