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:40:49 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardHostDeployer.java

amyroh      2002/07/31 18:40:49

  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.2       +5 -4      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java
  
  Index: StandardHostDeployer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostDeployer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StandardHostDeployer.java	18 Jul 2002 16:48:05 -0000	1.1
  +++ StandardHostDeployer.java	1 Aug 2002 01:40:49 -0000	1.2
  @@ -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>