How to clear server cache

How to clear server cache

Whenever you bounce the apache server, you need to clear the server side cache, so that those cached pages will not be used again.(these are code cache not data). The cache files are stored under $OA_HTML/_pages/_oa__html folder in the web/apps node.

1. Stop the apache listener - see below for command
2. Clear Cache

You do this by changing to directory $OA_HTML/_pages/_oa__html (for 11.5.5 - 11.5.9) or $COMMON_TOP/_pages/_oa__html (for 11.5.10) and then issue:

rm -rf *

Take a backup before removing.

3. Start the apache listener - see below for command

Start and Stop the Apache http listener
The 11i Rapid install provides a start/stop script for the Apache server.
This script is located in COMMON_TOP/admin/scripts and is called adapcctl.sh.

To start the Apache http listener processes, log on as the user that installed Oracle Applications (single node) or the user that installed the Oracle Applications web tier (multi-node). Change directories to $COMMON_TOP/admin/scripts and type the following:

adapcctl.sh start (to start the Apache http listener processes)
adapcctl.sh stop (to stop the Apache http listener processes)

No comments:

Post a Comment