com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state.

iteye.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    compass重建索引失败,求真相? - ITeye问答

    iteye.com | 8 months ago
    com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Connection.close() has already been called. Invalid operation in this state.

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException

      Connection.close() has already been called. Invalid operation in this state.

      at com.mysql.jdbc.SQLError.createSQLException()
    2. MySQL jdbc
      ConnectionImpl.setAutoCommit
      1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
      2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
      3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
      4. com.mysql.jdbc.ConnectionImpl.getMutex(ConnectionImpl.java:3018)
      5. com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4827)
      5 frames
    3. c3p0:JDBC DataSources/Resource Pools
      NewProxyConnection.setAutoCommit
      1. com.mchange.v2.c3p0.impl.NewProxyConnection.setAutoCommit(NewProxyConnection.java:881)
      1 frame
    4. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.toggleAutoCommit(JDBCTransaction.java:228)
      2. org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:173)
      3. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:146)
      3 frames
    5. Hibernate
      HibernateTransactionManager.doCommit
      1. org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:655)
      1 frame
    6. Spring Tx
      AbstractPlatformTransactionManager.commit
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)
      2 frames
    7. Compass
      ConcurrentParallelIndexExecutor$1.call
      1. org.compass.spring.transaction.SpringSyncTransaction.doCommit(SpringSyncTransaction.java:135)
      2. org.compass.core.transaction.AbstractTransaction.commit(AbstractTransaction.java:46)
      3. org.compass.core.CompassTemplate.execute(CompassTemplate.java:134)
      4. org.compass.gps.impl.SingleCompassGps.executeForIndex(SingleCompassGps.java:147)
      5. org.compass.gps.device.support.parallel.ConcurrentParallelIndexExecutor$1.call(ConcurrentParallelIndexExecutor.java:102)
      5 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      5. java.lang.Thread.run(Thread.java:595)
      5 frames