8 Replies Latest reply on Jan 27, 2014 10:22 AM by wdfink

    JBoss 7 - EJB Remote Transaction Timeout

    sbourguiba

      Hi,

       

      I have a remote call that allow to run a process that takes more than 5 minutes, after passing this time the transaction was canceled and the global transaction was rollbacked at commit.

      Is there a way to change the default timeout (300 seconds) ?


      Note: After consulting the method createOrResumeXidTransaction of the EJBRemoteTransactionPropagatingInterceptor class, I found that the timeout value is always 300 seconds (it seems that this value is hardcoded)

      Thanks
      in advance,