0 Replies Latest reply on Jun 12, 2003 9:19 AM by plarochefr

    context.getRollbackOnly() returns true

    plarochefr

      Hello,

      I have a stateless session bean that reads and updates an Oracle database. The duration of this process is between 6 and 10 minutes depending on the input data.

      No exception is generated by the process, all debug traces are OK.

      But at the end of the processing, querying context.getRollbackOnly() returns true, although my code did not call context.setRollbackOnly().

      The same process, when activated from outside jBoss (i.e. with no session bean, only a simple java program using jdbc) works perfectly.

      Does someone know what could cause the rollback only flag to be set when not done by the application code ? Is the fact that the processing duration is around 10 minutes a possible cause ?

      Thank you in advance for any answer.
      Regards,
      Pierre