I don't know how to do this off the top of my head. EhCache is enabled by default and does cache domain objects. You should be able to consult Hibernate or EhCache's documentation to figure out how to programmatically clear the cache. Once you've done this, you should be able to add it to a Controller/Action and call that from a link.

Hope this helps,

Matt

On Feb 8, 2008, at 10:35 AM, Ding, Qin wrote:

Matt:

Is Appfuse using ehcache by default?  I believe the user object is in
that cache. If this is the case, how do I clean up ehcache from admin
menu? Right now in the AdminMenu, we have cacheFlush.jsp there, which
according to you, is not enabled and actually does nothing?  Would you
please tell me how to clean up ehcache?  Thank you very much.

Qin

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Friday, February 08, 2008 11:27 AM
To: [email protected]
Subject: Re: [appfuse-user] cacheFlush verify

This page is for OSCache, which isn't enabled by default.

Matt

On Feb 8, 2008, at 10:21 AM, Ding, Qin wrote:


I am using Appfuse 1.9.4/DB2/JSF.

When I run cacheFlush.jsp, I believe that all objects in the EHCache
will be "emptied" or "cleaned" by <cache:flush/>? Is there a way I can
verify it?  Thank you.

QD


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to