Also, prehaps the code would be better always invoking the delegate XAResource
with the end() call, but then only log the warning if we are not already destroyed,
e.g.
| public void end(Xid xid, int flags) throws XAException
| {
| try
| {
| delegate.end(xid, flags);
| }
| catch (Throwable t)
| {
| // We log the warning (UNLESS WE ARE ALREADY DESTROYED) and force a
rollback
| if (cl.getState() != ConnectionListener.DESTROYED)
| log.warn("Error ending resource " + cl, t);
| ...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007755#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...