Wednesday, 9 September 2015

Deploy Custom Jar library and OAF pages in EBS R 12.2.3

    1)Move the class files to $JAVA_TOP

    2) Run XML Import script   follow below steps to  Generate Jar file.



    1. Create a temporary custom.zip file which contains all the custom application's directories/files at the non-standard location. The commands are:
      1. cd $JAVA_TOP
      2. zip -r customprod.zip <directory list> where the <directory list> is the list of all the directory paths, relative to $JAVA_TOP, for custom application's java files at the non-standard location.
    2. Generate and sign the customprod.jar file. Command: adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customprod.zip -outputFile $JAVA_TOP/customprod.jar -jar $CONTEXT_NAME 1 CUST jarsigner
    3. Any update in the java class files   
                   Re-create the jar file:
    1.  Cd  $AD_TOP/bin
      1. Runadcgnjar
                                  Give apps username and password.
    1. Follow the steps below to make the custom jar file available for WebLogic Server:
      1. Back up the existing <FND_TOP>/admin/template/ebsProductManifest_xml.tmp
      2. Modify <FND_TOP>/admin/template/ebsProductManifest_xml.tmp to add the entry below for customprod.jar (after customall.jar):
        <library>customprod.jar</library>
      3. Run AutoConfig.
      4. Bounce the middle-tier services.
      5. NOTE: These changes will be lost if ebsProductManifest_xml.tmp is patched in future; changes will need to be done again.
    2. In order to to synchronize the changes (during the next prepare phase) between both the file systems fs1 and fs2, follow the steps below. Note that the custom synchronization driver file, located at <APPL_TOP_NE>/ad/custom/adop_sync.drv, should be used in these steps. This file has the required documentation on how to put an entry in for a file that needs to be synchronized between the two file systems.
      1. If there are custom java class files under <JAVA_TOP>/oracle/<cust_prod>/* directory and if the files under this directory needs to be synchronized between fs1 and fs2 , then put the following entry in the custom synchronization driver file as below:
        cp -r %s_current_base%/EBSapps/comn/java/classes/oracle/<cust_prod> %s_other_base%/EBSapps/comn/java/classes/oracle
      2. To copy the custom jar file, add the following entry:
        cp %s_current_base%/EBSapps/comn/java/classes/customprod.jar %s_other_base%/EBSapps/comn/java/classes
      3. To synchronize the custom changes done to the template, add the entry below:
        cp %s_current_base%/EBSapps/appl/fnd/12.0.0/admin/template/ebsProductManifest_xml.tmp %s_other_base%/EBSapps/appl/fnd/12.0.0/admin/template
      4. After changes are synchonized, ensure Autoconfig is run for the latest template changes to take effect.

    Note:Refer DOC ID:1577661.1 from meta link for more Info

3 comments:

  1. Hi,
    I have problem for deploying custom vo extension in EBS R 12.2.2
    i tried to following below steps

    1) d $JAVA_TOP
    2) zip -r customprod.zip where the
    3) cant find adcgnjar utility in run file system cus i didnt run it
    4) Back up the existing /admin/template/ebsProductManifest_xml.tmp
    5) Modify /admin/template/ebsProductManifest_xml.tmp to add the entry below for customprod.jar (after customall.jar) < i added manually customalljar>
    customprod.jar
    6) Run AutoConfig.
    7) Bounce the middle-tier services.
    command is
    admanagedsrvctl.sh stop oacore_server1
    admanagedsrvctl.sh start oacore_server1
    adapcctl.sh stop
    adapcctl.sh start
    7) copy the patch file system java/classes/ manually with customprod.jar

    but when i open page i faced the problem .The problem is
    JBO-25002: Definition .oracle.apps.icx.por.wf.server.xxReqLinesNotificationsVO of type View Definition not found

    Please help me
    contact address is oznarkn@gmail.com

    Thanks

    ReplyDelete
    Replies
    1. Hi,

      Please Check the adcgnjar under $AD_TOP/bin

      Thanks

      Delete
  2. Hi,

    Thank You for this, i follow the steps mentioned above on R12.2.3 and i got the below error:
    You have encountered an unexpected error. Please contact the System Administrator for assistance.

    ReplyDelete