Hi, Sands, though we've communicated off-list about this, I figured I'd go ahead and report back what I've found so far to the list, on the off chance anyone else wants to pitch in with this.
I believe the "sample apps" to which I referred previously are no longer part of Cocoon, but I could be mistaken, I'm obviously pretty green at this stuff still. However, I have confirmed that there is a clear-cache action which is part of Cocoon core, and is definitely in my build of DSpace 1.6.2: http://cocoon.apache.org/2.2/core-modules/core/2.2/1006_1_1.html and http://www.jarfinder.com/index.php/java/info/org.apache.cocoon.acting.ClearCacheAction So, I did a bit more googling, and it looks like you can add an action to the list of components, and then call that action in some way, probably I'd do it with an XMLUI admin control panel. Here's a very basic outline of how to do this: http://mail-archives.apache.org/mod_mbox/cocoon-users/200707.mbox/%[email protected]%3e I'm going to keep muddling with this, as I think it will be a good learning experience. But, if anyone wants to chime in with hints, or words of encouragement, or even a "good grief, don't do that", be my guest. :-) --Hardy > -----Original Message----- > From: Sands Alden Fish [mailto:[email protected]] > Sent: Monday, October 04, 2010 12:38 PM > To: Pottinger, Hardy J. > Cc: [email protected] Tech > Subject: Re: [Dspace-tech] Cocoon status, empty cache, empty store > sample apps > > Hardy, > > We have not implemented it and I am curious to learn more about it > because I have occasionally seen strange Cocoon cache issues as well, > particularly when doing sacrilegious things like dropping patch JARs > into a running webapp, or editing dspace.cfg and not seeing the changes > reflected after a Tomcat restart. > > (For the curious, I've seen the Authentication page continue to reflect > one authentication method (Shibboleth) after having changed the Auth > stack configuration to use Certificates instead.) > > What I have always done to clear this is less-than-ideal and a trial > compared to a clean method that might not require the shutting down of > the webapp or Tomcat instance: > > 1.) ${tomcat6.home}/bin/shutdown.sh > 2.) cd ${tomcat6.home}/work/Catalina/{appropriate.domain.dir}/_/ > 3.) rm -rf cache-dir > > This solves the config issue I described above, but is certainly not a > method I love having to do. A push-button (or ./script/run) solution > would be much welcome. > > > -- > sands fish > Senior Software Engineer > MIT Libraries > Technology Research & Development > [email protected] > E25-131 > > > > > > On Oct 1, 2010, at 2:31 PM, "Pottinger, Hardy J." > [email protected] wrote: > > > Hi, I was wondering, has anyone implemented/set up the Cocoon > status, empty cache, or empty store sample apps for DSpace? Very > occasionally, a weird caching error will crop up, and it has me wishing > I had a way to just empty the Cocoon cache, so I could then rule out > Cocoon as the culprit, and be able to look elsewhere. > > -- > HARDY POTTINGER <[email protected]> > 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 > > > > ------------------------------------------------------------------- > ----------- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

