jfarcand 2004/02/04 09:28:28 Modified: catalina/src/share/org/apache/catalina/core StandardContext.java Log: When using the embedded interface and calling removeChild(..), the mbean wasn't unregistered. That's only occurs when you call removeChild. The mbean is always unregistered when calling addChild (StandardContext.start()) Revision Changes Path 1.115 +4 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java Index: StandardContext.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v retrieving revision 1.114 retrieving revision 1.115 diff -u -r1.114 -r1.115 --- StandardContext.java 27 Jan 2004 23:18:19 -0000 1.114 +++ StandardContext.java 4 Feb 2004 17:28:28 -0000 1.115 @@ -4536,6 +4536,9 @@ // If you extend this - override this method and make sure to clean up children=new HashMap(); log.debug("resetContext " + oname + " " + mserver); + // Unregister the mbean so when ContainerBase.removeChild() is called + // the associated mbean is unregistered. + destroy(); } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]