• 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

how can I specify EJB timeout?

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how can I specify EJB timeout? In DD?
[ April 11, 2002: Message edited by: Win Yu ]
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
EJB time out can be set in the deployment descriptor by setting the property
trans-time-out.
For example in WebLogic:
<transaction-descriptor>
<trans-timeout-seconds>
3600
</trans-timeout-seconds>
</transaction-descriptor>

Hope this helps!
Asif
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Asif is absolutely correct... for WebLogic. It is important to understand that the transaction timeout is controlled in the vender deployment descriptor, not in the standard ejb descriptor (ejb-jar.xml). Therefore, the setting the transaction timeout of an ejb will differ between Application Servers.
 
reply
    Bookmark Topic Watch Topic
  • New Topic