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)

ode-user | Alex Boisvert | 10 years ago
  1. 0

    Re: How to improve performance

    ode-user | 10 years ago | Alex Boisvert
    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)
  2. 0

    How to improve performance

    ode-user | 10 years ago | Anne Noseda
    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]
  3. 0

    build failed [Archive] - Project.net User Forums

    project.net | 1 year ago
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'PnetDB': java.sql.SQLException: Could not retrieve datasource via JNDI url 'jdbc/PnetDB' javax.naming.NameNotFoundException: While trying to lookup 'jdbc.PnetDB' didn't find subcontext 'jdbc' Resolved [See nested exception: java.sql.SQLException: Could not retrieve datasource via JNDI url 'jdbc/PnetDB' javax.naming.NameNotFoundException: While trying to lookup 'jdbc.PnetDB' didn't find subcontext 'jdbc' Resolved ] at org.quartz.impl.jdbcjobstore.JobStoreSupport.getCo nnection(JobStoreSupport.java:565) at org.quartz.impl.jdbcjobstore.JobStoreTX.cleanVolat ileTriggerAndJobs(JobStoreTX.java:113) at org.quartz.impl.jdbcjobstore.JobStoreSupport.initi alize(JobStoreSupport.java:501) at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize (JobStoreTX.java:74) at org.quartz.impl.StdSchedulerFactory.instantiate(St dSchedulerFactory.java:888) at org.quartz.impl.StdSchedulerFactory.getScheduler(S tdSchedulerFactory.java:1020) at org.quartz.ee.servlet.QuartzInitializerServlet.ini t(QuartzInitializerServlet.java:125) at weblogic.servlet.internal.ServletStubImpl$ServletI nitAction.run(ServletStubImpl.java:1094) at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121) at weblogic.servlet.internal.ServletStubImpl.createSe rvlet(ServletStubImpl.java:970) at weblogic.servlet.internal.ServletStubImpl.createIn stances(ServletStubImpl.java:949) at weblogic.servlet.internal.ServletStubImpl.prepareS ervlet(ServletStubImpl.java:888) at weblogic.servlet.internal.WebAppServletContext.pre loadServlet(WebAppServletContext.java:3430) at weblogic.servlet.internal.WebAppServletContext.pre loadServlets(WebAppServletContext.java:3387) at weblogic.servlet.internal.WebAppServletContext.pre loadServlets(WebAppServletContext.java:3373) at weblogic.servlet.internal.WebAppServletContext.pre loadResources(WebAppServletContext.java:3356) at weblogic.servlet.internal.WebAppServletContext.set Started(WebAppServletContext.java:6208) at weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:864) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEA pplicationContainer.java:2134) at weblogic.j2ee.J2EEApplicationContainer.activate(J2 EEApplicationContainer.java:2175) at weblogic.j2ee.J2EEApplicationContainer.activate(J2 EEApplicationContainer.java:2122) at weblogic.management.deploy.slave.SlaveDeployer$App lication.setActivation(SlaveDeployer.java:3099) at weblogic.management.deploy.slave.SlaveDeployer.set ActivationStateForAllApplications(SlaveDeployer.ja va:1768) at weblogic.management.deploy.slave.SlaveDeployer.res ume(SlaveDeployer.java:351) at weblogic.management.deploy.DeploymentManagerServer LifeCycleImpl.resume(DeploymentManagerServerLifeCy cleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(Subsystem Manager.java:136)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    解决:Connections could not be acquired from the underlying database!_人人IT网

    fanli7.net | 9 months ago
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Connections could not be acquired from the underlying database! [See nested exception: java.sql.SQLException: Connections could not be acquired from the underlying database!]]
  6. 0

    解决:Connections could not be acquired from the underlying database! - 好好学习,天天向上。 - ITeye技术网站

    iteye.com | 11 months ago
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': java.sql.SQLException: Connections could not be acquired from the underlying database! [See nested exception: java.sql.SQLException: Connections could not be acquired from the underlying database!]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Derby
      EmbedResultSet.next
      1. org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown Source)
      2. org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source)
      2 frames