|BeanLock.clearLocks or something like that?  Or, maybe your way is better.
|Shit, I thought I was done looking at this locking code(I bet you were too
|;)

Oh I am done biiiiotch! I am done :)

|I don't have time to do this now.  I'll log a bug about this.

yes, it is real but kinda "obscure" :) WANT TO COMMIT RH!!!!

marcf

|
|Bill
|
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]]On Behalf Of marc
|> fleury
|> Sent: Tuesday, August 28, 2001 3:34 PM
|> To: [EMAIL PROTECTED]
|> Subject: RE: [JBoss-dev] transaction timeouts broken?
|>
|>
|> That's interesting,
|>
|> if an entity is tied in a transaction and the transaction times
|> out how can
|> we make sure that the entity is notified of the event?
|>
|> I guess one solution is to let new threads coming in make sure that the
|> transaction with the entity is not timed out...we must take care about
|> coding the "exit" of the first thread (i.e. if cleaned up then
|> don't clean).
|>
|> That would work but requires care in coding.
|>
|> marcf
|>
|>
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]]On Behalf Of Bill
|> Burke
|> Sent: Tuesday, August 28, 2001 3:17 PM
|> To: Jboss-Development@Lists. Sourceforge. Net
|> Subject: [JBoss-dev] transaction timeouts broken?
|>
|>
|> JBoss uses pessimistic locking.  So as an entity bean is
|accessed within a
|> transaction it is pessimistically locked.
|>
|> What if the thread that is the transaction is tied up blocking forever on
|> I/O?  Yes, the TM will mark the transaction as rolled back, but
|the entity
|> beans locked within the transaction will not be released because
|> the thread
|> will never wakeup and realize it must do a rollback.  Am I wrong here?
|>
|> Regards,
|>
|> Bill
|>
|>
|> _______________________________________________
|> Jboss-development mailing list
|> [EMAIL PROTECTED]
|> http://lists.sourceforge.net/lists/listinfo/jboss-development
|>
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to