Hello, Generally, stopping and starting the server from the console should clear your cache. But out experience showed that this is not the case. So we had written shell scripts (or batch scripts iin windows)to start and stop the server and within these scripts, we added commands to clear the cache. I think that is a safe approach to take.
But, the question still is, what exactly do you do to flush the cache? On our system, what I normally do is to stop the server with the cache that needs to be flushed, then delete the tmp and cache directories of the server. Then restart the server and that *definitely* cleans the cache. I have also found that stopping and restarting the server doesn't always clean out the cache.
If anyone has any other steps that are easier than mine, I would like to hear them. :-)
Is it safe to delete .internal and .wlnotdelete folders for Weblogic Server 8 production server at client location?
I do it for my local environment
Will it create any other issues at the production side?