Werner,
I have problems with this waiting thing.
This object is loaded by 2 transactions.
One of them is trying to change the object, and there are 2 situations:
1. This transactions wait eternally for the object and everything hangs 
literally forever.
2. If both transacations try to change the object Castor detects deadlock and 
rollbacks both transactions. Shouldn't one of them be allowed to commit?

The access is shared (default) to this class' objects.

Regards,
Emir



----- Original Message -----
Od: [EMAIL PROTECTED]
Datum: Srijeda, Februar 23, 2005 10:17 am
Predmet: [castor-user] [JDO] Waiting for object...

> 
> Hi,
> In my code I'm trying to load an object and here's what I receive:
> 
> 
> 23 Feb 2005 10:18:45.906 [DEBUG] [Thread-0] 
> [org.exolab.castor.persist.ObjectLock] - Waiting on 
> xx.xx.xx.xx.Channel/2/2 R/- by 
> [EMAIL PROTECTED] Feb 
> 2005 10:18:55.906 [DEBUG] [Thread-0] 
> [org.exolab.castor.persist.ObjectLock] - Waiting on 
> xx.xx.xx.xx.Channel/2/2/2/2 R/- by 
> [EMAIL PROTECTED]
> After these two lines, my app hangs.
> 
> Anyone, pls?
> 
> 
> Regards,
> Emir
> 
> 
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
> 
> 



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to