[ https://issues.apache.org/jira/browse/FOR-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682930#action_12682930 ]
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 java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277) at net.sf.ehcache.store.DiskStore$1.<init>(DiskStore.java:272) at net.sf.ehcache.store.DiskStore.loadElementFromDiskElement(DiskStore.java:267) ... -------- Then did 'forrest run' again and request index.html Got two errors: -------- ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_G-file-file:///svn/asf/forrest/plugins/org.apache.forrest.plugin.output.pdf/src/documentation/content/xdocs/tabs.xml_T-xinclude-XInclude. Error was invalid stream header ... ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_G-file-cocoon://abs-linkmap?pipelinehash=-4182989005625245977_T-xslt-file:///svn/asf/forrest/main/webapp/resources/stylesheets/relativize-linkmap.xsl;site-root=;path=index.html. Error was invalid stream header -------- Subsequent requests for index.html yielded no errors. Requests for other pages also yielded no errors. Request index.pdf Got one error: -------- ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_G-module-properties. Error was invalid stream header -------- Then did 'forrest' again. No errors. Then did 'forrest run' again. Request index.html Got one error: -------- ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_G-file-file:///svn/asf/forrest/plugins/org.apache.forrest.plugin.output.pdf/src/documentation/content/xdocs/tabs.xml_T-xinclude-XInclude. Error was invalid stream header -------- Subsequent requests for various docs are all okay. Then did 'forrest' again. No errors. Then did 'forrest' again, yes did 'forrest' again. Got one error: -------- ERROR - cocoon-ehcache-1Cache: Could not read disk store element for key PK_G-file-file:///svn/asf/forrest/plugins/org.apache.forrest.plugin.output.pdf/src/documentation/content/xdocs/tabs.xml_T-xinclude-XInclude. Error was invalid stream header -------- Same on every subsequest 'forrest'. Can repeat all that behaviour after another 'forrest clean'. For each session after the first, there is only one broken cache request. Always tabs.xml_T-xinclude-XInclude. The first 'forrest' after a 'forrest run' is okay. Subsequent invocations have that single cache error. > Switch to EHCache for Locationmap Cache > --------------------------------------- > > Key: FOR-1031 > URL: https://issues.apache.org/jira/browse/FOR-1031 > Project: Forrest > Issue Type: Improvement > Components: Locationmap > Reporter: Tim Williams > Attachments: lm_cache.diff > > > Should be an easy switch and get much better cache support/configuration > options. Expiry of cache can be per-element vs. the current implementation > where it expires in its entirey. It will make the LM stuff much cleaner too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.