User: mnf999  
  Date: 01/08/01 14:25:42

  Modified:    src/main/org/jboss/ejb BeanLock.java
  Log:
  Timeout in the wait
  
  Revision  Changes    Path
  1.2       +5 -6      jboss/src/main/org/jboss/ejb/BeanLock.java
  
  Index: BeanLock.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/BeanLock.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BeanLock.java     2001/08/01 19:48:23     1.1
  +++ BeanLock.java     2001/08/01 21:25:42     1.2
  @@ -32,7 +32,7 @@
    * @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
    * @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
    *
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    *
    * <p><b>Revisions:</b><br>
   *  <p><b>2001/07/29: billb</b>
  @@ -179,10 +179,9 @@
                     syncAlreadyReleased = true;
                     releaseSync(); 
   
  -                  //FIXME: use this line when 2.5 is released otherwise
  -                  // transaction timeouts will never happen.
  -                  // txLocks.get(miTx).wait(txTimeout);
  -                  txLocks.get(miTx).wait(); 
  +                  
  +                  txLocks.get(miTx).wait(txTimeout);
  +                  //txLocks.get(miTx).wait(); 
                  }
                  if( trace ) log.trace("End wait on TxLock="+tx);
               }
  @@ -224,8 +223,8 @@
         
                        //FIXME: use this line when 2.5 is released otherwise
                        // transaction timeouts will never happen.
  -                     // currentLock.wait(txTimeout);
  -                     currentLock.wait(); 
  +                      currentLock.wait(txTimeout);
  +                     //currentLock.wait(); 
                     }
                  }
       
  
  
  

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

Reply via email to