Clear Cache in Oracle EBS R12
Clear Cache in Oracle EBS R12
There are two ways to clear cache in R12
1. Functional level (individual product/all product cache)
Functional Administrator -> Core Services -> Caching Framework -> Global Configuration ->
“Go to specific cache or Clear All Cache“
2. Server level
Basic steps for a clear cache bounce is as below:-
Set you application environment and go to $ADMIN_SCRIPTS_HOME
- ./adopmnctl.sh stopall
- wait for command to complete
- ./adopmnctl.sh status -l
- cd $COMMON_TOP/_pages
- ls -l|wc -l (note it down)
- rm -rf * (to remove all files)
Note:-For step 4 to 6, better to take backup of _pages by renaming it, and create a new directory as _pages at the same place. - ls -l|wc -l (it should be 0 now)
- cd $FND_TOP/patch/115/bin
- which perl (should come from $IAS_ORACLE_HOME/perl/bin)
- pl –compile –flush -p 10 (to compile all JSPs,-p is for parallel and value (i.e. 10 here) can be varied accourding to your server)
- wait for successful completion
- cd $COMMON_TOP/_pages
- ls -l| wc -l (check whether count is same or more than before (pre-remove) – sometimes a little difference may be there)
- Go to $ADMIN_SCRIPTS_HOME again
- ./adopmnctl.sh startall
- wait for proper services startup
- ./adopmnctl.sh status -l
- check front-end and JSPs and FORMs should open up fine
Now change in R12 context file (XML file):
parameter s_jsp_main_mode – you will find it justrun by default.
change it to – recompile and run autoconfig to make the changes take place.
This will generate the jsp at run time saving bounce time, but could affect the performance.