tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r529038 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java webapps/docs/changelog.xml
Date Sun, 15 Apr 2007 17:47:24 GMT
Author: markt
Date: Sun Apr 15 10:47:24 2007
New Revision: 529038

URL: http://svn.apache.org/viewvc?view=rev&rev=529038
Log:
Fix bug 42039. Log a stack trace if a servlet throws an UnavailableException. Patch provided
by Kawasima Kazuh.

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

Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java?view=diff&rev=529038&r1=529037&r2=529038
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java
(original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java
Sun Apr 15 10:47:24 2007
@@ -127,6 +127,9 @@
                 servlet = wrapper.allocate();
             }
         } catch (UnavailableException e) {
+            container.getLogger().error(
+                    sm.getString("standardWrapper.allocateException",
+                            wrapper.getName()), e);
             long available = wrapper.getAvailable();
             if ((available > 0L) && (available < Long.MAX_VALUE)) {
             	response.setDateHeader("Retry-After", available);

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=529038&r1=529037&r2=529038
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sun Apr 15 10:47:24 2007
@@ -49,6 +49,10 @@
         <bug>40150</bug> Ensure user and roll classnames are validated on startup.
 Patch by
           Tom. (yoavs)
       </fix>
+      <fix>
+        <bug>42039</bug> Log a stack trace if a servlet throws an
+         UnavailableException. Patch provided by Kawasima Kazuh. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Webapps">



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


Mime
View raw message