You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2002/01/24 12:16:03 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup Main.java
larryi 02/01/24 03:16:03
Modified: src/share/org/apache/tomcat/startup Main.java
Log:
Provide some additional error output
Revision Changes Path
1.42 +7 -1 jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- Main.java 9 Sep 2001 00:46:28 -0000 1.41
+++ Main.java 24 Jan 2002 11:16:03 -0000 1.42
@@ -1,4 +1,4 @@
-/* $Id: Main.java,v 1.41 2001/09/09 00:46:28 costin Exp $
+/* $Id: Main.java,v 1.42 2002/01/24 11:16:03 larryi Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@@ -313,7 +313,13 @@
IntrospectionUtils.execute( proxy, "execute" );
} catch( Exception ex ) {
System.out.println("Guessed home=" + installDir);
+ System.out.println("Exception: " + ex);
ex.printStackTrace();
+ if( ex instanceof InvocationTargetException ) {
+ Throwable t = ((InvocationTargetException)ex).getTargetException();
+ System.out.println("Root Exception: " + t );
+ t.printStackTrace();
+ }
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>