You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by am...@apache.org on 2002/08/01 03:41:43 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardHostDeployer.java
amyroh 2002/07/31 18:41:43
Modified: catalina/src/share/org/apache/catalina/core
StandardHostDeployer.java
Log:
Minor change that fixes a bug when an application is undeployed (removed),
ContatinerEvent with the value of REMOVE_EVENT is fired.
Submitted by Jeanfrancois Arcand.
Revision Changes Path
1.10 +5 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java
Index: StandardHostDeployer.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- StandardHostDeployer.java 9 Apr 2002 23:48:21 -0000 1.9
+++ StandardHostDeployer.java 1 Aug 2002 01:41:43 -0000 1.10
@@ -418,6 +418,7 @@
host.log(sm.getString("standardHost.removing", contextPath));
try {
host.removeChild(context);
+ host.fireContainerEvent(REMOVE_EVENT, context);
} catch (Exception e) {
host.log(sm.getString("standardHost.removeError", contextPath), e);
throw new IOException(e.toString());
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>