Showing posts with label How to manually compile JSP in R12.. Show all posts
Showing posts with label How to manually compile JSP in R12.. Show all posts

How to manually compile JSP in R12.

Steps to Compiling JSP manually in R12 to resolve login page blank EBS R12

Fist of all login as applmgr user and source the environment by running the script:

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


Run the commands
For Linux/Unix


Firstly check the service.

$adopmnctl status

if not showing alive start it and check or compile jsp.


$cd $ADMIN_SCRIPTS_HOME

$adopmnctl.sh stopall — to shutdown opmn managed services viz., opmn, forms, oacore & oc4j

$ cd $COMMON_TOP/_pages

$ mv _pages _pages_old

$mkdir _pages

$ cd $FND_TOP/patch/115/bin 

or 

export PATH=$FND_TOP/patch/115/bin:$PATH


Remove any lock files from following folders:


$INST_TOP/ora/10.1.3/j2ee/oacore/persistence/oacore_default_group_1
$INST_TOP/ora/10.1.3/j2ee/oafm/persistence/oafm_default_group_1
$INST_TOP/ora/10.1.3/j2ee/forms/persistence/forms_default_group_1




Compile all jsps.

$
perl ojspCompile.pl --compile --flush -p 2 

(or) 

$perl ojspCompile.pl --compile --fast --quiet

(-p represents parallel threads, if you have enough horse power on your server, you can increase it to 8 or 10)


Run Autoconfig first on the DB Tier, and then on APPS Tier


$cd $ADMIN_SCRIPTS_HOME


adopmnctl.sh startall


In Windows

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

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 undercd $COMMON_TOP/_pages