tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sw <nofx...@mac.com>
Subject Problem With JSP Pages
Date Mon, 10 Sep 2001 21:05:52 GMT
Hi,

I've just started using Tomcat as my Servlet+JSP Engine. The 3.2.3 
version has worked for me with no problems so I decided to take a 
look at the 4.0 RC. The servlet examples work without any  problems, 
but some of the JSP pages throw errors like to following (this one if 
from the Date example):

org.apache.jasper.JasperException: Unable to compile class for 
JSPnull/usr/local/tomcat-4.0-rc/work/localhost/examples/jsp/dates/date$jsp.java:167: 
Incompatible type for method. Explicit cast needed to convert 
java.lang.Throwable to java.lang.Exception.
             if (pageContext != null) pageContext.handlePageException(t);
                                                                      ^
1 error

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:543)
	at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
	at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
	at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2366)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1005)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1098)
	at java.lang.Thread.run(Thread.java:496)

I'm not sure if this is because there is something misconfigured 
Tomcat or a specific problem with the release candidate.

I am running MacOS 10.04, with 512mb of ram and the DP 2 release of 
Apple's VM (which is 1.3.1).

If you need any more information please let me know.

Sincerely,
Stephen
-- 

Mime
View raw message