How to compile JSP
manually:
STEP - 1
Login as an Application user and source the Application environment
by running the script:
$ /u01/applmgr/apps/apps_st/appl/APPS{SID}_{hostname}.env
STEP - 2
For Linux/Unix
Environment
$ cd $FND_TOP/patch/115/bin
$ perl ojspCompile.pl --compile --flush
If you want to use parallel execution so you can use this
parameter for it“-p 2 “which means
you are using two parallel processes
$ perl ojspCompile.pl --compile --flush -p 2
For Windows Environment
$ cd %FND_TOP%\patch\115\bin
$ perl -x ojspCompile.pl –compile –flush
STEP - 3
Reboot the Application Services or Apache services or
Middleware component services.
How to compile JSP
individual:
STEP - 1
Login as an Application user and source the Application environment
by running the script:
$ /u01/applmgr/apps/apps_st/appl/APPS{SID}_{hostname}.env
STEP - 2
Go to the mention path
$ cd $COMMON_TOP/_pages
STEP - 3
Delete or rename the class file if you want to compile individual
manually.
We should take in backup for Example:
$ mv _jtffmsrp.class _jtffmsrp.class_org_07052018
$ ls _jtffmsrp.class_org_07052018
STEP - 4
$ cd $FND_TOP/patch/115/bin/
$ perl ojspCompile.pl --compile -s 'jtffmsrp.jsp' --flush
As per working of function jsp files available on different
location like.
For Example:
$ locate jtffmsrp.jsp
/u01/oracle/prodappl/apps/apps_st/appl/jtf/12.0.0/html/jtffmsrp.jsp
/u01/oracle/prodappl/apps/apps_st/comn/webapps/oacore/html/jtffmsrp.jsp
STEP - 5
Reboot the Application Services or Apache services or
Middleware component services.
STEP - 6
Class files have been created under below mention
directory you can check whether the respective class file.
cd $COMMON_TOP/_pages
Enjoy!