I have a very large EJB application. Due to some bad code, i get org.jboss.util.deadlock.ApplicationDeadlockException
It is sometimes wrapped up in RemoteException or TransectionRolledBackException.
I tried <error-page> tag in jboss.xml but it could not prevent the application from being crashed.
As i can not catch it on each of my services, i want to find some way to handle them globally. Can Interceptors or listeners help me? I'm new to interceptors and listeners.
Thanks in Advance.