User: starksm 
  Date: 02/04/18 06:22:48

  Modified:    src/main/org/jboss/ejb/plugins Tag: Branch_3_0
                        AbstractInstanceCache.java
  Log:
  The call to register with the passivation thread was lost in the last change.
  This restores the registration.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.30.2.2  +7 -2      jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java
  
  Index: AbstractInstanceCache.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java,v
  retrieving revision 1.30.2.1
  retrieving revision 1.30.2.2
  diff -u -r1.30.2.1 -r1.30.2.2
  --- AbstractInstanceCache.java        17 Apr 2002 20:17:56 -0000      1.30.2.1
  +++ AbstractInstanceCache.java        18 Apr 2002 13:22:46 -0000      1.30.2.2
  @@ -48,7 +48,7 @@
    * @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
    * @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
    *
  - * @version $Revision: 1.30.2.1 $
  + * @version $Revision: 1.30.2.2 $
    *
    *   <p><b>Revisions:</b>
    *
  @@ -181,6 +181,7 @@
                  catch (Exception x)
                  {
                     freeContext(ctx);
  +                  log.error("Activation failure", x);
                     throw new NoSuchObjectException(x.getMessage());
                  }
               }
  @@ -639,7 +640,11 @@
               {
                  if (m_passivationJobs.get(key) == null)
                  {
  -
  +                  // Register job   
  +                   m_passivationJobs.put(key, job);   
  +    
  +                   // Schedule the job for passivation   
  +                   m_passivator.putJob(job); 
                  }
                  else
                  {
  
  
  

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

Reply via email to