List Info

Thread: Slide JCA - Transaction rollback doesn't work on Weblogic?




Slide JCA - Transaction rollback doesn't work on Weblogic?
user name
2006-08-29 21:14:00
Hi All -

I'm trying to push files to an apache mod_dav
implementation using the
slide JCA implementation. Everything during the normal
course seems to
work fine. However, I noticed when debugging my code that
when a
rollback is issued, the files that I pushed during the
transaction are
not removed (which would be my expectation). I checked the
ra.xml file
and transaction support is set to XATransaction. I can't
figure out
what's going on. Does anyone know of any debug flags I can
flip on to
figure out what's happening during rollback? Also, the
service I'm
connecting to does not support locking if that makes a
difference?


thanks,

Matt

-- 
"Those who profess to favor freedom, and yet
depreciate agitation, are
men who want rain without thunder and lightning." --
Frederick
Douglass
"They that can give up essential liberty to obtain a
little temporary
safety deserve neither liberty nor safety." --
Benjamin Franklin
"I would rather be exposed to the inconveniences
attending too much
liberty than to those attending too small a degree of
it." -- Thomas
Jefferson

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

Slide JCA - Transaction rollback doesn't work on Weblogic?
user name
2006-08-29 21:21:32
One other thing I forgot to mention. In order to get the JCA
implementation working at all, I had to modify the Slide JCA
implementation to add an Interaction that would return the
underlying
WEBDavConnection. The reason for this is that Weblogic
places a Proxy
class between the WEBDavConnection and you when you get a
connection
from the connection factory. This prevents you from directly
casting
the Connection to a WEBDavConnection - hence the need for
the
interaction which gives me the real WEBDavConnection. I'm
not sure if
this matters as I'm not sure how the WEBDavResource is
enrolled into
the transaction.

thanks again,

Matt

On 8/29/06, Matthew Roland <boris73gmail.com> wrote:
> Hi All -
>
> I'm trying to push files to an apache mod_dav
implementation using the
> slide JCA implementation. Everything during the normal
course seems to
> work fine. However, I noticed when debugging my code
that when a
> rollback is issued, the files that I pushed during the
transaction are
> not removed (which would be my expectation). I checked
the ra.xml file
> and transaction support is set to XATransaction. I
can't figure out
> what's going on. Does anyone know of any debug flags I
can flip on to
> figure out what's happening during rollback? Also, the
service I'm
> connecting to does not support locking if that makes a
difference?
>
>
> thanks,
>
> Matt
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )