tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Cavagnolo" <jcavagn...@hotmail.com>
Subject Tomcat 4.1.12 ClassNotFoundException
Date Wed, 23 Oct 2002 16:30:40 GMT
Hello:

I am building a Struts-based web application and, among other classes, have 
written a LoginForm bean for my login.jsp.  When this class is in 
/var/tomcat4/webapps/myApp/WEB-INF/classes, and after I restart tomcat I get 
the following stack trace in the host log file when I try to access 
login.jsp (see trace at the end of the message).  Further, when I put the 
classes in /var/tomcat4/common/classes, everything works.  Any ideas would 
be much appreciated.

Thanks,

Jeremy


2002-10-22 14:13:16 StandardWrapperValve[jsp]: Servlet.service() for servlet 
jsp threw exception
org.apache.jasper.JasperException: Exception creating bean of class 
org.alf.msq.data.ClassReg: java.lang.ClassNotFoundException: 
org.alf.msq.data.ClassReg
	at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
	at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.RequestDumperValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
	at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
	at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
javax.servlet.ServletException: Exception creating bean of class 
org.alf.msq.data.ClassReg: java.lang.ClassNotFoundException: 
org.alf.msq.data.ClassReg
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown 
Source)
	at org.apache.jsp.login_jsp._jspService(login_jsp.java:90)
	at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
	at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.valves.RequestDumperValve.invoke(Unknown Source)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
	at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
	at java.lang.Thread.run(Thread.java:536)




_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message