Author: markt
Date: Mon Jul 4 12:50:24 2011
New Revision: 1142643
URL: http://svn.apache.org/viewvc?rev=1142643&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51467
start() not run()
Patch provided by Felix Schumacher
Modified:
tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1142643&r1=1142642&r2=1142643&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Mon Jul 4
12:50:24 2011
@@ -5478,7 +5478,7 @@ public class StandardContext extends Con
Thread t = new Thread(stop);
t.setName("stop children - " + getObjectName().toString());
- t.run();
+ t.start();
try {
t.join();
} catch (InterruptedException e) {
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1142643&r1=1142642&r2=1142643&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jul 4 12:50:24 2011
@@ -65,6 +65,11 @@
<bug>51466</bug>: Correct comment typos in HostManagerServlet. Patch
provided by Felix Schumacher. (markt)
</fix>
+ <fix>
+ <bug>51467</bug>: Invoke Thread.start() rather than Thread.run() so
that
+ listeners and filters are stopped in a separate thread rather than the
+ current thread. Patch provided by Felix Schumacher. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]