tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: 500 error
Date Mon, 12 Jun 2000 19:24:11 GMT
I had this happen due to an older JSDK.jar file hanging around
in the classpath.

Jing Chen He wrote:
> 
> Can anyone help?
> 
> I am a new Tomcat user.  I downloaded the UNIX version of
> Tomcat to my Solaris 2.6 machine.  I did the installation/setup
> according to the Getting Started section in the Minimalistic
> User's Guide.  I am using it as standalone.  I set the TOMCAT_HOME
> and JAVA_HOME as instructed, and run startup.sh.
> 
> When I tried to access: http://localhost:8080/examples
> 
> I got the following error:
> 
> ------------------------------------------------------------------------
> Error: 500
> 
> Location: /examples
> 
> Internal Servlet Error:
> 
> java.lang.NullPointerException
>         at org.apache.tomcat.servlets.DefaultServlet.serveFile(DefaultServlet.java, Compiled
Code)
>         at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java, Compiled
Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
>         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled
Code)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
>         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, Compiled Code)
> 
> ------------------------------------------------------------------------------
> 
> Can anyone tell me what was wrong?
> 
> Thanks.
> 
> Jing
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

-- 
WBB - wbrogden@bga.com  Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam
at  http://www.lanw.com/java/javacert/

Mime
View raw message