org.hibernate.exception.GenericJDBCException: Cannot open connection","code":"org.springframework.orm.hibernate3.HibernateTransactionManager:597","detail":"org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

openmrs.org | 2 months ago
  1. 0

    Errors on registration form (at least on demo server), and a complaint about age fields - Bahmni - OpenMRS Talk

    openmrs.org | 2 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection","code":"org.springframework.orm.hibernate3.HibernateTransactionManager:597","detail":"org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    55094 - SAS® Visual Data Builder might display "Cannot open connection" when you are creating queries

    sas.com | 1 year ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  3. 0

    H2 Database - Connection broken on localhost, why?

    nabble.com | 7 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After changing database parameter and pressing Save on /admin/database.do?editMode=true page Hibernate session factory is recreated. However some threads or jobs (eg. UserSynchroniserJob) do not properly close session causing to reuse old closed session which leads to {code} 2014-10-29 12:12:46,574 ERROR [quartzScheduler_Worker-5 ] org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - Attempting to obtain a connection from a pool that has already been shutdown. Stack trace of location where pool was shutdown follows: java.lang.Thread.getStackTrace(Thread.java:1589)^M com.jolbox.bonecp.BoneCP.captureStackTrace(BoneCP.java:543)^M com.jolbox.bonecp.BoneCP.shutdown(BoneCP.java:159)^M com.jolbox.bonecp.provider.BoneCPConnectionProvider.close(BoneCPConnectionProvider.java:77)^M org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:978)^M com.cenqua.crucible.hibernate.HibernateUtil.destroy(HibernateUtil.java:295)^M com.cenqua.crucible.hibernate.DefaultDBControl.stop(DefaultDBControl.java:215)^M com.atlassian.crucible.actions.admin.database.DBEditHelper.stopDB(DBEditHelper.java:414)^M com.atlassian.crucible.actions.admin.database.DBEditHelper.changeDB(DBEditHelper.java:209)^M com.atlassian.crucible.actions.admin.database.UpdateDatabaseAction.execute(UpdateDatabaseAction.java:18)^M sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)^M sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)^M java.lang.reflect.Method.invoke(Method.java:606)^M com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)^M com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.atlassian.fisheye.xwork.SimpleConversionErrorInterceptor.intercept(SimpleConversionErrorInterceptor.java:64)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.cenqua.fisheye.web.admin.interceptors.LoginInterceptor.intercept(LoginInterceptor.java:33)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)^M com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)^M com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)^M javax.servlet.http.HttpServlet.service(HttpServlet.java:820)^M org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)^M com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)^M com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)^M org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:146)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:287)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.cenqua.fisheye.web.admin.interceptors.LoginInterceptor.intercept(LoginInterceptor.java:33)^M com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)^M com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)^M com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)^M com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)^M javax.servlet.http.HttpServlet.service(HttpServlet.java:820)^M org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)^M com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)^M com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)^M org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:146)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:287)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)^M com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:55)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78)^M org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)^M com.cenqua.fisheye.web.filters.CustomIncludableGzipFilter.doFilter(CustomIncludableGzipFilter.java:27)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.ProductInfoFilter.doFilter(ProductInfoFilter.java:44)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:54)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.fecru.profiling.ProfilingServletFilter.doFilter(ProfilingServletFilter.java:74)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)^M com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:55)^M com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78)^M org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)^M com.cenqua.fisheye.web.filters.CustomIncludableGzipFilter.doFilter(CustomIncludableGzipFilter.java:27)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.ProductInfoFilter.doFilter(ProductInfoFilter.java:44)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)^M com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:54)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M com.atlassian.fecru.profiling.ProfilingServletFilter.doFilter(ProfilingServletFilter.java:74)^M org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)^M org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)^M org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)^M org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)^M org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)^M org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)^M org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)^M org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)^M org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)^M org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)^M org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)^M org.mortbay.jetty.Server.handle(Server.java:326)^M org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)^M org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)^M org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)^M org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)^M org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)^M org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)^M org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)^M 2014-10-29 12:12:46,575 ERROR [quartzScheduler_Worker-5 ] fisheye UserSynchroniserJob-execute - Error during the current user synchronisation org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1616) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2449) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192) at org.hibernate.loader.Loader.list(Loader.java:2187) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)^M org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)^M org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)^M org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)^M org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)^M org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)^M org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)^M org.mortbay.jetty.Server.handle(Server.java:326)^M org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)^M org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)^M org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)^M org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)^M org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)^M org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)^M org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)^M {code} h3. Workaround Crucible instance restart should be enough to get valid session factory

    Atlassian JIRA | 2 years ago | Cezary Zawadka
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    db:: 3.27::ADC exception=BAM-01262: Active Data Cache server exception in openViewset dj

    hivmr.com | 5 months ago
    org.jbpm.JbpmException: couldn't get task instances list for actor 'xxx' at org.jbpm.db.TaskMgmtSession.findTaskInstances(TaskMgmtSession.java:65) at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:189) at org.jboss.seam.bpm.TaskInstanceList.getTaskInstanceList(TaskInstanceList.java:40) at org.jboss.seam.bpm.TaskInstanceList.getTaskInstanceList(TaskInstanceList.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) ... 12:54:47,296 ERROR [STDERR] ache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

    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","code":"org.springframework.orm.hibernate3.HibernateTransactionManager:597","detail":"org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

      at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin()
    2. Hibernate
      HibernateTransactionManager.doBegin
      1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:597)
      1 frame
    3. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      2 frames
    4. org.openmrs.module
      PatientAdvice.afterReturning
      1. org.openmrs.module.atomfeed.transaction.support.AtomFeedSpringTransactionManager.executeWithTransaction(AtomFeedSpringTransactionManager.java:37)
      2. org.openmrs.module.atomfeed.advice.PatientAdvice.afterReturning(PatientAdvice.java:43)
      2 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:52)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2 frames
    6. org.openmrs.aop
      LoggingAdvice.invoke
      1. org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      4. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      6 frames
    8. com.sun.proxy
      $Proxy1020.savePatient
      1. com.sun.proxy.$Proxy1020.savePatient(Unknown Source)
      1 frame
    9. org.openmrs.module
      EmrPatientProfileServiceImpl.save
      1. org.openmrs.module.emrapi.patient.EmrPatientProfileServiceImpl.save(EmrPatientProfileServiceImpl.java:21)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor15740.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    12. org.openmrs.aop
      LoggingAdvice.invoke
      1. org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      4. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      6 frames
    14. com.sun.proxy
      $Proxy1027.save
      1. com.sun.proxy.$Proxy1027.save(Unknown Source)
      1 frame
    15. org.openmrs.module
      MainResourceController.create
      1. org.openmrs.module.emrapi.rest.resource.PatientProfileResource.save(PatientProfileResource.java:210)
      2. org.openmrs.module.emrapi.rest.resource.PatientProfileResource.create(PatientProfileResource.java:88)
      3. org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.create(MainResourceController.java:86)
      3 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor17224.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    17. Spring
      HandlerMethodInvoker.invokeHandlerMethod
      1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      1 frame
    18. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      2. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      6. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
      6 frames
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
      1 frame
    20. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      1 frame
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    23. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    25. org.openmrs.module
      ForcePasswordChangeFilter.doFilter
      1. org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    27. org.openmrs.module
      ModuleFilterChain.doFilter
      1. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      1 frame
    28. org.openmrs.web
      GZIPFilter.doFilterInternal
      1. org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:64)
      1 frame
    29. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    30. org.openmrs.module
      ModuleFilterChain.doFilter
      1. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      2. org.openmrs.module.webservices.rest.web.filter.AuthorizationFilter.doFilter(AuthorizationFilter.java:108)
      3. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      3 frames
    31. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:73)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    32. org.openmrs.module
      ModuleFilter.doFilter
      1. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      2. org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      2 frames
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    34. org.openmrs.web
      OpenmrsFilter.doFilterInternal
      1. org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      1 frame
    35. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    37. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      1 frame
    38. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    39. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    40. org.openmrs.web
      StartupFilter.doFilter
      1. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    42. org.openmrs.web
      StartupFilter.doFilter
      1. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      1 frame
    43. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    44. org.openmrs.web
      StartupFilter.doFilter
      1. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      1 frame
    45. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    46. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    47. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
      10 frames
    48. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
      5 frames
    49. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    50. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame