You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arturo Koosau <ar...@jackinthebox.com> on 2002/08/30 19:56:51 UTC

[users@httpd] Error: 500

Hello,

I am using Apache 1.3.14 and Tomcat as a Servlet  Server
and I am getting the following error:

Error: 500
Location: /servlet/What
Internal Servlet Error:
java.lang.NoClassDefFoundError: org/apache/xerces/dom/NamedNodeMapImpl
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at What.printVer(What.java:88)
           at What.doGet(What.java:47)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java)
           at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
           at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
           at org.apache.tomcat.core.Handler.service(Handler.java:235)
           at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
           at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)

           at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
           at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)

           at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
           at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)

           at java.lang.Thread.run(Unknown Source)

I am a newbie with this web server stuff,  so any direction as to how to
troubleshoot this problem is very
much appreciated.

The error_log file does not have any entries,  but the access_log file has
the following:

10.100.138.65 - - [30/Aug/2002:10:48:48 -0700] "GET /servlet/What HTTP/1.1"
401 483
10.100.138.65 - koosau [30/Aug/2002:10:48:53 -0700] "GET /servlet/What
HTTP/1.1" 500 1254




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Error: 500

Posted by Ion Larranaga <il...@s21sec.com>.
Looks like your servlet is failing because it can't find a library it
requires (most likely the whole xerces is missing). Download xerces.jar and
put it in the lib directory of your webapp.

Anyway, this question will be better answered at the Tomcat user list
(tomcat-user@jakarta.apache.org)

  Ion Larranaga

-----Mensaje original-----
De: Arturo Koosau [mailto:arturo.koosau@jackinthebox.com]
Enviado el: viernes, 30 de agosto de 2002 19:57
Para: users@httpd.apache.org
Asunto: [users@httpd] Error: 500


Hello,

I am using Apache 1.3.14 and Tomcat as a Servlet  Server
and I am getting the following error:

Error: 500
Location: /servlet/What
Internal Servlet Error:
java.lang.NoClassDefFoundError: org/apache/xerces/dom/NamedNodeMapImpl
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at What.printVer(What.java:88)
           at What.doGet(What.java:47)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java)
           at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
           at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
           at org.apache.tomcat.core.Handler.service(Handler.java:235)
           at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
           at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)

           at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
           at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int
erceptor.java:341)

           at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
           at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)

           at java.lang.Thread.run(Unknown Source)

I am a newbie with this web server stuff,  so any direction as to how to
troubleshoot this problem is very
much appreciated.

The error_log file does not have any entries,  but the access_log file has
the following:

10.100.138.65 - - [30/Aug/2002:10:48:48 -0700] "GET /servlet/What HTTP/1.1"
401 483
10.100.138.65 - koosau [30/Aug/2002:10:48:53 -0700] "GET /servlet/What
HTTP/1.1" 500 1254




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org