java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: \*\* BEGIN NESTED EXCEPTION \*\* com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: \*\* BEGIN NESTED EXCEPTION \*\* java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1902) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2348) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2858) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:2978) at com.mysql.jdbc.Connection.execSQL(Connection.java:2902) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:930) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1024) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.execute(Unknown Source)

ejbca | yquenechdu | 1 decade 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

    SQLException: No operations allowed after...

    ejbca | 1 decade ago | yquenechdu
    java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: \*\* BEGIN NESTED EXCEPTION \*\* com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: \*\* BEGIN NESTED EXCEPTION \*\* java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1902) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2348) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2858) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:2978) at com.mysql.jdbc.Connection.execSQL(Connection.java:2902) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:930) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1024) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.execute(Unknown Source)

    Root Cause Analysis

    1. java.sql.SQLException

      No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: \*\* BEGIN NESTED EXCEPTION \*\* com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: \*\* BEGIN NESTED EXCEPTION \*\* java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1902) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2348) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2858) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:2978) at com.mysql.jdbc.Connection.execSQL(Connection.java:2902) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:930) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1024) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(Unknown Source) at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.execute(Unknown Source)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute()
    2. JBoss Application Server Server
      JDBCFindEntityCommand.execute
      1. org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(Unknown Source)
      1 frame