How to manually compile JSP in R12

Introduction:-

How to manually compile JSP in R12. Steps to manually Compile JSP in R12 to resolve login page blank EBS R12| In hist article, we will cover jsp compilation in R12.

Why are we compiling jsp?

Actually, sometime we are facing blank ebs login page due to missing or corrupted class files under EBS cache($COMMNON_TOP/_pages). To fix this issue we are compiling jsp in ebs.

How to manually compile JSP in R12

Before going to compile jsp. We need to stop the applicatoin services.
 
 

Stop application services.

To stop Middleware, click here to and check.

 


First 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

Verify the process using ps command.

$ps -ef|grep applmgr

Remove _page as below.

$ cd $COMMON_TOP/_pages

$ mv _pages _pages_old

$mkdir _pages

$chmod -R 755 _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 CPU 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%patch115bin
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 havebeen created undercd $COMMON_TOP/_pages

3 thoughts on “How to manually compile JSP in R12”

  1. I was married at 32 and immediately tried to get pregnant. When I was unable to conceive I had blood tests for fertility and was told that I had an FSH (follicle stimulating hormone) of 54 and would not be able to have children. Even though the doctors knew that I had been diagnosed with Hashimoto’s thyroiditis since age 25, no one bothered to check my thyroid levels. my TSH was measured at .001. My Synthroid dosage was lowered. a friend advise me to contact a spiritualist who help with fertility with his medicine, i collected his contact and explain my situation to him he prepared for me a herbal medicine which i took as describe by him. became pregnant very quickly, I had a successful pregnancy. I have my baby august 2017. to get pregnant at age 35 with my 2nd child in september 2019, thank you sir , this is his email contact if you require his help [email protected] or Facebook at priest.babaka

    Reply

Leave a Comment