Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Jboss fails to detect Deadlocks

 
Greenhorn
Posts: 23
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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!!
 
Get me the mayor's office! I need to tell him about this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic