Friday, May 30, 2014

Oracle R12 adcgnjar Utility

Oracle has introduced this new utility from R12.2 onwards.

Using this we can jar and sign custom java/xml files. This is required for OAF CO/VO/EO Extensions. This creates customall.jar file at $JAVA_TOP and signs. Configuration file ebsProductManifest.xml has entry for customall.jar

It exists at $AD_TOP/bin and while running it prompts for  apps username and password

If you modify any files in standard folders like $JAVA_TOP/oracle/apps/icx, run below commands to create and sign jar

zip -r icx.zip $JAVA_TOP/oracle/apps/icx
adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/icx.zip -outputFile $JAVA_TOP/icxall.jar -jar $CONTEXT_NAME 1 CUST

Remeber to perform 'Generate jar files' from adadmin and bounce Mid-tier.

If you modify files from $JAVA_TOP/ then need to create customall.jar
If you mofify files from $JAVA_TOP/oracle/apps/ then need to create customprod.jar

Make sure there are entries at $FND_TOP/admin/template/ebsProd<>.tmp for customall.jar and customprod.jar

For more information please refer MOS Note 1609939.1

3 comments:

OracleApps-Harish said...

For better understanding: Section 6.3.5: Deploying OA Framework Business Logic Extensions

FROM
Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)

Thanks,
Harish

OracleApps-Harish said...

Usefull: Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1)

Section 6.3.5: Deploying OA Framework Business Logic Extensions

Jatin said...

Hi,

But how to run this file and where to generate

1) Generates and signs the customall.jar file with the contents of the custom.zip file.

I am not getting this point