jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume ...@nuxeo.com>
Subject Re: Versioning bug with restore and transactions
Date Mon, 11 Sep 2006 13:31:21 GMT
Florent Guillaume wrote:
> Tobias Bocanegra wrote:
>> you can't use the xaresource directly
> Why? I'm using an API that's legitimate and public.
>> you need to create a user transaction.
> I'm the sole user of Jackrabbit and the transactions here. Behind the 
> scene, a user transaction does exactly what I do: xaresource.start() 
> with the proper arguments, do some work then end() it and commit() it. 
> Jackrabbit's 
> test/java/org/apache/jackrabbit/core/UserTransactionImpl.java is pretty 
> simple.
>> and you can use the transaction only once.
> I've updated my code to use different xid instances for each 
> transaction, and it still crashes. Updated jython code attached.

Hm ok it may be a problem with how my DummyXid class manages its globalTxId.
I'll implement a proper one and see what it gives.


Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg@nuxeo.com

View raw message