Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Jboss fails to detect Deadlocks

 
Greenhorn
Posts: 23
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss 4.0.2 fails to detect deadlocks. It hangs(waits for a transaction to complete) for the time specified as ejbtimeout and than throws a Timeout exception.
I developed some deadlock recovery mechanism but what can i do if Jboss doesn't tell me about an occurrence of an ApplicationDeadlockException. I have a timeout of 300 seconds so it hangs for 5 minutes and than throws a transactionRolledBack Exception. I'm pretty sure that the reason for timeout is deadlock.

I can not restructure the code to prevent deadlocks. The only thing i want to do is to handle the situation and save my system from being crashed. After timeout, i am able to handle the system but it takes 5 minutes to recover!!
reply
    Bookmark Topic Watch Topic
  • New Topic