Skip to main content

Compile Single JSP in Oracle ebs r12.2


1. Take a backup of .class file that will be modified due to jsp compilation -
$ cd $EBS_APPS_DEPLOYMENT_DIR/oacore/html/WEB-INF/classes/_pages
Unlike r12.1, there is a different naming convention here in r12.2 with additional '_' being prefixed like as follows –
$ ls -ltr _jtffmxrg.class
ls: cannot access _jtffmxrg.class: No such file or directory
$ ls -ltr __jtffmxrg.class
-rw-r--r-- 1 applmgr oinstall 69675 Sep 16 19:13 __jtffmxrg.class
Also, all .class files are in lower-case while in earlier r12.1, they were same filenames with simply an '_' prefixed.

Example –
In r12.1
$ ls -ltr *OA.class*
-rw-r--r-- 1 applprod proddba 8843 Dec 29 11:32 _OA.class

In r12.2
$ ls -ltr *OA.class*
ls: cannot access *OA.class*: No such file or directory
$ ls -ltr *oa.class*
-rw-r--r-- 1 applmgr oinstall 10123 Sep 16 19:13 __oa.class
-rw-r--r-- 1 applmgr oinstall 12874 Sep 16 19:13 __jtfwtpoa.class

2. Check for last compilation time for .class file as follows -
$ cd $COMMON_TOP/_pages
$ ls -ltr __jtffmxrg.class

3. Your JSP file that will be compiled is stored under location -  $EBS_APPS_DEPLOYMENT_DIR/oacore/html
$ cd $EBS_APPS_DEPLOYMENT_DIR/oacore/html
$ ls -ltr jtffmxrg.jsp
-rw-r--r-- 1 applmgr oinstall 33875 Sep 16 19:13 jtffmxrg.jsp

Please note that above file will be used as reference to generate class (__jtffmxrg.class) file under - $EBS_APPS_DEPLOYMENT_DIR/oacore/html/WEB-INF/classes/_pages


2.To compile JSP file, perl utility - ojspCompile.pl is located under -
$FND_TOP/patch/115/bin/
ojspCompile.pl uses "-s" option to compile single jsp.

$ cd $FND_TOP/patch/115/bin/
$ perl -x $JTF_TOP/admin/scripts/ojspCompile.pl --compile -s jtffmxrg.jsp



3. Check class file last modification date as follows -
$ cd $EBS_APPS_DEPLOYMENT_DIR/oacore/html/WEB-INF/classes/_pages
$ ls -ltr __jtffmxrg.class
-rw-r--r-- 1 applmgr oinstall 69607 Dec 29 16:36 __jtffmxrg.class

4. Bounce below services –
adapcctl.sh stop
admanagedsrvctl.sh stop oacore_server1
admanagedsrvctl.sh stop oafm_server1

admanagedsrvctl.sh start oacore_server1
admanagedsrvctl.sh start oafm_server1
adapcctl.sh start

5. Clear your web browser cache

Comments

Post a Comment

Popular posts from this blog

Logfile locations in EBS r12.1 and EBS r12.2

Startup/shutdown Apps tier services are started and stopped frequently and we must know logfiles when troubleshooting startup/shutdown issues. $INST_TOP/logs/appl/admin/log $INST_TOP/logs/appl/admin/log Apache OHS being part of opmn in r12.1 has continued in r12.2. Logfile locations for troubleshooting have been changed $INST_TOP/logs/ora/10.1.3/Apache/error_log[timestamp] $INST_TOP/logs/ora/10.1.3/opmn/HTTP_Server~1.log $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OHS/*/*log*   OPMN Logfile locations for r12.1 and r12.2 have been changed $INST_TOP/logs/ora/10.1.3/opmn/opmn* $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OPMN/opmn/* Oacore oacore in r12.1 is oc4j component and part of 10gAS. However, in r12.2, oacore is now a managed server for weblogic server $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore*/ $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore*/ $LOG_HOME/ora/10.1.3/opmn/oacore*/oacor...

Oracle EBS r12 migration to Solaris SPARC ** issues and solutions

Let me share a list of issues I faced when migrating a single node Oracle ebs r12.1.3 environment from Linux x86_64 to multinode Solaris SPARC machines. I have already shared ppt that was point of discussion before migration. Oracle ebs db platform migration Please note that below is set of issues and respective solutions while migration. I have not covered steps for migration in this post. I would also like to share list of references from metalink that were very handy during complete migration process. ·          Export/import process for 12.0 or 12.1 using 11gR1 or 11gR2 (Doc ID 741818.1) -           This document will be primarily used for database migration. ·          Application Tier Platform Migration with Oracle E-Business Suite Release 12 (Doc ID 438086.1) -           Apps tier will b...

Query to Check AD and TXK code levels in your EBS environment

Below query can be very handy in finding out current AD and TXK code levels. col ABBREVIATION for a10 set lines 1000 col NAME for a50 col CODELEVEL for a20 SELECT ABBREVIATION,NAME,codelevel FROM AD_TRACKABLE_ENTITIES WHERE abbreviation in ('txk','ad'); ABBREVIATI NAME                                                CODELEVEL ---------- -------------------------------------------------- ------------ ad           Oracle Applications DBA                             C.11 txk         Oracle Applications Technology Stack    ...