• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Transaction Timeout

 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please correct me if I'm wrong....

Part 1 :
WebSphere has a transaction timeout at the server level. By default, it is set 2 minutes (120 seconds).
An EJB involved in a transaction inherits this property, so the EJB container will throw a timeout exception if the transaction is not completed within 120 seconds.
There is no way to specify another timeout for a specific EJB , except using WAS proprietary features, or using bean managed transactions.

Part 2 : questions

- Why a default timeout of 120 seconds ?
- What are the side effects if I increase the timeout to, say, .... 2 hours ?
- Does IBM recommend a range for the transaction timeout, between X and Y seconds for instance ??
 
reply
    Bookmark Topic Watch Topic
  • New Topic