• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Timeouts in ejb

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have a stateless session bean which calls a tuxedo transaction in a synchronous call. Since the tuxedo transaction can take a long time, I want to make sure that my bean's calling method keep waiting for that much period and doesnt get timed out.
Is there any configurable parameter by which I can control the timeout period in the EJB call ? Can we control the timeout period for weblogic 6.1 ? and if yes, how ?
Actually I am using the method as a business operation in the BPM studio. And I am looking for a confuration based solution rather than a code based solution since I might need to change the timeout period for various services.
Thanks in advance..
Mandar
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In weblogic-ejb-jar.xml in the weblogic-enterprise-bean section, set:

Default is 30 seconds.
http://e-docs.bea.com/wls/docs61/ejb/reference.html#1072610
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic