• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
If a regular clown is funny, then a larger clown would be funnier. Math. Verified by this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic