OA Framework Tutorial Deployment in APPS Environment

Embed Size (px)

Citation preview

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    1/14

    Anjani PandeyOracle Applications Consultant

    By : Anjani Pandey Oracle Applications Consultant

    Deployment of OA Framework Tutorials in APPS Environment

    The steps in brief are : Development of the JSP form in local machine Transferring the related source code/files to the Oracle APPS environment. Importing the new directory structure/path of the page/form in the MDS repository Registration of the form in the Oracle Apps environment

    Development in Localhost:Ive developed the Person Detail pages in Myprojects of JDev/jdevbin folder.

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    2/14

    Anjani PandeyOracle Applications Consultant

    Ive kept my xml pages in webui and EOP, VO and AM in server folder of thepersondetail folder.

    On project compilation the class files along with xml files are generated in Myclasses of JDev/jdevbin folder.

    The Folder Structure for xml pages and respective Controllers are as belowC:\JDeveloper_Setup\jdevbin\jdev\myclasses\oracle\apps\ak\persondetail\webui

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    3/14

    Anjani PandeyOracle Applications Consultant

    Similarly, the server folder structure is as belowC:\JDeveloper_Setup\jdevbin\jdev\myclasses\oracle\apps\ak\persondetail\server

    This was the development of files in our localhost m/c.The next step will be to move the files into the JAVA_TOP.

    Transferring To Java_Top:

    Through FileZilla we can easily move our files into Java_top folder.So I first transferred the Persondetail folder in ASCII Transfer Type mode inthe path : /kolvis01/prj03/prj03comn/java/oracle/apps/ak/

    prj03 being my Apps server path.

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    4/14

    Anjani PandeyOracle Applications Consultant

    Just drag and dropped the persondetail folder from local m/c to Apps Java top path.

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    5/14

    Anjani PandeyOracle Applications Consultant

    Next we need to transfer CLASS files in BINARY mode.Though we have the files already transferred but we need to do it in binary mode.

    Path : /kolvis01/prj03/prj03comn/java/oracle/apps/ak/persondetail/server/

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    6/14

    Anjani PandeyOracle Applications Consultant

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    7/14

    Anjani PandeyOracle Applications Consultant

    Path : /kolvis01/prj03/prj03comn/java/oracle/apps/ak/persondetail/webui/

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    8/14

    Anjani PandeyOracle Applications Consultant

    So now we are done with transfers.Next we need to change the mode of the class files to 777.Login to Telnet and change the mode through CHMOD 777 command.

    IMPORTANT :- 777 is not necessary. But this being a development instance, its fine. Ideally you must ensure that read permissions exists for jserv application server. This canalso be achieved by say 755 permission

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    9/14

    Anjani PandeyOracle Applications Consultant

    Importing the XML files:Run the import scripts for the PG and LOVRn files.The import command is

    importD:\OAF\jdevhome\jdev\myprojects\who\oracle\apps\xxwrp\prt\whoreg\webui\DummyTesterPG.xml-username -password -rootdirD:\OAF\jdevhome\jdev\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=))(CONNECT_DATA=(SID=)))"

    The command is to be run from Jdeveloper/Jdevbin/Jdev/Bin.

    The import for PersonMain1PG and PersonCreatePG is as follows:

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    10/14

    Anjani PandeyOracle Applications Consultant

    importC:\JDeveloper_Setup\jdevbin\jdev\myprojects\oracle\apps\ak\persondetail\webui\PersonMainlPG.xml -username apps -password cognizant -rootdirC:\JDeveloper_Setup\jdevbin\jdev\myprojects\ -dbconnection"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.236.145.180)(PORT=1571))(CONNECT_DATA=(SID=PRJ03)))"

    importC:\JDeveloper_Setup\jdevbin\jdev\myprojects\oracle\apps\ak\persondetail\webui\PersonCreatePG.xml -username apps -password cognizant -rootdirC:\JDeveloper_Setup\jdevbin\jdev\myprojects\ -dbconnection"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.236.145.180)(PORT=1571))(CONNECT_DATA=(SID=PRJ03)))"

    Import Completed message appears.

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    11/14

    Anjani PandeyOracle Applications Consultant

    Registering the Main Page as a function

    Enter the Function Name, User Function Name and Description.

    Enter Properties (Tab) Type as SSWA jsp function

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    12/14

    Anjani PandeyOracle Applications Consultant

    In Web HTML(tab)Enter the Main xml page pathOA.jsp?page=/oracle/apps/ak/persondetail/webui/PersonMainlPG

    (Dont append .xml with the path, it results in error)

    Attach the function with a menu and then run from the respective responsibility.

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    13/14

    Anjani PandeyOracle Applications Consultant

    You may need to bounce the Appache server.

    When I run the page from menu function in Apps:

    When I click Go button:

  • 8/8/2019 OA Framework Tutorial Deployment in APPS Environment

    14/14

    Anjani PandeyOracle Applications Consultant