You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Matthew Roland <bo...@gmail.com> on 2006/08/29 23:14:00 UTC

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

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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


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

Posted by Matthew Roland <bo...@gmail.com>.
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 <bo...@gmail.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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org