javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection 15:45:24,328 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614) 15:45:24,328 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) 15:45:24,328 ERROR [STDERR] at cdac.nroa.sessions.CorporateElementsFacade.findCorpIdByElementId(CorporateElementsFacade.java:182) 15:45:24,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) 15:45:24,328 ERROR [STDERR] at cdac.nroa.sessions.CorporateElementsFacade.findCorpIdByElementId(CorporateElementsFacade.java:182) 15:45:24,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
via coderanch.com by Unknown author, 1 year ago
] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) 15:45:24,328 ERROR [STDERR] at cdac.nroa.sessions.CorporateElementsFacade.findCorpIdByElementId(CorporateElementsFacade.java:182) 15:45:24,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
via hibernate.org by Unknown author, 2 years ago
]         at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) 15:45:24,328 ERROR [STDERR]         at cdac.nroa.sessions.CorporateElementsFacade.findCorpIdByElementId(CorporateElementsFacade.java:182) 15:45:24,328 ERROR [STDERR]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
via Stack Overflow by Scott
, 2 years ago
org.hibernate.MappingException: Unknown entity: org.myprogram.entity.MisCollVariableValue 11:25:11,129 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614) 11:25:11,129 ERROR
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection 15:45:24,328 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614) 15:45:24,328 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) 15:45:24,328 ERROR [STDERR] at cdac.nroa.sessions.CorporateElementsFacade.findCorpIdByElementId(CorporateElementsFacade.java:182) 15:45:24,328 ERROR [STDERR] 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:597)
at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
at sun.reflect.GeneratedMethodAccessor337.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_29597895.invoke(InvocationContextInterceptor_z_fillMethod_29597895.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_29597895.invoke(InvocationContextInterceptor_z_setup_29597895.java)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.