org.apache.ibatis.transaction.TransactionException: Error configuring  AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Re quested setting: false.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsEx ception: Communications link failure The last packet successfully received from the server was 5,308,380 milliseconds  ago.  The last packet sent successfully to the server was 109 milliseconds ago.

nabble.com | 6 months 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

    SonarQube Users (archive) - Embedded error: Fail to decorate 'org.sonar.api.resources.Project@c25eb6[id=8770 4,key=ProjectKey,qualifier=TRK]'

    nabble.com | 6 months ago
    org.apache.ibatis.transaction.TransactionException: Error configuring  AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Re quested setting: false.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsEx ception: Communications link failure The last packet successfully received from the server was 5,308,380 milliseconds  ago.  The last packet sent successfully to the server was 109 milliseconds ago.

    Root Cause Analysis

    1. org.apache.ibatis.transaction.TransactionException

      Error configuring  AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Re quested setting: false.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsEx ception: Communications link failure The last packet successfully received from the server was 5,308,380 milliseconds  ago.  The last packet sent successfully to the server was 109 milliseconds ago.

      at org.apache.ibatis.exceptions.ExceptionFactory.wrapException()
    2. MyBatis
      DefaultSqlSessionFactory.openSession
      1. org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
      2. org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:83)
      3. org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:40)
      3 frames
    3. SonarQube
      MyBatis.openSession
      1. org.sonar.core.persistence.MyBatis.openSession(MyBatis.java:104)
      1 frame
    4. org.sonar.core
      ReviewDao$1.load
      1. org.sonar.core.review.ReviewDao.doSelectOpenByResourceId(ReviewDao.java:72)
      2. org.sonar.core.review.ReviewDao.access$000(ReviewDao.java:37)
      3. org.sonar.core.review.ReviewDao$1.load(ReviewDao.java:48)
      4. org.sonar.core.review.ReviewDao$1.load(ReviewDao.java:45)
      4 frames