org.hibernate.exception.GenericJDBCException: Cannot open connection

geronimo-user | Burt Prior | 9 years 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

    Re: Geronimo 2.1 and Seam

    geronimo-user | 9 years ago | Burt Prior
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    Hikaricp Oracle connection issue

    Stack Overflow | 2 years ago | phoenix
    java.lang.RuntimeException: Fail-fast during pool initialization
  3. 0

    Cannot open Oracle connection

    Google Groups | 3 years ago | José Ignacio Santa Cruz
    java.sql.SQLException: La dirección URL de Oracle especificada no es válida: OracleDataSource.makeURL*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EHCache and Weblogic 9.2.2

    ehcache | 9 years ago | bogdangh
    java.sql.SQLException: Connection Cache with this Cache Name already exists
  6. 0

    Grid Control Agent Installation Issues

    Oracle Community | 1 decade ago | 558876
    java.sql.SQLException: Connection Cache with this Cache Name already exists

  1. wendellpereira 2 times, last 5 months ago
6 unregistered visitors
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. java.sql.SQLException

    Invalid Oracle URL specified: OracleDataSource.makeURL

    at oracle.jdbc.driver.DatabaseError.throwSqlException()
  2. Oracle jdbc
    OracleDataSource.getConnection
    1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    3. oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:1353)
    4. oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:195)
    4 frames
  3. Jencks
    AbstractLocalDataSourceMCF.createManagedConnection
    1. org.tranql.connector.jdbc.AbstractLocalDataSourceMCF.getPhysicalConnection(AbstractLocalDataSourceMCF.java:70)
    2. org.tranql.connector.jdbc.AbstractLocalDataSourceMCF.createManagedConnection(AbstractLocalDataSourceMCF.java:64)
    2 frames
  4. Geronimo TxManager :: Connector
    AbstractConnectionManager.allocateConnection
    1. org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
    2. org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterceptor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
    3. org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:70)
    4. org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:80)
    5. org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46)
    6. org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
    7. org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
    8. org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
    9. org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
    10. org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87)
    10 frames
  5. Jencks
    DataSource.getConnection
    1. org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
    1 frame
  6. Hibernate EJB
    InjectedDataSourceConnectionProvider.getConnection
    1. org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
    1 frame
  7. Hibernate
    QueryLoader.list
    1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
    2. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
    3. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    5. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
    6. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
    7. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
    8. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
    9. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
    10. org.hibernate.loader.Loader.doQuery(Loader.java:673)
    11. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    12. org.hibernate.loader.Loader.doList(Loader.java:2220)
    13. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    14. org.hibernate.loader.Loader.list(Loader.java:2099)
    15. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
    15 frames
  8. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
    1 frame
  9. Hibernate
    QueryImpl.list
    1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
    2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
    3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    3 frames
  10. Hibernate EJB
    QueryImpl.getResultList
    1. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:66)
    2. org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:630)
    3. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:75)
    3 frames
  11. org.jboss.seam
    RegisterAction.register
    1. org.jboss.seam.example.booking.RegisterAction.register(RegisterAction.java:45)
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  13. OpenEJB :: OSGi :: Core
    ReflectionInvocationContext.proceed
    1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
    2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
    2 frames
  14. org.jboss.seam
    SessionBeanInterceptor.aroundInvoke
    1. org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
    2. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    3. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
    4. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    5. org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
    6. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    7. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
    8. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    9. org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
    10. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    11. org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
    12. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    13. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    14. org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
    14 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  16. OpenEJB :: OSGi :: Core
    BaseEjbProxyHandler.invoke
    1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
    2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
    3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
    4. org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:428)
    5. org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:390)
    6. org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:247)
    7. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
    8. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
    9. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
    9 frames