Neglected to mention in my previous email: Once you apply the previously sent patch, you should be able to clear the Cocoon cache by visiting:
http://localhost:8080/xmlui/clearcache Again, it will return a bunch of XML (which is Cocoon Status Info). But, in that XML will be an section like: <group name="VM"> <group name="...EHDefaultStore"> <value name="cached"> <line>[empty]</line> </value> <value name="size"> <line>0 items in cache (0 are empty)</line> </value> </group> </group> - Tim On 6/16/2011 4:47 PM, Tim Donohue wrote: > Hi Dan & Hardy, > > There is supposedly a way to trigger Cocoon to 'clear' its cache via the > ClearCacheAction built into Cocoon. See: > http://comments.gmane.org/gmane.text.xml.cocoon.user/61537 > > I just tried this out locally in my XMLUI, and it *seems* to work (at > least with a few extremely simple tests I've run). But, I'll admit, this > is not well tested at all (SO, DON'T TRY THIS IN PRODUCTION, unless you > are feeling very gutsy or have verified that it is 100% working for you). > > In any case, I thought I'd share this patch in case it is helpful (see > attached). Currently, it returns an ugly XML response (which is just > Cocoon's status information), but we could just as easily work this into > the XMLUI Admin Control Panel with a 'prettier' response. > > This patch applies to > [dspace-src]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/sitemap.xmap > (right now its line numbers are based on Trunk, but should work for > 1.7.2 or similar) > > Please let me know if this seems to work for you in your development > environments, etc. If it does seem to work well, this seems like > something we could easily add to DSpace 1.8's XMLUI Admin Control Panel. > > - Tim > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech