"DUTTA,SATADIP (HP-FtCollins,ex1)" wrote:
>
> Hello
> We are using castor along with MySQL.
> Our application is multi threaded and each thread can read/write from/to
> the database.
>
> when our code executes we are getting the error
>
> "This thread is already associated with a transaction in progress"
> This is followed by some rollbacks
>
> "Persistence Layer::getSpecificNodeGroup Transaction not in progress -- must
> open a Transaction in order to perform this operation"
>
> "Persistence Layer:: rollback in getSpecificNodeGroup This transaction is
> not open"
>
> The database writes and reads from different tables but it appears that
> multiple transactions are failing even though the transactions are related
> to different tables.
>
> we then tried to just to a bunch of interlaced begin txn's and commit txns
> and our tests are failing.
>
> Is there something that we need to implement or do to perform multiple
> transactions
>
> Any help or pointers will be greatly appreciated
>
> With Regards
Dutta,
CastorJDO itself is not thread safe and maybe that's the problem.
Performing multiple transactions is just fine. It almost sounds like the
transactions are colliding. Can you post some sample code?
Bruce
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev