1 Reply Latest reply on Oct 16, 2007 6:59 AM by vickyk

    Handling JBoss transaction Timeout ?

    twittemb

      Hi

      I'd like to change the default transactions timeout that is set by JBOSS (300s) in my application.

      I know that i can modify the jboss-service.xml file in order to change this value but i'd just like to modify the value for a specific application (not for all).

      I'm not using a developpement framework such as Spring or hibernate, so i'd like the solution to be as generic as possible.

      Any idea ?

      Thanks for your help,

      Best Regard.

        • 1. Re: Handling JBoss transaction Timeout ?
          vickyk

          I don't know what makes you post this to the JCA forums , this should be asked in the Transaction forums .
          Coming to your question you can try few things
          1) Have you tried setting the timeout at the component level ie changing timeout setting in the jboss-service.xml in the EJB ?
          2) You can explicitily set the transaction timeout value in some application specific configuration file which will later be used by UserTransaction.setTransactionTimeout(..)
          http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html
          In this case you will be using Application Managed Transaction