Hi, Dan, it was good to meet you at OR11. I don't know the "official"
answer to this, but I do know my "voodoo" answer is, yes, I make it a
habit to clear the Cocoon cache if I ever change anything in the XMLUI. I
do it often enough that I'd like to develop a button for the XMLUI admin
control panel so I can clear the cache, taking advantage of the native
Cocoon clearcache method, while Tomcat is up. Though, manually deleting
the files works great, and I often need to reboot Tomcat as part of the
development process anyway, so I just take a moment, while Tomcat is down,
to delete the Cocoon cache files.

Perhaps someone with a deeper understanding of Cocoon can respond with
something more nuanced than my answer. But I'd say, it can't hurt, if
you're developing using XMLUI, to empty the cache files pre-emptively.
They are, after all, just cache files, most likely in a development
environment. So, no big deal to delete 'em.

--
HARDY POTTINGER <pottinge...@umsystem.edu>
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
"No matter how far down the wrong road you've gone,
turn back." --Turkish proverb






On 6/16/11 1:47 PM, "Galewsky, Dan" <dan.galew...@austin.utexas.edu> wrote:

>Recently I was changing the browse indices for my Dspace 1.7.2
>installation in my dspace.cfg -- for example :
>
>    webui.browse.index.1 = datecreated:metadata:dc.date.created:date
>
>The problem I ran into was that even after restarting Tomcat and my
>browser - my changes did not show up in the user interface.
>
>After a bit of research I ran across an article that recommended removing
>the Cocoon cache files in Tomcat:
>
>    rm 
>/usr/local/tomcat/work/Catalina/localhost/_/cache-dir/cocoon-ehcache.data
>    rm 
>/usr/local/tomcat/work/Catalina/localhost/_/cache-dir/cocoon-ehcache.index
>
>When I removed these cache files - and restarted Tomcat - the changes
>that I had expected to see in the UI actually showed up.
>
>So - my question - do I need to remove these files in order for changes
>like this to show up?
>
>What about if I just removed the cache files every time I restarted
>Tomcat - would this be a bad idea? After our Dspace is in production -
>Tomcat is not restarted all that often.
>
>Thanks for any insights...
>
>--Dan Galewsky
>Texas Digital Library/University of Texas
>
>--------------------------------------------------------------------------
>----
>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


------------------------------------------------------------------------------
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

Reply via email to