Monday, 5 October 2015

How to compile JSP manually in R12

How to compile JSP manually in R12

STEP1.

Login as applmgr user and source the environment by running the script:


/oracle/apps/apps_st/appl/APPS[SID]_[host].env

STEP2Run the commands

In Linux/Unix

cd $FND_TOP/patch/115/bin 
perl ojspCompile.pl --compile --flush -p 2

In Windows
cd %FND_TOP%\patch\115\bin
perl -x ojspCompile.pl –compile –flush


STEP3:

Restart the Apache services or Middleware services.

How to compile individual JSP manually in R12:


STEP1:

cd $COMMON_TOP/_pages
 
STEP2:

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.

STEP3:

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

STEP4:

Restart the Apache services or Middle-ware services.
 
STEP5:

Check whether the respective class files have been created under

cd $COMMON_TOP/_pagesCheers!
 
Regards,
Srini

No comments:

Post a Comment


No one has ever become poor by giving