tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique BATARD" <dbat...@sf2r.fr>
Subject Re: Got internal servlet error with tomcat's example
Date Thu, 09 Nov 2000 10:08:46 GMT
It's ajp13 , not apj13

Dom
----- Original Message -----
From: "Dave" <fubjj@flashmail.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, November 08, 2000 8:11 PM
Subject: Got internal servlet error with tomcat's example


Hi all,

I was testing my tomcat installation using examples from the package,
I had no problem in running the examples using the set-up from
mod_jk.conf-auto, which use "Alias" to set-up "/examples" in my
default web root.

However, when I setup another vertualhost, I got internal servlet
error.  I was using the same "examples", it shouldn't be a programming
error.

Here is my setup of VH

httpd.conf--->

<VirtualHost 192.168.0.5>
ServerName jsp
DocumentRoot "/www/examples"
JkMount /*.jsp apj13
JkMount /servlet/* apj13
........
</VirtualHost>

server.xml --->

<Host "jsp">
    <Context path=""
docBase="/www/examples" debug="0">
</Host>

Here is my output from the browser---->

Error: 500
Location: /jsp/num/numguess.jsp
Internal Servlet Error:

javax.servlet.ServletException: num/NumberGuessBean
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:390)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
at org.apache.tomcat.core.Handler.service(Handler.java:263)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
6)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
(Ajp13ConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Root cause:
java.lang.NoClassDefFoundError: num/NumberGuessBean
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:
116)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:154)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
at org.apache.tomcat.core.Handler.service(Handler.java:263)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
6)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection
(Ajp13ConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)



Any idea? CLASSPATH? TOMCAT_HOME?

Thanks
Dave



Mime
View raw message