JSP Compilation in R12.2

Sometime after upgrade, cloning and patching front end login page is not opening showing blank page or showing “java.lang.StringIndexOutOfBoundsException” error.

This issue was occurring due to cache is not cleared after upgrade/Cloning

JSP Compilation steps

Step 1: Shutdown the application services

Step 2: Take backup for the _Page(class file) folders

$ cd $OA_HTML/WEB-INF/classes

$ ls -lrt
$ mv _pages _pages_bkup<date> a

$ cd $OA_HTML/WEB-INF/classes

$ ls -lrt
$ mv _pages _pages_bkup<date>
$ mkdir _pages
$ ls -lrt

Step 3: Run the below command

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

Step 4: Start the application and clear browser cache.

After completed the JSP compilation home page not coming please clear the image and style sheet cache also

Cabo

Images and style sheets can be corrupted or out of sync in the cabo caches, you may need to clear the related directories after backup:

Step1: Shutdown the services

Step 2: BACKUP the files in the following directories and then remove the files from the directories

Note: Once you complete these steps, all the directories will still be present, but will be empty.

$OA_HTML/cabo/images/cache
$OA_HTML/cabo/styles/cache

Example:
cd $OA_HTML/cabo/images
cp -r cache cache_bkup
cd $OA_HTML/cabo/images/cache
rm -r *

Step 3: Run the same steps for $OA_HTML/cabo/styles/cache

Step 4: Start the services and retest - adstrtall.sh


If Apache Services are not Starting

Check Apache startup log file

$INST_TOP/admin/logs/adapcctl.txt

 

Check HTTP Server log file

$IAS_ORACLE_HOME/instances/EBS_web_<SID>_OHSn_diagnostics/logs/OHS/EBS_WEB_<SID>

 

Check if the port is in use

lsof –i tcp:<port>

If above command returns any process id, kill the process


Check for httpd Processes

ps –ef | grep httpd


Reference:

Preventive Maintenance > Fleet Maintenance > Overview Page is not opening (Doc ID 2587865.1)

Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2