Pages

Search This Blog

Thursday, October 11, 2018

How to clear Cache & Persistance in 11i & R12.1.3


11i:

$COMMON_TOP/_pages  - take a backup and remove the folder and recreate empty folder

When we have to clear cache in R12?
1.If front end page is showing blank.
2.If apacheserver is not coming up.
3.When ever we bounce middle tier services best practice is to clear cache.

R12:

Note: Clearing _pages directory is no longer a recommended solution.  Clearing the _pages in R12 creates blank login page issue, as in R12 the jsp files does not get compiled automatically.

$COMMON_TOP/_pages  - take a backup and remove the folder and recreate empty folder

- Stop adopmnctl.sh stopall

rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
rm -rf $INST_TOP/ora/10.1.3/opmn/logs/states/.opmndat (this is optional)

If you want clear _pages in R12, you need to compile all your jsps shown below:

cd $FND_TOP/patch/115/bin
ojspCompile.pl --compile --flush -p 10

## -p 10, will run 10 parallel sessions.

- Start adopmnctl.sh startall.

From front end:

-Navigate to Functional Administrator Responsibility
-Choose the 'Core Services' Tab
-Choose 'Caching Framework'
-Click on 'Global Configuration'
-Click on 'Clear All Cache'
-The Click on yes on the display which will appear.


No comments:

Post a Comment