0 Replies Latest reply on Jan 4, 2008 2:21 PM by Rajeev K

    @TransactionTimeout does not work in Jboss 4.0.4???

    Rajeev K Newbie

      I am using EJB3 on Jboss 4.0.4. I have a MDB which upon getting a message calls the stateless session bean(SSB). I am using the container managed transaction. The SSB since has to read lot of data from the Db and parse I wanted to increase the transaction timeout. I tried using the @TransactionTimeout annotation but it does not seem to work as I keep getting the Transaction is not active: tx=TransactionImpl:XidImpl exception.
      But when I changed the timeout value through the admin web console it works fine.

      Also I have the @ActivationConfigProperty(propertyName="transactionTimeout" value="1800") set on the MDB.

      Thanks in advance