You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by ru...@us.ibm.com on 2000/02/26 22:24:54 UTC
Re: 3.1.M2 ( Re: Announcing v3.1_m2_rc2 for Tomcat, Watchdog, and
Ant)
Freddie Mendoza wrote:
> Error loading default servlet
> org.apache.tomcat.core.TomcatException: Error loading default error
servlet
At the moment, that's the error you see if there is any problems at all in
processing the configuration.
If you are confortable rebuilding the code, for a short-term fix, try
putting the following into the code. Otherwise, try picking up a current
"nightly" release.
I'll continue to look into better solutions.
1.18 +1 -0
jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java
Index: DefaultCMSetter.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- DefaultCMSetter.java 2000/02/22 22:53:22 1.17
+++ DefaultCMSetter.java 2000/02/26 19:41:42 1.18
@@ -144,6 +144,7 @@
errorWrapper.loadServlet();
} catch( Exception ex ) {
System.out.println("Error loading default servlet ");
+ ex.printStackTrace();
// XXX remove this context from CM
throw new TomcatException( "Error loading default error servlet ",
ex );
}
- Sam Ruby