1 Reply Latest reply on Mar 19, 2014 8:51 AM by Hitesh Patel

    @TransactionTimeout not working  in EJB 3

    Ramesh Chokkapu Newbie



      We will get  lakhs of requests to my jboss server.

      we are processing each request  avg response time below 2 seconds.

      but some of request are taking long time, means more than 5 minutes.

      we want to quit from these long time requests to 60 seconds.


      @TransactionTimeout not working  in EJB 3 :





      public class TestEJBBean {


      @TransactionTimeout(value = 60, unit = TimeUnit.SECONDS)

          public String processEJBMethod(String RQ) throws Exception{



                     return RS;



      Is this work only for container managed transaction?

      Please kindly reply..