• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Transaction Timeout

 
Simona
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • 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)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!