You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luis Luévano <lu...@hotmail.com> on 2000/12/05 19:35:24 UTC

Problem running tomcat with Apache

Hi:

    I have an issue running tomcat with Apache. Tomcat itself works fine, but with Apache only the servlets examples don't work (and any servlet). The following error occur:

Error: 500

Location: /examples/servlet/HelloWorldExample

Internal Servlet Error:

java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:320)
        at org.apache.tomcat.request.SimpleMapper.getPathMatch(SimpleMapper.java:352)
        at org.apache.tomcat.request.SimpleMapper.findContainer(SimpleMapper.java:239)
        at org.apache.tomcat.request.SimpleMapper.requestMap(SimpleMapper.java:188)
        at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:594)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:552)
        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)

    I have a Win98 machine with Apache 1.3.12 and tomcat 3.1. I appreciate any help.

Thanks.

    Luis Luévano