tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1441342 - /tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
Date Fri, 01 Feb 2013 08:44:37 GMT
Author: kkolinko
Date: Fri Feb  1 08:44:36 2013
New Revision: 1441342

URL: http://svn.apache.org/viewvc?rev=1441342&view=rev
Log:
Review of r1440096 (r1440095)
Include the exception in the error message if the parsing fails.
digester.parse() is called several times in HostConfig.java, so I am fixing the rest of those
calls.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=1441342&r1=1441341&r2=1441342&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Fri Feb  1 08:44:36 2013
@@ -842,7 +842,7 @@ public class HostConfig
                     } catch (Exception e) {
                         log.error(sm.getString(
                                 "hostConfig.deployDescriptor.error",
-                                war.getAbsolutePath()));
+                                war.getAbsolutePath()), e);
                     } finally {
                         if (context == null) {
                             context = new FailedContext();
@@ -862,7 +862,7 @@ public class HostConfig
                     } catch (Exception e) {
                         log.error(sm.getString(
                                 "hostConfig.deployDescriptor.error",
-                                war.getAbsolutePath()));
+                                war.getAbsolutePath()), e);
                     } finally {
                         if (context == null) {
                             context = new FailedContext();
@@ -1007,7 +1007,7 @@ public class HostConfig
                     } catch (Exception e) {
                         log.error(sm.getString(
                                 "hostConfig.deployDescriptor.error",
-                                xml));
+                                xml), e);
                     } finally {
                         if (context == null) {
                             context = new FailedContext();



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


Mime
View raw message