The default caching mechanism is ehcache, which has a JMX interface, and I think its enabled. I am not certain if it has exposed functions to clear various caches, but if enabled it will have statistics.

This is a level lower than the gadget server which may have other cache flush mechanisms more specific to gadgets, I notice Kevin as responded later.

FYI, try running tomcat or jetty with - Dcom.sun.management.jmxremote and then connecting to the running tomcat with jconsole

If you look for the MBean tab you should see some ehcache beans somewhere in the tree.

If you don't, shout, and we can enable JMX on ehcache.
Ian

On 16 Dec 2008, at 05:31, Vincent Siveton wrote:

Hi Arnaud,

Le 15 décembre 2008 08:59,  <[email protected]> a écrit :
Hello,
I am new to shindig (and opensocial development in general). We are
developing on our project various gadgets and features, and we are
running on issues with caching on development environment. We need to
restart the server in order for modifications on the gadgets XML or
features descriptors to take effect.

Is there a way to tell shindig server  (java version) to reload
everything, orflush cache or whatever ? I must confess I do not have a
clear understanding of the archietecture of the whole thing.

I guess surely via jmx.

Cheers,

Vincent

Reply via email to