Friday 5 April 2013

To compile JSP manually in 11i/R12

How to compile all JSP pages  manually in R12:
---->login as appliation user and source environment file

---->go to the below location and run commands
cd $FND_TOP/patch/115/bin
perl ojspCompile.pl --compile --flush -p 2

---> Restart the Apache services or Middleware services.



How to compile individual JSP manually in R12:

---> go to below mentioned location and delete any file. for every jsp page in $OA_HTML location there will be class file in $COMMON_TOP/_pages

   cd $COMMON_TOP/_pages

--->Delete the class files (abcdef.class) for the JSP that you want to compile manually.

    Eg. JSP File abcdef_12.jsp
    Class File: abcdef_12.class ------------- Delete this file.

---->Navigate to the OA_HTML (Location for all the Jsp pages). if the JSP pages do not exist, copy the       JSP to the location & run the below command.

      $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'abcdef_12.jsp' --flush

---->Restart the Apache services or Middle-ware services.

---->Check whether the respective class files have been created under

     cd $COMMON_TOP/_pages


Location of JSP Compilation logs:

---->In 11i, all jsp compilation errors are logged in $IAS_ORACLE_HOME/ Apache/ Jserv/ logs/ mod_jserv.log
---->In R12, all jsp compilation errors are logged in $LOG_HOME/ ora/ 10.1.3/ j2ee/ oacore/ oacore_default_group_1/ application.log


No comments: