• 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

JBoss - Deadlock

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. Sorry for my English.
Sometimes my Enterprise application on JBoss 3.2.6 throw exception:


Help pleas, what does it means? How to solve this problem?
Thanks You!
 
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that this link explains well what happened:

Application deadlock detected
 
Andris Sigs
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks You!

Can you please help me to explain this exception? Which beans is locked?

It is correct?:
One process locked BuildingChanger and wants to lock gn/City, but another process in same time locked gn/City and wants to lock gn/BuildingChanger?

Thanks You!
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know whether it's totaly correct, but this is a possibility.

You have two beans City and State and two threads Country and Continent.

What is deadlock ?

A deadlock is a situation in which two or more competing actions are each waiting for the other to finish.

Deadlock

Thus, when you have Country trying acess to City (bean) and Continent trying acess to City too and Country don't finished yet then you have a deadlock.

In other words, you have two process trying acess to the same class, at the same time, it is a possibility.
 
reply
    Bookmark Topic Watch Topic
  • New Topic