what if i use - clearTemplateCache() as shown below,
I guess this would be a performance issue.right?
this apart any suggestions for the server cache issue i am facing?
Users just complained they see old pages e.g. lastpost date as 31 Jan'07, although the lastpost date is 19th Feb'07 .Some users see it correctly.All in all it is not consistent [originally posted on jforum.net by rags]
I don't think that removing the template caching will hurt your performance - sure, it could be better with it, but for now we all agree that the most important thing is to get it working without any problem.
About the memory cache, I see any option but to attach a debugger and step into each part of some specifics actions to see how it is running...
Rafael [originally posted on jforum.net by Rafael Steil]
It could be that your caching engine is being re-initialized but not all the repository stuff.
Is this a clustered install of some sort? Jforum's caching mechanism is not cluster safe. It assumes that all repository classes are loaded in the same class loader domain.
With Jforum working fine in so many other application containers, I would start looking for Websphere config or bugs that deal with static properties not being updated across all sessions. [originally posted on jforum.net by monroe]
Doing web application state synchronization in a clustered environment is pretty much up to the Application Container. I don't think there's a standard for this yet.
You might get lucky and find that WebSphere can be configured to synch application state across cluster nodes or you might have to write your own cache/respository replacement classes that use a Websphere's API.
I don't know WebSphere that well, sorry. (Last cluster caching stuff I did was with an early version of iPlanet's App Server (n.e. Netscape/Sun ). It was not fun or reliable. [originally posted on jforum.net by monroe]