pero 2004/12/01 03:08:50 Modified: catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java Log: Send destory to remove Context Revision Changes Path 1.32 +8 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java Index: MBeanFactory.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- MBeanFactory.java 29 Sep 2004 09:55:38 -0000 1.31 +++ MBeanFactory.java 1 Dec 2004 11:08:50 -0000 1.32 @@ -1006,6 +1006,13 @@ Context context = (Context) host.findChild(pathStr); // Remove this component from its parent component host.removeChild(context); + if(context instanceof StandardContext) + try { + ((StandardContext)context).destroy(); + } catch (Exception e) { + log.warn("Error during context [" + context.getName() + "] destroy ", e); + } + } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]