Bugs item #680956, was opened at 2003-02-05 15: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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jakob Spies (jspies)
Assigned to: David Jencks (d_jencks)
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.)
----------------------------------------------------------------------
>Comment By: David Jencks (d_jencks)
Date: 2003-02-16 19:55
Message:
Logged In: YES
user_id=60525
This is now fixed in 3.0.x, 3.2, and 4.
----------------------------------------------------------------------
Comment By: David Jencks (d_jencks)
Date: 2003-02-12 18:53
Message:
Logged In: YES
user_id=60525
Dain just fixed this in 3.0. One of us will be porting the fix to 3.2 and 4 shortly.
----------------------------------------------------------------------
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development