Approved method of bouncing the APACHE in R12
In R12 their are two components:-
adapcctl.sh -- Script which is responsible for bouncing Oracle HTTP Server.
adoacorectl.sh -- Script for bouncing OC4J container.
Java class files changes will be recognized after oc4j bounce. If there are OAF related changes then bounce both the services.
How to "CLEAR CACHE"
Note: Clearing _pages directory is no longer a recommended solution.
In R12, by default, s_jsp_main_mode is set justrun Instead of recompile (which is 11i setting) in $CONTEXT_FILE.
When main_mode = justrun the OC4J container running the OACoreGroup is told that no compilation on the fly is allowed and only (pre)compiled classes are picked up. Since this requires less checks to be done the performance is improved. Therefore is this the recommended setting for a Production environment where JSP's will only be replaced occasionally.
Hence ,clearing the _pages in R12 creates blank login page issue.{ ID 467562.1}
Instead should use the following, which is safer:
Navigate to Functional Administrator responsibility > Core Services > Caching Framework > Global Configuration > Clear cache
(*Note:This will clear cache at the Application Server level)
If you have accidentally removed _pages directory,compilation of Jsp's can be done by,
cd $FND_TOP/patch/115/bin
perl ojspCompile.pl --compile --flush -p 2