Change Notes item #517250, was opened at 2002-02-13 15:33
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=517250&group_id=22866
Category: None
Group: v2.4.5
Status: Open
Priority: 5
Submitted By: Bill Burke (patriot1burke)
Assigned to: Nobody/Anonymous (nobody)
Summary: added entity bean deadlock detection
Initial Comment:
Added application deadlock detection to Entity Beans.
If application deadlock is detected and exception is
thrown. This will help out with debugging because
users can look at the stack trace and actually
positively know they have application deadlock.
org.jboss.ejb.plugins.lock.ApplicationDeadlockException
is now thrown if application deadlock is detected.
On the client side, you'll need to catch it as
follows:
catch (RemoteException de)
{
Throwable cause = null;
RemoteException dex = de;
while (dex.detail != null) {
cause = dex.detail;
if (cause instanceof RemoteException)
{
dex = (RemoteException)cause;
}
else {
break;
}
}
if (cause instanceof
ApplicationDeadlockException) {
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=517250&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development