5 Replies Latest reply on Sep 11, 2008 2:06 PM by blabno

    Transaction timeout ? : GenericJDBCException: Cannot open connection

    blabno

      I have asynchronous method that works over 5 minutes, but after 5 minutes I get exception :


      15:07:01,430 ERROR [JDBCExceptionReporter] Transaction is not active: 
      tx=TransactionImple < ac, BasicAction: -3f578710:e10:48c793a7:2a5 status: 
      ActionStatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: 
      Transaction is not active: tx=TransactionImple < ac, BasicAction: 
      -3f578710:e10:48c793a7:2a5 status: ActionStatus.ABORTED >)
      15:07:01,914 INFO  [DefaultLoadEventListener] Error performing load command
      org.hibernate.exception.GenericJDBCException: Cannot open connection
      



      What shall I do ? I've tried annotating both bean (EJB3) and the method @TransactionTimeout(800). Also following does not help :


      <core:manager concurrent-request-timeout="1500" conversation-timeout="9000"/>