org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection]

alfresco.com | 6 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

    Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception | Alfresco Forums

    alfresco.com | 1 year ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection]
  2. 0

    Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception | Alfresco Forums

    alfresco.com | 6 months ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection]
  3. 0

    Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)

    Stack Overflow | 5 years ago | bjhaid
    org.apache.commons.dbcp.SQLNestedException: Error preloading the connection pool
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help on analyzing thread dump from Symmetric

    symmetricds | 1 year ago | osimarmedeiros
    java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
  6. 0

    Intermittent java.sql.SQLException: ORA-03120: two-taskconversion routine: integer overflow exception

    Server Fault | 5 years ago | Abe
    org.apache.commons.dbcp.SQLNestedException: Errorpreloading the connection pool

  1. tomthomas 1 times, last 2 months ago
  2. treefolk 21 times, last 4 months ago
  3. Michael 1 times, last 8 months ago
  4. Jeremy 1 times, last 8 months ago
  5. qavid 2 times, last 9 months ago
1 more registered users
46 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

    Io exception: Got minus one from a read call

    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:146)
    3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    4. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    5. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
    6. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    7. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    8. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    8 frames
  3. Commons DBCP
    PoolableConnectionFactory.makeObject
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    2 frames
  4. Commons Pool
    GenericObjectPool.borrowObject
    1. org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
    1 frame
  5. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
    2. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
    2 frames
  6. Hibernate
    LocalDataSourceConnectionProvider.getConnection
    1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
    1 frame
  7. Hibernate
    JDBCTransaction.begin
    1. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
    2. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
    3. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
    4. org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
    4 frames
  8. Hibernate
    SessionImpl.beginTransaction
    1. org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
    1 frame
  9. Hibernate
    HibernateTransactionManager.doBegin
    1. org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:510)
    1 frame
  10. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:350)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:262)
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
    3 frames
  11. 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
  12. Unknown
    $Proxy39.index
    1. $Proxy39.index(Unknown Source)
    1 frame
  13. org.alfresco.repo
    FTSIndexerJob.execute
    1. org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
    1 frame
  14. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    2 frames