org.quartz.JobPersistenceException

A lock could not be obtained within the time requested [See nested exception: java.sql.SQ LException: A lock could not be obtained within the time requested] at org.apache.ode.bpel.scheduler.quartz.JobStoreJTA.doRecoverMisfires( JobStoreJTA.java:1212) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage( JobStoreSupport.java:2409) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run( JobStoreSupport.java:2428) * Nested Exception (Underlying Cause) --------------- ERROR 40XL1: A lock could not be obtained within the time requested at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.services.locks.LockSet.lockObject(Unknown Source) at org.apache.derby.impl.services.locks.SinglePool.zeroDurationlockObject (Unknown Source) at org.apache.derby.impl.store.raw.xact.RowLocking2nohold.lockRecordForRead (Unknown Source) at org.apache.derby.impl.store.access.conglomerate.OpenConglomerate.lockPositionForRead (Unknown Source) at org.apache.derby.impl.store.access.conglomerate.GenericScanController.fetchRows (Unknown Source) at org.apache.derby.impl.store.access.heap.HeapScan.fetchNextGroup(Unknown Source) at org.apache.derby.impl.sql.execute.BulkTableScanResultSet.reloadArray (Unknown Source) at org.apache.derby.impl.sql.execute.BulkTableScanResultSet.getNextRowCore (Unknown Source) at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore (Unknown Source) at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow (Unknown Source)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Alex Boisvert,
  • Stack trace

    • org.quartz.JobPersistenceException: A lock could not be obtained within the time requested [See nested exception: java.sql.SQ LException: A lock could not be obtained within the time requested] at org.apache.ode.bpel.scheduler.quartz.JobStoreJTA.doRecoverMisfires( JobStoreJTA.java:1212) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage( JobStoreSupport.java:2409) at org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run( JobStoreSupport.java:2428) * Nested Exception (Underlying Cause) --------------- ERROR 40XL1: A lock could not be obtained within the time requested at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.services.locks.LockSet.lockObject(Unknown Source) at org.apache.derby.impl.services.locks.SinglePool.zeroDurationlockObject (Unknown Source) at org.apache.derby.impl.store.raw.xact.RowLocking2nohold.lockRecordForRead (Unknown Source) at org.apache.derby.impl.store.access.conglomerate.OpenConglomerate.lockPositionForRead (Unknown Source) at org.apache.derby.impl.store.access.conglomerate.GenericScanController.fetchRows (Unknown Source) at org.apache.derby.impl.store.access.heap.HeapScan.fetchNextGroup(Unknown Source) at org.apache.derby.impl.sql.execute.BulkTableScanResultSet.reloadArray (Unknown Source) at org.apache.derby.impl.sql.execute.BulkTableScanResultSet.getNextRowCore (Unknown Source) at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore (Unknown Source) at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow (Unknown Source) at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown Source) at org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.