jfarcand    2003/07/23 10:44:37

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        MapperListener.java
  Log:
  Better solution for the undeployment problem. the engineName is always null when 
undeploying an application.
  
  Revision  Changes    Path
  1.10      +8 -0      
jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/MapperListener.java
  
  Index: MapperListener.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/MapperListener.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MapperListener.java       23 Jul 2003 04:02:29 -0000      1.9
  +++ MapperListener.java       23 Jul 2003 17:44:37 -0000      1.10
  @@ -219,6 +219,14 @@
                   }
               }
   
  +            // At deployment time, engineName is always = null.
  +            if ( (!"*".equals(domain)) &&
  +                 ( !domain.equals(objectName.getDomain()) ) &&
  +                 ( (!domain.equals(engineName) ) &&
  +                   (engineName != null) ) )  {
  +                return;
  +            }
  +
               log.debug( "Handle " + objectName );    
               if (notification.getType().equals
                   (MBeanServerNotification.REGISTRATION_NOTIFICATION)) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to