aspose file tools*
The moose likes BEA/Weblogic and the fly likes Flushing weblogic cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Flushing weblogic cache" Watch "Flushing weblogic cache" New topic
Author

Flushing weblogic cache

Ajay
Greenhorn

Joined: Mar 30, 2007
Posts: 15
Hi,

I am new to weblogic server administration. Please help me in knowing "How to flush cache of weblogic server of a particular application either by console or other means."

Thanks,
Ajay.
Shekar Atmakur
Ranch Hand

Joined: Oct 24, 2003
Posts: 36
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.

Shekar
Scott Wilson
Greenhorn

Joined: Jun 22, 2007
Posts: 8
I read your post with great interest.

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. :-)

Thanks,

Scott Wilson
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
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


Thats the way to go. You can integrate this with your ANT build file just to avoid the manual stop, delete and restart.

Thanks,


Amit Tank
Linked In
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14155
    
  18

Ajay - Read your private messages about an important administrative matter from JavaRanch.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
Are you sure that the cache is not cleaned and the problem isn't at application level? I'm working with Weblogic since 2004 and I never experienced those kind of problems...

Regards


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
Scott Wilson
Greenhorn

Joined: Jun 22, 2007
Posts: 8
I can assure you that most times this problem isn't application related.

To update JSP's, we had to manually delete the tmp and cache directories for weblogic to accept the change. We tried everything else and that was what worked.

Scott
Suril J Sarvaiya
Greenhorn

Joined: Sep 05, 2012
Posts: 14
Hi All,

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?

Thanks
Suril
 
jQuery in Action, 2nd edition
 
subject: Flushing weblogic cache