Tuesday, July 23, 2013

Flush Weblogic Cache

Can't see the newly developed changes after the deployment of the build to Weblogic Server. This is because Weblogic Caches the application so that when you access the applications it can load faster every second attempt after the deployment. The only way to get new changes to be visible is to get rid of old one's. How is that done? Answer: Flush the Weblogic Cache on all Weblogic nodes where Applications is deployed to. Usually clearing the Weblogic cache results in resolving some unknown problems too.

Use the directives below to Flush the Weblogic Cache:
1.       Shutdown the Weblogic  nodes where Applications is deployed to.
2.       Delete tmp and cache folders/directories located under <DOMAIN_HOME>/servers/<WEBLOGIC_NODE_SERVER>
OR
Rename or delete the WEBLOGIC_NODE_SERVER folder/directory located under <DOMAIN_HOME>/servers
3.       Start the Weblogic nodes.

4 comments:

István said...

Its enough if You delete cache, tmp and stage directories from /servers/ otherwise You lose logs and embedded LDAP settings too.

Nagendra Reddy said...

Thank you for addressing important issue with answer Flush the Weblogic Cache on all Weblogic nodes where Applications is deployed to. Usually clearing the Weblogic cache results in resolving some unknown problems too.The LucidTechSystems is one best WebLogic Training institute in Hyderabad and providing IT End-to-End training with real-time hands-on exposure through the IT Experts to the students.This institute offers Oracle SOA training in Hyderabad to students all over world.
Regards,
Lucidtechsystems.

Anonymous said...

Really amazing post..yet I never found any interesting article like yours.

Weblogic Server 12cR2 Training

MY PET CLINIC VIZAG said...

Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing...Best MicroNutrients Company in India