[Mulgara-general] MulgaraTransactionException

Edwin Shin eddie at fedora-commons.org
Tue Jul 15 09:54:54 PDT 2008


Unfortunately, switching to straight TQL isn't feasible at this point. I 
seem to recall Andrae saying that the JRDF interfaces ought to be up to 
snuff (see: 
http://mulgara.org/pipermail/mulgara-general/2007-November/000219.html).

One of our future work items is to stop using Trippi to mediate our 
access to Mulgara, but until then, we can't drop JRDF.

FWIW, I just ran a handful of runs against a remote Mulgara instance and 
wasn't able to provoke the bug at all.

On 07/16/2008 12:32 AM, Paul Gearon is rumored to have said:
> Hmmm, I don't know if any work has gone into keeping the JRDF
> interface up to date with the JTA and associated work.
> 
> What sort of operations are you doing with JRDF? Are is it feasible to use TQL?
> 
> Paul
> 
> On Tue, Jul 15, 2008 at 9:35 AM, Edwin Shin <eddie at fedora-commons.org> wrote:
>> I've been having some trouble running down an error our users have been
>> hitting with Mulgara. Unfortunately, while I can reproduce the error
>> quite regularly when inserting enough triples, I can't reproduce it when
>> I run it through a debugger, nor when I write a very simple unit test.
>> It seems to require at least some tens of thousands of triples to
>> provoke with any regularity, however.
>>
>> I'm not doing anything more complex than a bunch of inserts followed by
>> a session close. I am however using a LocalJRDFDatabaseSession.
>>
>> I'm hoping someone can throw me some pointers on what to look for in
>> running this down. This has been observed against Mulgara 1.1 and
>> against trunk (r1078).
>>
>>
>> ERROR 2008-07-15 22:23:12.729 [main] (MulgaraTransactionFactory)
>> Heuristic Rollback Failed on session close- aborting
>> ERROR 2008-07-15 22:23:12.729 [main] (MulgaraInternalTransaction)
>> Heuristic Rollback failed on session close - Aborting: 32803057,
>> state=ACTUNREF, inuse=1, using=0
>> org.mulgara.query.MulgaraTransactionException: Concurrent access
>> attempted to transaction: Transaction has NOT been rolledback.
>>        at
>> org.mulgara.resolver.MulgaraInternalTransaction.activate(MulgaraInternalTransaction.java:130)
>>        at
>> org.mulgara.resolver.MulgaraInternalTransaction.execute(MulgaraInternalTransaction.java:615)
>>        at
>> org.mulgara.resolver.MulgaraTransactionFactory.closingSession(MulgaraTransactionFactory.java:147)
>>        at
>> org.mulgara.resolver.MulgaraTransactionManager.closingSession(MulgaraTransactionManager.java:236)
>>        at org.mulgara.resolver.DatabaseSession.close(DatabaseSession.java:591)
>>        at org.trippi.impl.mulgara.MulgaraSession.close(MulgaraSession.java:77)
>> _______________________________________________
>> Mulgara-general mailing list
>> Mulgara-general at mulgara.org
>> http://mulgara.org/mailman/listinfo/mulgara-general
>>
> _______________________________________________
> Mulgara-general mailing list
> Mulgara-general at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-general



More information about the Mulgara-general mailing list