cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timm, Sean" <>
Subject RE: ClassCastException in 1.7-dev
Date Wed, 23 Feb 2000 17:38:05 GMT
This has been fixed in the latest CVS update.

-----Original Message-----
From: Ross Burton []
Sent: Wednesday, February 23, 2000 5:03 AM
To: Cocoon Development
Subject: ClassCastException in 1.7-dev


Just when I thought 1.7-dev was working fine...  i get this error on most
pages, when I try and reload them.

java.lang.ClassCastException: org.apache.jserv.JServConnection
 at org.apache.cocoon.cache.CocoonCache.getPage(
 at org.apache.cocoon.Engine.handle(
 at org.apache.cocoon.Cocoon.service(
 at javax.servlet.http.HttpServlet.service(

I recompiled Cocoon with debugging on in an attempt to get line numbers, but
no luck.  Okay - I could turn off the cache - but a cache this broken needs

This in the code in XSLTProcessor:

    public boolean hasChanged(Object context) {
        return this.monitor.hasChanged((String) context);

Whoops - casting a JServConnection (well, HttpServletRequest from
CocoonCache) to a String.  Should that be:

        return this.monitor.hasChanged(context.toString());

I don't have the JSDK or knowledge of the caching internals handy so can't
check if that is possible or feasible.

Ross Burton
IT'z Interactive

View raw message