You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2005/10/27 16:02:47 UTC

svn commit: r328876 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/core/StandardContext.java webapps/docs/changelog.xml

Author: remm
Date: Thu Oct 27 07:02:41 2005
New Revision: 328876

URL: http://svn.apache.org/viewcvs?rev=328876&view=rev
Log:
- 37264: JNDI resources were no longer available when stopping listeners.
- Not tested well.
- Submitted by Bogdan Calmac.

Modified:
    tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java?rev=328876&r1=328875&r2=328876&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardContext.java Thu Oct 27 07:02:41 2005
@@ -4271,6 +4271,9 @@
         // Stop our filters
         filterStop();
 
+        // Stop our application listeners
+        listenerStop();
+
         // Stop ContainerBackgroundProcessor thread
         super.threadStop();
 
@@ -4301,9 +4304,6 @@
                 if (children[i] instanceof Lifecycle)
                     ((Lifecycle) children[i]).stop();
             }
-
-            // Stop our application listeners
-            listenerStop();
 
             // Clear all application-originated servlet context attributes
             if (context != null)

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=328876&r1=328875&r2=328876&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Thu Oct 27 07:02:41 2005
@@ -57,6 +57,10 @@
         set by the realm unless hasRole is overriden, which was no longer being done properly for
         the JAAS realm (remm)
       </fix>
+      <fix>
+        <bug>37264</bug>: JNDI resources were no longer available when stopping listeners,
+        submitted by Bogdan Calmac (remm)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">



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