org.quartz.JobPersistenceException: Couldn't acquire next trigger: Lock wait timeout exceeded; try restarting transaction [See nested exception: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction]

Terracotta | smali | 6 years ago
  1. 0

    Re:Quartz deadlocks working with triggers in a cluster

    Terracotta | 6 years ago | smali
    org.quartz.JobPersistenceException: Couldn't acquire next trigger: Lock wait timeout exceeded; try restarting transaction [See nested exception: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction]
  2. 0

    Lock wait timeout exceeded; try restarting transaction

    terracotta.org | 11 months ago
    org.quartz.JobPersistenceException: Couldn't update states of blocked triggers: Lock wait timeout exceeded; try restarting transaction [See nested exception: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction]
  3. 0

    Quartz deadlocks working with triggers in a cluster

    Terracotta | 6 years ago | crangon
    org.quartz.JobPersistenceException: Couldn't store trigger 'TRIGGERdrugi85' for 'JOBdrugi85' job:Lock wait timeout exceeded; try restarting transaction [See nested exception: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create a simple jdbc transaction inside hibernate transaction

    Stack Overflow | 3 years ago | user2365199
    org.hibernate.exception.GenericJDBCException: could not execute update query
  6. 0

    MySQL Bugs: #51204: Lock wait timeout exceeded; try restarting transaction

    mysql.com | 11 months ago
    java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction

  1. kid 2 times, last 1 month ago
  2. kuldeep 4 times, last 2 months ago
  3. mortalman7 1 times, last 5 months ago
32 unregistered visitors
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. java.sql.SQLException

    Lock wait timeout exceeded; try restarting transaction

    at com.mysql.jdbc.SQLError.createSQLException()
  2. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1072)
    2. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3563)
    3. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3495)
    4. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    5. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
    6. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2693)
    7. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2102)
    8. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2395)
    9. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2313)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2298)
    10 frames
  3. Commons DBCP
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
    2. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
    2 frames
  4. quartz
    QuartzSchedulerThread.run
    1. org.quartz.impl.jdbcjobstore.StdJDBCDelegate.updateTriggerStateFromOtherState(StdJDBCDelegate.java:1610)
    2. org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2756)
    3. org.quartz.impl.jdbcjobstore.JobStoreSupport$36.execute(JobStoreSupport.java:2732)
    4. org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3763)
    5. org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2728)
    6. org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)
    6 frames