Author: markt
Date: Thu Feb 18 09:59:39 2010
New Revision: 911301

URL: http://svn.apache.org/viewvc?rev=911301&view=rev
Log:
Add some debug logging where exceptions where previously swallowed

Modified:
    tomcat/tc6.0.x/trunk/STATUS.txt
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=911301&r1=911300&r2=911301&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 18 09:59:39 2010
@@ -76,11 +76,6 @@
                if we remove the SCP auto feature, then there should be 
something to replace it with
                (http://ant.apache.org/manual/OptionalTasks/scp.html)  
 
-* Add some debug logging where exceptions where previously swallowed
-  http://svn.apache.org/viewvc?rev=904834&view=rev
-  +1: markt, kkolinko, mturk
-  -1:
-
 * Fix various EL TCK failures
   http://svn.apache.org/viewvc?view=rev&rev=899653 (signatures)
    +1: markt, kkolinko

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java?rev=911301&r1=911300&r2=911301&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Compiler.java Thu Feb 
18 09:59:39 2010
@@ -419,6 +419,7 @@
             }
             uc.getInputStream().close();
         } catch (Exception e) {
+            log.debug("Problem accessing resource. Treat as outdated.", e);
             return true;
         }
 
@@ -481,6 +482,7 @@
                     return true;
                 }
             } catch (Exception e) {
+                log.debug("Problem accessing resource. Treat as outdated.", e);
                 return true;
             }
         }

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=911301&r1=911300&r2=911301&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Thu Feb 18 09:59:39 2010
@@ -47,6 +47,14 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Jasper">
+    <changelog>
+      <add>
+        Add some debug logging to the compiler where exceptions were previously
+        swallowed. (markt)
+      </add>
+    </changelog>
+  </subsection>
   <subsection name="Cluster">
     <changelog>
       <fix>



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

Reply via email to