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

Coderanch | Ashish Agre | 4 years 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

    nutz连接mysql异常处理:MySQLNonTransientConnectionException: No operations allowed after connection closed - cuker919的专栏 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
  2. 0

    MySQLNonTransientConnectionException: No operations allowed - laravel framework - ITeye技术网站

    iteye.com | 11 months ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
  3. 0

    Problema com C3P0, HIBERNATE e JPA2.0 - Fórum DevMedia

    com.br | 2 months ago
    javax.faces.el.EvaluationException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not prepare statement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala curried functions appear to not work with JDBC connections

    Stack Overflow | 3 years ago | Eric Hartsuyker
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
  6. 0

    Not a Bug - MySQL Error | SpigotMC - High Performance Minecraft

    spigotmc.org | 11 months ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.EOFException

    Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

    at com.mysql.jdbc.MysqlIO.readFully()
  2. MySQL jdbc
    PreparedStatement.executeQuery
    1. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2552)
    2. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3002)
    3. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2991)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3532)
    5. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
    6. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
    7. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
    8. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127)
    9. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293)
    9 frames
  3. Embedded GlassFish Web
    PreparedStatementWrapper40.executeQuery
    1. com.sun.gjc.spi.jdbc40.PreparedStatementWrapper40.executeQuery(PreparedStatementWrapper40.java:642)
    1 frame
  4. Security Core Classes
    JDBCRealm.authenticate
    1. com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.isUserValid(JDBCRealm.java:432)
    2. com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.authenticate(JDBCRealm.java:330)
    2 frames
  5. Security Core Classes
    PasswordLoginModule.authenticateUser
    1. com.sun.enterprise.security.auth.login.JDBCLoginModule.authenticate(JDBCLoginModule.java:76)
    2. com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:117)
    2 frames
  6. Security Core Classes
    AppservPasswordLoginModule.login
    1. com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:143)
    1 frame
  7. Java RT
    LoginContext.login
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
    6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
    7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
    8. javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
    9. java.security.AccessController.doPrivileged(Native Method)
    10. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
    11. javax.security.auth.login.LoginContext.login(LoginContext.java:594)
    11 frames
  8. Security Core Classes
    LoginContextDriver.login
    1. com.sun.enterprise.security.auth.login.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:382)
    2. com.sun.enterprise.security.auth.login.LoginContextDriver.login(LoginContextDriver.java:240)
    3. com.sun.enterprise.security.auth.login.LoginContextDriver.login(LoginContextDriver.java:153)
    3 frames
  9. Security
    RealmAdapter.authenticate
    1. com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:514)
    2. com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:455)
    2 frames
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:268)
    2. org.apache.catalina.authenticator.AuthenticatorBase.processSecurityCheck(AuthenticatorBase.java:911)
    3. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:546)
    4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    7. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    8 frames
  11. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    2 frames
  12. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    13 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)
    1 frame