Compile Single JSP in Oracle ebs r12.1


1. Take a backup of .class file that will be modified due to jsp compilation -
$ cd $COMMON_TOP/_pages
$ ls -ltr _jtffmxrg.class
$ cp _jtffmxrg.class _jtffmxrg.class23dec2019

2. Check for last compilation time for .class file as follows -
$ cd $COMMON_TOP/_pages
$ ls -ltr _jtffmxrg.class

3. Your JSP file that will be compiled is stored under location -
$ cd $COMMON_TOP/webapps/oacore/html
$ ls -ltr jtffmxrg.jsp

Please note that above file will be used as reference to generate class(_jtffmxrg.class) file under - $COMMON_TOP/_pages

4.To compile JSP file, perl utility - ojspCompile.pl is located under -
$FND_TOP/patch/115/bin/
ojspCompile.pl uses "-s" option to compile single jsp.

$ cd $FND_TOP/patch/115/bin/
$ perl -x $JTF_TOP/admin/scripts/ojspCompile.pl --compile -s jtffmxrg.jsp



5. Check class file last modification date as follows -
$ cd $COMMON_TOP/_pages/
$ ls -ltr _jtffmxrg.class
-rw-r--r-- 1 applprod proddba 68390 Dec 23 09:13 _jtffmxrg.class

5. Restart application opmn services-
./adopmnctl.sh stopall
./adopmnctl.sh startall

6. Clear your web browser cache

No comments:

Post a Comment