Hi Joerg,

I made some tests but can not reproduce
your problem.
Maybe it's a synchronization problem
of concurrent threads?
A test case reproduce your problem
will be helpful.

> to release the locks. No changes were made since calling
checkpoint()---)
I checked this in a test, but all works fine

<snip>
tx.begin();
// store some objects
storeObjects(tx, getNewODMGZoos(3, name));
tx.checkpoint();
tx.commit();
</snip>

regards,
Armin

----- Original Message -----
From: "Joerg Lensing" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Monday, June 23, 2003 5:20 PM
Subject: Re: abort transaction causes TransactionNotInProgressException


> Armin Waibel schrieb:
>
> >Hi Joerg,
> >
> >could you post more stack trace?
> >OJB version? standalone?
> >
> >regards,
> >Armin
> >
> >
> hi armin,
> ojb-version is rc3. Now I tried to use "commit()" instead of
>  "abort"(---should result in the same state because I use it
> to release the locks. No changes were made since calling
checkpoint()---)
> . But sometimes
> objectEnvelopeTable in "TransactionImpl.doAbort()"  is null (->
> NullpointerException)
>
>
>
> java.lang.NullPointerException
> at
org.apache.ojb.odmg.TransactionImpl.doClose(TransactionImpl.java:398)
> at
org.apache.ojb.odmg.TransactionImpl.commit(TransactionImpl.java:568)
> at
de.softcon.webcontrol.integration.data.ojb.OjbDAOTransactionHandler.comm
itTransaction(OjbDAOTransactionHandler.java:54)
>
>
>
> TransactionImpl.doAbort
>
> joerg
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to