forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <>
Subject Cache error invalid stream header [was: [jira] Commented: (FOR-1031) Switch to EHCache for Locationmap Cache
Date Thu, 19 Mar 2009 00:55:16 GMT
On Wed, Mar 18, 2009 at 2:25 AM, David Crossley (JIRA) <> wrote:
>    [
> David Crossley commented on FOR-1031:
> -------------------------------------
> I am seeing some issues now.
> In the PDF output plugin, building its own little website.
> (Also saw this with site-author.)
> Did 'forrest clean; forrest run' all okay.
> Then did 'forrest' to build the "site".
> Got one error:
> --------
> ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_R-resource-file:///svn/asf/forrest/main/webapp/skins/pelt/images/instruction_arrow.png.
Error was invalid stream header
> invalid stream header
>        at
>        at<init>(
>        at$1.<init>(
>        at

Hey David, I *think* this is unrelated to what I've done for a couple reasons:
o) I'm not using a disk store.
o) It appears to be Cocoon's cache/key that's causing the problem -
likely been corrupted somehow.
o) I've had no luck reproducing your errors with either site.

Ideally, 'forrest clean' would also clean up the cache so you wouldn't
have a problem after you've run that and retried.  However,
unfortunately, I think Cocoon cache's are stored in, which
is outside of our 'forrest clean' command's grasp so its not actually
getting cleaned fully (ie., the cache survives 'clean' operations).

Can you try:
cd $
rm cocoon-ehcache*

then, rerun the tests you did above?

View raw message