• 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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys,
Due to a bad design, we put a batch job logic in a stateless container managed EJB...and now we are facing a problem that the transaction times out on WAS after 2 minutes which is of course quite useless to a batch job...We can not increase the timeout of app server cause it will affect other EJBS installed on it dramatically...So, my question we need a fast solution, cause the code is already in production!!! is there anyway to fix this? the options that i was thinking of is to change it to bean managed and set timeout in code...but is this feasible? because even this solution will require a lot of changes...which we are not really fond of....PLEASE HELP US OUT
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Quick and very dirty - start a new thread (I know it is not good practise but it worked for me)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic