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 4,477,643 milliseconds  ago.  The last packet sent successfully to the server was 15 milliseconds ago.

nabble.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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 | 8 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 4,477,643 milliseconds  ago.  The last packet sent successfully to the server was 15 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 4,477,643 milliseconds  ago.  The last packet sent successfully to the server was 15 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