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 | crangon | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Quartz deadlocks working with triggers in a cluster

    Terracotta | 7 years ago | crangon
    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 | 1 year 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

    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]
  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 | 4 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 | 1 year ago
    java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction

  1. zbalint 2 times, last 2 weeks ago
  2. ivanszkypeter 4 times, last 3 weeks ago
  3. Hronom 1 times, last 4 months ago
  4. kid 2 times, last 7 months ago
  5. kuldeep 4 times, last 8 months ago
1 more registered users
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:1055)
    2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    3. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
    5. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    6. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
    7. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
    8. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2077)
    9. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2362)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2280)
    11. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2265)
    11 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