org.hibernate.exception.GenericJDBCException: could not execute query

mysql.com | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MySQL :: java.net.SocketException: Software caused connection abort: recv failed

    mysql.com | 4 months ago
    org.hibernate.exception.GenericJDBCException: could not execute query

    Root Cause Analysis

    1. java.sql.SQLException

      Communication link failure: java.net.SocketException, underlying cause: Software caused connection abort: recv failed ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Software caused connection abort: recv failed STACKTRACE: java.net.SocketException: Software caused connection abort: recv failed

      at java.net.SocketInputStream.socketRead0()
    2. Java RT
      BufferedInputStream.read
      1. java.net.SocketInputStream.socketRead0(Native Method)
      2. java.net.SocketInputStream.read(SocketInputStream.java:129)
      3. java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      4. java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
      5. java.io.BufferedInputStream.read(BufferedInputStream.java:277)
      5 frames
    3. MySQL jdbc
      PreparedStatement.executeQuery
      1. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1316)
      2. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1463)
      3. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1854)
      4. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
      5. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
      6. com.mysql.jdbc.Connection.execSQL(Connection.java:2090)
      7. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1496)
      7 frames
    4. Hibernate
      CriteriaLoader.list
      1. org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:118)
      2. org.hibernate.loader.Loader.getResultSet(Loader.java:1233)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:370)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
      5. org.hibernate.loader.Loader.doList(Loader.java:1557)
      6. org.hibernate.loader.Loader.list(Loader.java:1540)
      7. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:113)
      7 frames
    5. Hibernate
      CriteriaImpl.list
      1. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1254)
      2. org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:299)
      2 frames
    6. dao
      UserDAO_H.getUserByUserName
      1. dao.UserDAO_H.getUserByUserName(UserDAO_H.java:68)
      1 frame
    7. bo
      UserBO.validateUser
      1. bo.UserBO.validateUser(UserBO.java:46)
      1 frame
    8. actions
      LogonAction.execute
      1. actions.LogonAction.execute(LogonAction.java:70)
      1 frame
    9. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      4 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    11. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      10. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      11. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      12. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      14. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      16. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      17. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      18. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      18 frames
    12. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      1 frame
    13. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      3 frames
    14. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame