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

Reply via email to