Compile Single JSP in Oracle ebs 11i


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

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

2. Your JSP file that will be compiled is stored under location -
$ $COMMON_TOP/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/_oa__html/

2.To compile JSP file, perl utility - ojspCompile.pl is located under -
$JTF_TOP/admin/scripts
ojspCompile.pl uses "-s" option to compile single jsp.

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



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

4. Restart application apache -
adapcctl.sh stop
adapcctl.sh start

5. Clear your web browser cache

No comments:

Post a Comment