Anda di halaman 1dari 2

OAF Personalization JDeveloper Setup

1) 2) 3) 4) Find out what Oracle Application release/version you are running. Go to Metalink Doc id: 416708.1 and download the correct JDeveloper Patch. Extract file to a new directory i.e. JDEVR12 folder. Right-click My Computer -> Properties -> Advanced -> Environment Variables. Create or update variable JDEV_USER_HOME. Update the value to C:\JDEVR12\jdevhome\jdev 5) Delete tutorial files:
C:\ JDEVR12\jdevhome\jdev\myprojects\mycompany C:\ JDEVR12\jdevhome\jdev\myprojects\ExtendLabSolutions.jpr C:\ JDEVR12\jdevhome\jdev\myprojects\ExtendLabSolutions.jpx C:\ JDEVR12\jdevhome\jdev\myprojects\LabSolutions.jpr C:\ JDEVR12\jdevhome\jdev\myprojects\LabSolutions.jpx C:\ JDEVR12\jdevhome\jdev\myprojects\SampleLibrary.jpr C:\ JDEVR12\jdevhome\jdev\myprojects\SampleLibrary.jpx C:\ JDEVR12\jdevhome\jdev\myprojects\toolbox.jws C:\ JDEVR12\jdevhome\jdev\myprojects\Tutorial.jpx C:\ JDEVR12\jdevhome\jdev\myprojects\Tutorial.jpr

6) Retrieve DBC File. a. Go to the Oracle applications and append OA_HTML/jsp/fnd/aoljtest.jsp to the end of the URL. i. http://dev2.ora-apps.f5net.com:43404/OA_HTML/jsp/fnd/aoljtest.jsp ii. Enter required information and click the Test button. iii. Scroll all the way to the bottom and click on Enter AOL/J Setup Test. iv. Click on Locate DBC file on the left hand side.

v. Under DBC file found, content: copy and paste it into C:\JDEVR12\jdevbin\oaext\dbc_files\secure. Make sure the file name ends with extension .dbc. (i.e. dev.dbc)

7) 8) 9) 10)

Launch JDeveloper (C:\JDEVR12\jdevbin\jdev\bin\jdevW.exe) Create a new OAF Workspace. Go to File > New > Workspace Configured for Oracle Applications. Create a new OAF Project and attach the relevant responsibility. To extract OAF Page(s). a. Retrieve the files. (For example for AR customers) i. $JAVA_TOP/oracle/apps/ar to C:\JDEVR12\jdevhome\jdev\myclasses\oracle\apps\ar ii. $AR_TOP/mds to C:\JDEVR12\jdevhome\jdev\myprojects\oracle\apps\mds Rename to C:\JDEVR12\jdevhome\jdev\myprojects\oracle\apps\ar 11) On JDeveloper, click on View > Refresh. 12) Identify the pagename you want to run. To run a page in JDeveloper, expand project content. Expand oracle > apps > ar > XXXXX > webui and find the page name. Right-click the page name and click Run. *Page information can be found using the About This Page link in the applications*

Run Errors
Any number of errors may occur when running the page. An example is an additional class file may be needed from a different application. Most of these errors can be resolved by repeating the step above to find the appropriate class files. When resolving errors be sure to terminate the current session; Run>Terminate>Embedded OC4J Server Additional steps to help resolve errors; under Project Properties>Runtime Options you can remove OADeveloperMode and replace with OADiagnostic

For more info see example in http://oracle-hack.blogspot.com/2008/10/r12-controller-class-extension.html

Anda mungkin juga menyukai