Compile all JSP files in Oracle ebs r12.2


Before you start compiling jsps and following below steps, I recommend understanding some key differences between 11i, r12.1 and r12.2 when it comes to compiling jsps. Please follow below link and then proceed further -


1. Take a backup of _pages directory that will be modified due to jsp compilation -

$ cd $EBS_APPS_DEPLOYMENT_DIR/oacore/html/WEB-INF/classes/
$ cp -R _pages _pages29dec2019
$ ls -ld _pages*
drwxr-xr-x 5 applmgr oinstall 249856 Dec 29 16:36 _pages
drwxr-xr-x 5 applmgr oinstall 249856 Dec 29 16:56 _pages29dec2019

2. Stop apache, oacore and oafm services -
adapcctl.sh stop
admanagedsrvctl.sh stop oacore_server1
admanagedsrvctl.sh stop oafm_server1

3. Compile the jsps manually using the below command -
$ cd $FND_TOP/patch/115/bin/
$ perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p            

4. Check class file last modification date as follows -

$ cd $EBS_APPS_DEPLOYMENT_DIR/oacore/html/WEB-INF/classes/_pages
$ ls -ltr | tail
-rw-r--r-- 1 applmgr oinstall  13669 Dec 29 17:14 __papost.class
-rw-r--r-- 1 applmgr oinstall   9942 Dec 29 17:14 __pasmtupost.class
-rw-r--r-- 1 applmgr oinstall   9921 Dec 29 17:14 __pauppost.class
-rw-r--r-- 1 applmgr oinstall   7015 Dec 29 17:14 __paynopdf.class
-rw-r--r-- 1 applmgr oinstall   9486 Dec 29 17:14 __paynoxml.class
-rw-r--r-- 1 applmgr oinstall   8350 Dec 29 17:14 __pyshsimpslp.class
-rw-r--r-- 1 applmgr oinstall   7153 Dec 29 17:14 __peruspdftemplate.class
-rw-r--r-- 1 applmgr oinstall   7015 Dec 29 17:14 __pergbrti.class
-rw-r--r-- 1 applmgr oinstall  13248 Dec 29 17:14 __createwavebookmarkable.class
drwxr-xr-x 2 applmgr oinstall     45 Dec 29 17:14 _txkcsa

5. Start oacore,oafm and Apache-

admanagedsrvctl.sh start oacore_server1
admanagedsrvctl.sh start oafm_server1
adapcctl.sh start
6. Clear your web browser cache

No comments:

Post a Comment