• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flushing weblogic cache

 
Ajay
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 257
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajay - Read your private messages about an important administrative matter from JavaRanch.
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Scott Wilson
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic