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

Solutions on the web

via sourceforge.net by Unknown author, 1 year ago
Cannot open connection
via theserverside.com by Unknown author, 2 years ago
via alfresco.com by Unknown author, 1 year ago
via Oracle Community by 843841, 1 year ago
via roseindia.net by Unknown author, 2 years ago
Cannot open connection
via Coderanch by signor Rhena, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection	at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)	at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:301)	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110)	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1155)	at org.hibernate.loader.Loader.doQuery(Loader.java:383)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:211)	at org.hibernate.loader.Loader.doList(Loader.java:1588)	at org.hibernate.loader.Loader.list(Loader.java:1571)	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)	at com.touchpoint.catapult.server.devicedeployment.dao.DeviceDeploymentDAO.retreiveRootDirectories(DeviceDeploymentDAO.java:300)	at com.touchpoint.catapult.server.devicedeployment.handler.DeviceDeploymentHandler.getRootDirectories(DeviceDeploymentHandler.java:607)	at com.touchpoint.catapult.server.devicedeployment.valueobject.Tree.build(Tree.java:57)	at com.touchpoint.catapult.server.devicedeployment.valueobject.Tree.initializeTree(Tree.java:478)	at org.apache.jsp.devicedeployment.tree_jsp._jspService(tree_jsp.java:150)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:581)	at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)	at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)	at org.apache.jsp.common.siteLayout_jsp._jspx_meth_tiles_insert_2(siteLayout_jsp.java:193)	at org.apache.jsp.common.siteLayout_jsp._jspService(siteLayout_jsp.java:120)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)	at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)	at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)	at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)	at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)	at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)	at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)