java.sql.SQLException

General error: Deadlock found when trying to get lock; Try restarting transaction

Solutions on the web10586

  • via Oracle Community by 3004, 1 year ago
    General error: Deadlock found when trying to get lock; Try restarting transaction
  • via Google Groups by Jerry, 1 year ago
    Deadlock found when trying to get lock; try restarting transaction
  • via Oracle Community by 843859, 7 months ago
    Deadlock found when trying to get lock; Try restarting transaction message from server: "Lock wait timeout exceeded; try restarting transaction"
  • Stack trace

    • java.sql.SQLException: General error: Deadlock found when trying to get lock; Try restarting transaction at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source) at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source) at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Source) at org.gjt.mm.mysql.Connection.execSQL(Unknown Source) at org.gjt.mm.mysql.Connection.execSQL(Unknown Source) at org.gjt.mm.mysql.Statement.executeUpdate(Unknown Source) at org.gjt.mm.mysql.jdbc2.Statement.executeUpdate(Unknown Source) at com.solarmetric.kodo.impl.jdbc.datasource.StatementImpl.executeUpdate(StatementImpl.java:71) at com.solarmetric.kodo.impl.jdbc.sql.NonSelectingSQL.execute(NonSelectingSQL.java:44) at com.solarmetric.kodo.impl.jdbc.ormapping.FlatClassMapping.update(FlatClassMapping.java:155) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.update(JDBCStoreManager.java:347) at com.solarmetric.kodo.runtime.StateManagerImpl.storeFields(StateManagerImpl.java:1808) at com.solarmetric.kodo.runtime.PDirtyState.flush(PDirtyState.java:37) at com.solarmetric.kodo.runtime.StateManagerImpl.flush(StateManagerImpl.java:480) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:555) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:393) at net.nearlythere.business.BaseBusiness.end(BaseBusiness.java:249) at net.nearlythere.business.BaseBusiness.finalize(BaseBusiness.java:262) at net.nearlythere.frontend.servlets.ChatAPI.memberCreateSession(ChatAPI.java:382) at net.nearlythere.frontend.servlets.ChatAPI.doPost(ChatAPI.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:165) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.caucho.server.http.Invocation.service(Invocation.java:311) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:536)

    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

    Unknown user
    Once, 1 year ago