org.hibernate.exception.GenericJDBCException: Cannot open connection

sourceforge.net | 5 months ago
  1. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 5 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    Hibernate Maven MySQL hello world example (XML Mapping)

    viralpatel.net | 1 week ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hibernate Community • View topic - Cannot open connection on threaded em.createQuery

    hibernate.org | 8 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
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. org.hibernate.exception.GenericJDBCException

    Cannot open connection

    at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException()
  2. Hibernate
    QueryLoader.list
    1. org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
    2. org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
    3. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
    5. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:301)
    6. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110)
    7. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
    8. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1155)
    9. org.hibernate.loader.Loader.doQuery(Loader.java:383)
    10. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:211)
    11. org.hibernate.loader.Loader.doList(Loader.java:1588)
    12. org.hibernate.loader.Loader.list(Loader.java:1571)
    13. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
    13 frames
  3. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
    1 frame
  4. Hibernate
    QueryImpl.list
    1. org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
    2. org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
    2 frames
  5. com.touchpoint.catapult
    Tree.initializeTree
    1. com.touchpoint.catapult.server.devicedeployment.dao.DeviceDeploymentDAO.retreiveRootDirectories(DeviceDeploymentDAO.java:300)
    2. com.touchpoint.catapult.server.devicedeployment.handler.DeviceDeploymentHandler.getRootDirectories(DeviceDeploymentHandler.java:607)
    3. com.touchpoint.catapult.server.devicedeployment.valueobject.Tree.build(Tree.java:57)
    4. com.touchpoint.catapult.server.devicedeployment.valueobject.Tree.initializeTree(Tree.java:478)
    4 frames
  6. org.apache.jsp
    tree_jsp._jspService
    1. org.apache.jsp.devicedeployment.tree_jsp._jspService(tree_jsp.java:150)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.include
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    5 frames
  12. GWT dev
    PageContextImpl.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
    2. org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)
    2 frames
  13. struts
    InsertTag.doEndTag
    1. org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
    2. org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
    3. org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
    4. org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
    5. org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
    5 frames
  14. org.apache.jsp
    siteLayout_jsp._jspService
    1. org.apache.jsp.common.siteLayout_jsp._jspx_meth_tiles_insert_2(siteLayout_jsp.java:193)
    2. org.apache.jsp.common.siteLayout_jsp._jspService(siteLayout_jsp.java:120)
    2 frames
  15. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    1 frame
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    1 frame
  17. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    3 frames
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    1 frame
  19. Glassfish Core
    ApplicationDispatcher.forward
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    6 frames
  20. struts
    ActionServlet.doGet
    1. org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    2. org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
    3. org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
    4. org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
    5. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    6. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    7. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    7 frames
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    2 frames
  22. Glassfish Core
    ApplicationDispatcher.forward
    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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    6 frames
  23. struts
    ActionServlet.doGet
    1. org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    2. org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
    3. org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    4. org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
    5. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    6. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    7. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    7 frames
  24. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    2 frames
  25. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    2 frames
  26. JBoss Application Server Tomcat
    ReplyHeaderFilter.doFilter
    1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
    1 frame
  27. Glassfish Core
    StandardValveContext.invokeNext
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    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)
    8 frames
  28. JBoss Application Server Tomcat
    CustomPrincipalValve.invoke
    1. org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
    1 frame
  29. Glassfish Core
    StandardValveContext.invokeNext
    1. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    1 frame
  30. JBoss Application Server Tomcat
    SecurityAssociationValve.invoke
    1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    1 frame
  31. Glassfish Core
    StandardValveContext.invokeNext
    1. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    1 frame
  32. JBoss Application Server Tomcat
    JaccContextValve.invoke
    1. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
    1 frame
  33. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    2 frames