jfarcand 2003/07/22 21:02:29 Modified: catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java Log: When using the embedded interface (or jmx directly), context are never removed because of this condition (mapper.removeContext is never called). Then if you re-deploy the same app, The Mapper will maps the http call to the first Mapper's context object, which is an invalid (orphan) object. The client always receives a 503 (since the context is invalid and marked as unavailable). Removing the condition doesn't have any side effect (but fix the problem). Revision Changes Path 1.9 +1 -8 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.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- MapperListener.java 14 Jul 2003 02:54:52 -0000 1.8 +++ MapperListener.java 23 Jul 2003 04:02:29 -0000 1.9 @@ -218,14 +218,7 @@ } } } - if ( ! "*".equals( domain ) && - ! domain.equals( objectName.getDomain() ) && - ! domain.equals( engineName ) ) { - // A different domain - not ours - if( j2eeType!=null ) - log.debug("MBean in different domain " + objectName); - 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]