Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Problem with Tomcat


Message #1 by "Hector Carcedo" <hector.carcedo@w...> on Fri, 2 Feb 2001 16:03:05 -0000
Hi

Add these 2 in CLASSPATH 
C:\Tomcat\lib\Servlet.jar;C:\Tomcat\lib;
Or accordingly to the path.

Regards
Deepak

--- Hector Carcedo <hector.carcedo@w...> wrote:
> When i try to run any servlet or jsp file i get the
> following error:
> 
> Error: 500
> 
> Location: /examples/servlet/HelloWorldExample
> 
> Internal Servlet Error:
> 
> java.lang.NullPointerException
>                 at
>
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:175)
>                 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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
> 
>                 at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> 
>                 at java.lang.Thread.run(Thread.java:484)
> 
> can anybody help me with this?
> 
> i'm using jdk1.3
> 
> thanks
> 
> Hector


  Return to Index