java.lang.reflect.UndeclaredThrowableException

Terracotta Project Issue Tracker | shubhashish dash | 6 years ago
  1. 0

    We see the following error printed in the appliaction log in our environments . This is printed at regular intervals. The XA datasource is used by the Quartz scheduler. 2010-12-09 10:08:57,201 [Scheduler_QuartzSchedulerThread][org.quartz.core.QuartzSchedulerThread] ERROR - quartzSchedulerThreadLoop: RuntimeException null java.lang.reflect.UndeclaredThrowableException at $Proxy77.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3503) at com.j2fe.scheduling.JobStoreTransactionSensible.rollbackConnection(JobStoreTransactionSensible.java:53) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3669) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2654) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:235) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:71) ... 6 more Caused by: java.sql.SQLException: could not use local transaction rollback in a global transaction at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208) at oracle.jdbc.driver.PhysicalConnection.disallowGlobalTxnMode(PhysicalConnection.java:3732) at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1167) at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:122) at sun.reflect.GeneratedMethodAccesso please suggest a solution for this.

    Terracotta Project Issue Tracker | 6 years ago | shubhashish dash
    java.lang.reflect.UndeclaredThrowableException
  2. 0

    We see the following error printed in the appliaction log in our environments . This is printed at regular intervals. The XA datasource is used by the Quartz scheduler. 2010-12-09 10:08:57,201 [Scheduler_QuartzSchedulerThread][org.quartz.core.QuartzSchedulerThread] ERROR - quartzSchedulerThreadLoop: RuntimeException null java.lang.reflect.UndeclaredThrowableException at $Proxy77.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3503) at com.j2fe.scheduling.JobStoreTransactionSensible.rollbackConnection(JobStoreTransactionSensible.java:53) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3669) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2654) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:235) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:71) ... 6 more Caused by: java.sql.SQLException: could not use local transaction rollback in a global transaction at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208) at oracle.jdbc.driver.PhysicalConnection.disallowGlobalTxnMode(PhysicalConnection.java:3732) at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1167) at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:122) at sun.reflect.GeneratedMethodAccesso please suggest a solution for this.

    Terracotta Project Issue Tracker | 6 years ago | shubhashish dash
    java.lang.reflect.UndeclaredThrowableException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hibernate Community • View topic - Rollback failures with Oracle under load

    hibernate.org | 3 months ago
    org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking
  5. 0

    Errors in B2B.log

    Oracle Community | 1 decade ago | prsaha
    java.sql.SQLException: Closed Connection

    2 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

      could not use local transaction rollback in a global transaction

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OracleConnectionWrapper.rollback
      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:208)
      4. oracle.jdbc.driver.PhysicalConnection.disallowGlobalTxnMode(PhysicalConnection.java:3732)
      5. oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1167)
      6. oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:122)
      6 frames