You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Wang, Jianming" <Ji...@tfn.com> on 2000/09/26 19:43:17 UTC
RE: why it can not locate files
Hello, every guru,
I installed the Tomcat 3.1 and configured it following the instructions. I
try to run the tomcat examples, by typing http://localhost:8080/examples,
but it always gives the error
Error: 500
Location: /examples
Internal Servlet Error:
java.lang.NullPointerException
at
org.apache.tomcat.servlets.DefaultServlet.serveFile(DefaultServlet.java:301)
at
org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:484)
I checked server.xml and the default web.xml. Everything are OK. But why
this error comes up? Can any guru point me to the right direction. Thank
you very much.
JW.