The moose likes JForum and the fly likes Disabling All Cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Disabling All Cache" Watch "Disabling All Cache" New topic

Disabling All Cache

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

We have integrated JForum with our webapp, but are having some difficulties with the caching. Our webapp is deployed to a cluster of tomcat servers, with caching done at the DB level, not the webapp level.

In order to get Jforum to work with our webapp within the cluster farm, we need to turn off all Jforum caching. We noticed that the ForumRepository cache is not being used (someone else in this forum also found this).

Are there any works being done to disable all caching on Jforum? If not, it would be great if someone can point us in the right direction. We are already starting to look into the code, but guidance will help speed things up. Essentially, we would like the DAO to do all the work, instead of going through the Cacheable classes.

[originally posted on by keithcsl]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can change the "cache.engine.implementation" to "net.jforum.cache.JBossCacheEngine", although I guess it needs a refinement.

[originally posted on by Rafael Steil]
I agree. Here's the link:
subject: Disabling All Cache
It's not a secret anymore!