org.hibernate.exception.GenericJDBCException: Cannot open connection

Stack Overflow | user3605072 | 3 years ago
  1. 0

    org.hibernate.exception.GenericJDBCException: Cannot open connection

    Stack Overflow | 3 years ago | user3605072
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  2. 0

    Intermittent error establishing connection with Spring, Hibernate and C3P0

    sangupta.com | 11 months ago
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
  3. 0

    Hibernate Community • View topic - GenericJDBCException: Could not open connection

    hibernate.org | 8 months ago
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate Community • View topic - GenericJDBCException: Could not open connection

    hibernate.org | 1 year ago
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
  6. 0

    Error while connecting to database using spring framework

    Stack Overflow | 1 year ago | Satyadev
    java.sql.SQLException: Invalid Oracle URL specified

  1. qavid 1 times, last 6 months ago
  2. Michael 1 times, last 4 months ago
  3. Jeremy 1 times, last 4 months ago
  4. Kawada 4 times, last 6 months ago
45 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

    Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: 192.168.1.118:1521:BAADB

    at oracle.jdbc.driver.DatabaseError.throwSqlException()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
    3. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    4. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    5. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    7 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:582)
    2. java.sql.DriverManager.getConnection(DriverManager.java:154)
    2 frames
  4. Spring Framework
    AbstractDriverBasedDataSource.getConnection
    1. org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)
    2. org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
    3. org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
    4. org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
    4 frames
  5. Hibernate
    LocalDataSourceConnectionProvider.getConnection
    1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
    1 frame
  6. Hibernate
    JDBCTransaction.begin
    1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    2. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
    3. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    5. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    6. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    7. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    8. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)
    9. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)
    9 frames
  7. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)
    1 frame
  8. Hibernate
    HibernateTransactionManager.doBegin
    1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:510)
    1 frame