tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Tue, 29 Apr 2003 20:11:02 GMT
remm        2003/04/29 13:11:02

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  - Stop listeners before stop, to fix JNDI access when stopping.
  
  Revision  Changes    Path
  1.49      +4 -4      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.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- StandardContext.java	29 Apr 2003 00:59:02 -0000	1.48
  +++ StandardContext.java	29 Apr 2003 20:11:01 -0000	1.49
  @@ -4233,6 +4233,9 @@
           // Stop our filters
           filterStop();
   
  +        // Stop our application listeners
  +        listenerStop();
  +
           // Finalize our character set mapper
           setCharsetMapper(null);
   
  @@ -4267,9 +4270,6 @@
                   if (mappers[(mappers.length-1)-i] instanceof Lifecycle)
                       ((Lifecycle) mappers[(mappers.length-1)-i]).stop();
               }
  -
  -            // Stop our application listeners
  -            listenerStop();
   
               // Stop resources
               resourcesStop();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message