How To Clear Apache/iAS Cache in 11i and R12?

on Tuesday 5 June 2012

How To Clear Apache/iAS Cache in 11i and R12? 

The following steps provides how to clear cache of Apache on Oracle E-Business Suite 11i and 12.
Whenever you bounce the apache server, you need to clear the server side cache, so that those cached pages will not be used again.

On 11i Versions:

Step1:Stop the apache listener

$COMMON_TOP/admin/scripts/adapcctl.sh stop

Step2:Clear Cache

cd $COMMON_TOP/_pages/

rm -rf *

Step3:Start the apache listener

$COMMON_TOP/admin/scripts/adapcctl.sh start .

On R12 Versions:

In R12 we have two methods to clear the cache.

Method1: We can clear the cache by using Functional Administrator.Please check the this Link How To Clear The Cache Using Functional Administrator.

Method2:If you cleared the _pages as above method as used in 11i accidentally, .run ojspcompile.pl.The ojspcompile.pl perl script to perform a manual pre-compilation of the JSP pages. The following command will compile all the JSP pages and build up the JSP cache again.

cd $FND_TOP/patch/115/bin

perl ojspCompile.pl --compile --flush -p 2

It is always better to go for method1 for clearing the cache.If you are having any issues with calling JSP pages results in a hanging ‘blank’ screen,you can use the 2nd method.

0 comments:

Post a Comment