|
I honestly can't say that I understand why that final
rollback is even there or if there are cases where it actually does perform the
rollback. It certainly is redundant in the scenario I'm
seeing.
My gut says to fix it for the scenario and not remove
something that may have a purpose. What I would do is add a check to
verify that the TransactionImpl is not in STATUS_NO_TRANSACTION status before
trying to roll it back. It has other, similar checks already. Just
not that one.
I'm
going to be looking into getting a build of the Geronimo Transaction Manager
this morning. If that work I can try to come up with a patch of some
sort.
From: David Jencks [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 6:05 PM To: [email protected] Subject: Re: GeronimoTransactionManager IllegalStateException: Status is STATUS_NO_TRANSACTION On Aug 18, 2006, at 5:36 PM, Cameron, David A wrote:
I think that the latest code does away with the TransactionContextManager
entirely which might remove this problem. However I don't think this
version of jencks has been released: certainly the geronimo code it uses hasn't
been released officially.
I think we could still patch the geronimo code similar to what's used in
jencks 1.2 to avoid this problem in the g 1.1.2 release.
I suspect the final call to rollback can be removed entirely. What do
you think?
thanks
david jencks
|
- RE: GeronimoTransactionManager IllegalStateException: Sta... Cameron, David A
- Re: GeronimoTransactionManager IllegalStateException... Joerg Heinicke
- RE: GeronimoTransactionManager IllegalStateException... Cameron, David A
- RE: GeronimoTransactionManager IllegalStateException... Cameron, David A
