Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 14945 invoked from network); 1 Dec 2000 09:13:18 -0000 Received: from web6201.mail.yahoo.com (128.11.22.112) by locus.apache.org with SMTP; 1 Dec 2000 09:13:18 -0000 Message-ID: <20001201091312.28311.qmail@web6201.mail.yahoo.com> Received: from [198.240.212.26] by web6201.mail.yahoo.com; Fri, 01 Dec 2000 01:13:12 PST Date: Fri, 1 Dec 2000 01:13:12 -0800 (PST) From: Giacomo Pati Reply-To: giacomo@apache.org Subject: Re: [C2] [TC 4.0m4+] ClassCastException To: cocoon-dev@xml.apache.org, stuart.roebuck@adolos.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Are you the one using Request.redirect? I recall a thread where Craig told us to use the HttpServletRequestWrapper instead of a usual reconstruction of a wrapper around the real HttpServletRequest when using a 2.3 servlet engine. I have a version using it and also a build.xml that takes that into account when a HttpServletRequestWrapper is in the classpath during build but havent tested it. I will commit it this evening (UTC) if I can test it today. Giacomo --- Stuart Roebuck wrote: > I posted a note on this a while back, but didn't get a response. > Now, I thought I try again with the lastest CVS versions of Cocoon > and Tomcat and see if things had magically started working again. > > I can get Tomcat up and working fine. I try dropping in the full > Cocoon webapp and try and launch the context main page, and up comes > the following exception: > > java.lang.ClassCastException: > org.apache.cocoon.environment.http.HttpRequest > at > _Users._stuart._OpenSource._build._tomcat_4_0._webapps._cocoon._sitemap_xmap.wildcardMatch(_sitemap_xmap.java:65) > at > _Users._stuart._OpenSource._build._tomcat_4_0._webapps._cocoon._sitemap_xmap.process(_sitemap_xmap.java:710) > at org.apache.cocoon.sitemap.Handler.process(Handler.java:132) > at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:87) > at org.apache.cocoon.Cocoon.process(Cocoon.java:239) > at > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:235) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:177) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2014) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) > at > org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:808) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:887) > at java.lang.Thread.run(Thread.java:479) > > I had previously tried the "remove crimson" trick to no avail. > > Does anyone have any suggestions - it would be really good to get up > to speed on a more recent build of Cocoon 2 than the one I've been > using for the last n months. > > Cheers, > > Stuart. > > > ** We are currently experiencing prolonged difficulties with our > email ** > ** provider DIGIWEB and INTERLIANT. To guarantee that your response > ** > ** is received, please replace "adolos.com" with "adolos.co.uk" > ** > ** in your response. > ** > > ------------------------------------------------------------------------- > Stuart Roebuck > stuart.roebuck@adolos.com > Lead Developer Mac OS X, Java, XML, > etc. > ADOLOS http://www.adolos.com/ ===== __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/