org.hibernate.exception.GenericJDBCException: Cannot open connection

coderanch.com | 5 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

    Connections could not be acquired from the underlying database (JSF forum at Coderanch)

    coderanch.com | 7 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    Connections could not be acquired from the underlying database (JSF forum at Coderanch)

    coderanch.com | 5 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection

    Root Cause Analysis

    1. org.hibernate.exception.GenericJDBCException

      Cannot open connection

      at org.springframework.orm.jpa.JpaTransactionManager.doBegin()
    2. Spring ORM
      JpaTransactionManager.doBegin
      1. org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:375)
      1 frame
    3. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
      3 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    5. Unknown
      $Proxy51.todos
      1. $Proxy51.todos(Unknown Source)
      1 frame
    6. br.com.integrator
      LojaController.getTodasCat
      1. br.com.integrator.controller.LojaController.getTodasCat(LojaController.java:102)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. EL
      CompositeELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
      2. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
      2 frames
    9. JSF
      FacesCompositeELResolver.getValue
      1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
      1 frame
    10. Pax Jsp
      ValueExpressionImpl.getValue
      1. org.apache.el.parser.AstValue.getValue(AstValue.java:183)
      2. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
      2 frames
    11. Facelets
      TagValueExpression.getValue
      1. com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      1 frame