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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to