Tuesday, 12 May 2015

Deployment Steps for OAF (R 12.2.x onwards )



As the deployment process for OAF Components have been changed for R 12.2.x onwards. I think it is worth sharing with you all for your reference.

For further details :

Please refer to Note 1577661.1 Developing and Deploying Customization in Oracle E-Business Suite Release 12.2.

Jdev 10.1.3.5 Deployment Steps

Import the Pages:


Step1:


Move your class files to the $JAVA_TOP

N.B. We need to transfer CLASS files in BINARY mode as the class file is loaded after the xml

file is read. So please make sure that the xml file is there in the appropriate class path along with

the class file.

Step2:

You have to run the import command to register the Pages / Regions to the database :

The

import command for .xml file for pages is as follows:

java oracle.jrad.tools.xml.importer.XMLImporter

$JAVA_TOP/xxab/oracle/apps/ont/tc/lov/webui/TruckLOVRn.xml -rootdir $JAVA_TOP -

username "<>" -password "<>" -dbconnection $AD_APPS_JDBC_URL

Follow below steps to make the custom files available for WebLogic (For Oracle Apps 12.2.4)

Step1:

Make a zip file of your class files containing all the folder structure (From Jdeveloper myclasses)

e.g. zip -r xxab.zip xxab

Step2:

1. Transfer the .zip file in binary mode to the Java Top.

2. Make a .jar file from the .zip file.

For generating & sign xxab.jar file

e.g. adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/xxab.zip -outputFile

$JAVA_TOP/xxab.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass -keyPass

Step3:

Make an entry to the

ebsProductManifest_xml.tmp under the $FND_TOP/admin/template path

N.B.

Do not forget to take a backup of this file

Jdev 10.1.3.5 Deployment Steps

Take a back-up of existing /admin/template/

ebsProductManifest_xml.tmp

Step4:

Run adcgnjar file

Step5:



Bounce the Apache and mid-tier service by using the following commands.

adapcctl.sh stop

adapcctl.sh start

admanagedsrvctl.sh stop oacore_server1

EnterWeblogic Password: <pwd>

admanagedsrvctl.sh start oacore_server1

EnterWeblogic Password: <pwd>

Step 6:


Follow the steps for Patch File System Environment also.

4 comments:

  1. dear

    what about the old customization - done on 12.1.3 - what we should do ?

    ReplyDelete
    Replies
    1. Sorry for replying late....
      You have to put your old source files(XML & JAVA)into the new Jdeveloper MyProjects Folder and compile the same....
      Then you have to just migrate the class files as mentioned.

      Delete
  2. Hi,
    I'm new to this so may I know how to transfer CLASS files in BINARY mode?

    ReplyDelete
    Replies
    1. Put your class files to java top via winscp or any other file transfer tool. In that, there should be an option to migrate the files in Binary mode.

      Delete