tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: [Catalina]
Date Mon, 01 May 2000 02:07:48 GMT
Nacho wrote:

> Hi, Craig , i've put another printstacktrace into load method for debug
> purpose ( see Below) debugging the init method of the invoker , i'm
> getting the ClassCastException when casting the servlet context to
> ServletcontextFacade, Any Idea?
>

I sure do.  That means you are picking up some Tomcat classes rather than
Catalina classes somewhere -- there is no ServletContextFacade in Catalina.
It sounds like you're picking up the Tomcat version of InvokerServlet -- try
doing a CVS update and rebuilding Catalina to get the Catalina version.

Craig


>
> --------------cut here-------------------------------------
> XmlMapper: pop Server org.apache.tomcat.core.StandardServer:
> org.apache.tomcat.core.StandardServer@3a9bdd26 <--- last mesagge of
> XmlMapper
> java.lang.ClassCastException: org.apache.tomcat.core.ApplicationContext
>         at
> org.apache.tomcat.servlets.InvokerServlet.init(InvokerServlet.java:86
> )
>         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at
> org.apache.tomcat.core.StandardWrapper.load(StandardWrapper.java:586)
>
>         at
> org.apache.tomcat.core.StandardWrapper.start(StandardWrapper.java:742
> )
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.StandardServer.start(StandardServer.java, Comp
> iled Code)
>         at org.apache.tomcat.startup.Catalina.start(Catalina.java:462)
>         at org.apache.tomcat.startup.Catalina.execute(Catalina.java:433)
>         at org.apache.tomcat.startup.Catalina.main(Catalina.java:137)
> Catalina.start: LifecycleException:  start:
> javax.servlet.ServletException: loa
> d: java.lang.ClassCastException:
> org.apache.tomcat.core.ApplicationContext
> LifecycleException:  start:  javax.servlet.ServletException: load:
> java.lang.Cla
> ssCastException: org.apache.tomcat.core.ApplicationContext
>         at
> org.apache.tomcat.core.StandardWrapper.start(StandardWrapper.java:744
> )
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.ContainerBase.start(ContainerBase.java, Compil
> ed Code)
>         at
> org.apache.tomcat.core.StandardServer.start(StandardServer.java, Comp
> iled Code)
>         at org.apache.tomcat.startup.Catalina.start(Catalina.java:462)
>         at org.apache.tomcat.startup.Catalina.execute(Catalina.java:433)
>         at org.apache.tomcat.startup.Catalina.main(Catalina.java:137)
> -----------cut here----------------
> Saludos ,
> Ignacio J. Ortega
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message