com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

via by Unknown author

Probably there is a bug in TestNG Eclipse plugin (, try an other version (e.g.

via GitHub by ppoulard

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Solutions on the web

via by Unknown author, 1 year ago
via Stack Overflow by Tail of Godzilla
, 6 months ago
via Stack Overflow by Yousif Raad
, 5 months ago
No operations allowed after connection closed.
via Stack Overflow by Eric Hartsuyker
, 2 years ago
No operations allowed after connection closed.
via by Unknown author, 1 year ago Connection reset by peer: socket write error
at Method)
at com.mysql.jdbc.MysqlIO.send(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.ConnectionImpl.execSQL(
at com.mysql.jdbc.ConnectionImpl.unsetMaxRows(
at com.mysql.jdbc.StatementImpl.realClose(
at com.mysql.jdbc.PreparedStatement.realClose(
at com.mysql.jdbc.ConnectionImpl.closeAllOpenStatements(
at com.mysql.jdbc.ConnectionImpl.realClose(
at com.mysql.jdbc.ConnectionImpl.cleanup(
at com.mysql.jdbc.ConnectionImpl.execSQL(
at com.mysql.jdbc.PreparedStatement.executeInternal(
at com.mysql.jdbc.PreparedStatement.executeQuery(
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(
at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(

Users with the same issue

Once, 1 day ago
4 times, 3 days ago
Once, 1 week ago
Once, 1 week ago
Once, 4 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.