tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <amy...@apache.org>
Subject ApplicationContextFacade ClassCaseException
Date Tue, 22 May 2001 22:00:21 GMT
I'm getting this ServletException with the following message after new
cvs checkout.  The code was working fine before the cvs update.  Anyone
has an idea on what's been changed internally to cause this Exception?

CGIServlet.java:355 contains these following lines.
 Wrapper wrapper = (Wrapper) getServletConfig();
 context = (Context) wrapper.getParent();

Root Cause:
java.lang.ClassCastException:
org.apache.catalina.core.ApplicationContextFacade
 at org.apache.catalina.servlets.CGIServlet.init(CGIServlet.java:355)
 at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:833)
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:602)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)

 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:225)

 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.StandardContext.invoke(StandardContext.java:2252)

 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:446)

 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:875)

 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:952)

 at java.lang.Thread.run(Thread.java:484)

Amy


Mime
View raw message