You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John J Brecht <jo...@sri.com> on 2000/06/28 19:58:19 UTC
Re: 404 - more info
I don't know if this helps, or if it's a completely separate issue, but
if I try to point at a file, I get an error like this:
Error: 500
Location: /admin/index.html
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,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)
John J Brecht wrote:
>
> That didn't solve my problem. I read the email in the archive you refer
> to. I do not have the same problem. Tomcat starts up without complaint
> for me, it just can't find anything.
>
> -john
>
> "McCoy, Jim" wrote:
> >
> > John,
> > I had to add a "context.log" entry to server.xml to make it work. That was
> > buried in the archives somewhere. Just copy one of the other log entries and
> > change the name to context.
> >
> > > -----Original Message-----
> > > From: John J Brecht [SMTP:john.brecht@sri.com]
> > > Sent: Wednesday, June 28, 2000 11:30 AM
> > > To: Tomcat
> > > Subject: 404
> > >
> > > I installed Tomcat on my Win NT 4.0 machine (w/ SP4) on which I am
> > > running JDK 1.2.2. I used the default installation (that is, I didn't
> > > change any of the config files established by the first running of
> > > Tomcat.) When I simply go to http://localhost:8080/ I get the error:
> > >
> > > Error: 404
> > > Location: /
> > > File Not Found
> > > /
> > >
> > >
> > > Any ideas what may be my problem? (I've gone over the archives and FAQs
> > > already. None of the issues mentioned in the FAQ are causing my
> > > problem.)
> > >
> > > -john
> > >
> > > --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org