Bugs item #680956, was opened at 2003-02-05 16:04
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=680956&group_id=22866
Category: JBossTX
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Jakob Spies (jspies)
Assigned to: Nobody/Anonymous (nobody)
Summary: TxCapsule.doBeforeCompletion: exception swallowed
Initial Comment:
OS: Mac OS X 10.2.3
JDK 1.3.1
The method org.jboss.tm.TxCapsule.doBeforeCompletion in
JBoss 3.0.4 contains the following code:
try
{
if (trace)
{
log.trace("calling sync " + i + ", "
+ sync[i]);
} // end of if ()
sync[i].beforeCompletion();
} catch (Throwable t)
{
if (trace)
{
log.trace("failed before completion", t);
}
status = Status.STATUS_MARKED_ROLLBACK;
break;
}
}
This means that if sync[i].beforeCompletion() throws an
exception and trace == false, the exception with all
its error information is thrown into the bit bucket. I
consider this a bug.
(In my case e.g., sync[i] represents a JCA resource
adapter for JDO, and I would not have been able to find
the cause (a database issue) for a transaction rollback
without debugging into JBoss.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=680956&group_id=22866
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development