> I'm pretty sure it is not an error in the server.xml. As an experiment, I > tried remarking out the Tomcat-Apache service section, so that only > Tomcat-Standalone would be used, especially since I am not running > Apache. In that case, Tomcat wouldn't even start up. So then, I started > using the server-no-examples.xml.config file as the server.xml file. I > haven't touched this file, and I still get the same result. I've never > touched the web.xml, so it is using the same one. > > When Tomcat starts up, the catalina_log file looks great. But I soon as a > browser tries to go to http://localhost:8080, the HTTP 500 - Internal > Server Error shows up in the browser, and the following exception appears > in the cataline_log file. Obviously, I started looking into the valves > section of the server.xml, but again not this is an unmodified version of > the server-no-examples file, and I sure don't see anything wrong with the > valves. > > I'm wondering if I shouldn't just punt on Tomcat 4.0.1, and instead install > Tomcat 3. Is anyone using Tomcat 4 for a production system? Any thoughts > on stability of Tomcat 4 v.s. Tomcat 3? It appeared to work OK, but now I > just can't get anything to work...
It's a bug which happens because your context mapping is incorrect (there's probably no root context, or something like that). Getting a NPE in that case is a bug, and will be fixed, but the request will still fail. Remy > java.lang.NullPointerException > at > org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve. java:280) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:180) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) > at java.lang.Thread.run(Unknown Source) > > -- Jim ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
