Oracle applications - Surendranath Subramani: OAF - Startup (Setup Jdeveloper and configure tutorial workspace)

Monday, May 11, 2015

OAF - Startup (Setup Jdeveloper and configure tutorial workspace)

Objective:


Once you install JDeveloper there are various questions raised on how to configure JDev and how to run sample (tutorial) workspace to make sure install is right.



Steps to follow:

  1. Install JDeveloper (See Note 416708.1 How to find the correct version of JDeveloper to use with eBusiness Suite)
  2. Create JDEV_USER_HOME environment variable (JDEV_USER_HOME=C:\Suren\JDEV 10.1.3.3 OAF\jdevbin\jdev) (See image below A)
    1. Oracle has recommended to use jdevhome directory to set environment but while i was working in 10.1.3.3.03 jdeveloper myproject was in jdevbin and all other lib are in jdevbin so i have use jdevbin to set in environment variable and it worked fine.
  3. Assigned below responsibility to my user account
    1. OA Framework ToolBox Tutorial (responsibility key is FWK_TBX_TUTORIAL)
    2. OA Framework ToolBox Tutorial Labs (responsibility key is FWK_TOOLBOX_TUTORIAL_LABS)
  4. Get .dbc file from server ($FND_SECURE)
  5. FTP .dbc file to C:\Suren\JDEV 10.1.3.3 OAF\jdevhome\jdev\dbc_files\secure\
    1. Note: you can find dbc_files folder in multiple locations like (C:\Suren\JDEV 10.1.3.3 OAF\jdevbin\oaext\dbc_files\secure) but do not get diverted use the one mentioned above.
  6. Enabled Tools->change 'Embedded OC4J Server Preferences' to 'Default Local IP Address' (see image below B).
Run sample (tutorial workspace):
  1. By default JDeveloper comes with tutorial workspace and its dependent files.
  2. You can find them under jdevbin/Tutorial.zip
    1. You will find 3 folder under Tutorial.zip 
      1. dbc_files
      2. myhtml
      3. myprojects
    2. unzip myhtml file under \jdevbin\jdev\myhtml
    3. unzip myproject folder under \jdevbin\jdev\myprojects
  3. Open JDeveloper and click file open >> toolbox.jws 
  4. once you open the file you will get popup message saying "Open warning window" "You are about to migrate the application to new version of JDeveloper". 
  5. Click Yes/ Ok.
  6. Expand the workspace and click on project property (2 options are there, 1. you can double click on project or right click and say project property)
  7. 3 basic things to be done to the project property. (see Image below C)
    1. DB connection
    2. Run time options
    3. Run time connection 
  8. Right click on Tutorial project to Rebuilt
  9. Run "test_fwktutorial.jsp" you will see window like shown in image D.
  10. If you see '500 page does not display" error make sure you delete myclasses folder and rebuit the projects.



Image A


Image B


Image C




Image D



No comments:

Post a Comment