In this article, you will see a video demonstration of all the steps that will explain how to run OA Framework page in jDeveloper.
This article is an extension of article linked here, General Steps for running OAF From jDev
Some key features of this video tutorial are
This tutorial was built using vision instance of R12 Rollup3
The example used for this page is iProcurement, however these concepts can be applied to any other application.
The tutorial is split into two steps
STEP 1 Audio-Visual Demo [click link below]
Preparation of your PC/jDeveloper Environment for OA Framework
Step 2 Run the page [click link below]
Transfer the components from server and run the page in jDeveloper
Important Info:-
In the above tutorials, I haven't copied across the xml files from $JAVA_TOP to jDevHome/myprojects.
You will have to do that step, in order to extend any BC4J component
Comments
I've been facing this issue since i started learning on OAF with HelloWorld.
Whe n I run from JDeveloper, a single page takes long long time(20 to 30 mins) to open up.
I use VPN to connect to my client server, and Embedded OC4J setting is "localhost". I included my IP in proxy server settings also.
Due to this problem, I feel testing on the server doing FTP the class files and running XMLImporter takes less time. Could you please suggest me what might be wrong?
Thanks
Kishore Ryali
Another question...
I guess u r using JDeveloper 10g in the video. Once u created OA Project, How did u get the packages mycompany.oracl e.apps,oracle.a pps.fnd,oracle. apps.icx into ur project?
I had to manually add those packages in JDeveloper 9i, to complete this session.
You are right, running OA Framework pages, even something as simple as hello world will take over 10minutes when using VPN.
You should be in the pysical Local Area Network of the server hosting apps.
Your second question, 10g will create those packages for you.
In case of jDev9i, you haveto use File/Open menu to first open the page that you wish to run.
Thanks,
A nil Passi
I m chinmaya working with apps 11i. We are concentrating on sourcing modules. Present i m facing one issue. In my production, we found some auctions they created with null values for open bidding date and close bidding date. I couldnt reproduce this issue. Could you please guide
I have followed the demo to the fullest and was able to run the page in demo without a hitch. However, I have encountered an issue while running a page belonging to iSupplier.
He re are the details :
environment -> R12 RUP4
IDE -> Jdev 10.1.3.3
Page I am trying to run -> oracle.apps.pos .supplier.webui .OrgnaizationPG .xml
Runtime connection details specific to OA ->
user -> BIRGIT
applicat ion -> POS
(isupplier)
Responsibility key -> ISUPPLIER_PORTA L_RESP_DE
(iSup plier Portal germany)
HEre is the error message:
## Detail 0 ##
JBO-30003: The application pool (boston.bitek.l ocalR12XBIT1524 oracle.apps.pos .supplier.serve r.ByrSuppAM) failed to checkout an application module due to the following exception:
orac le.jbo.JboExcep tion: JBO-29000: Unexpected exception caught: oracle.apps.fnd .framework.OAEx ception, msg=Application : FND, Message Name: FND_GENERIC_MES SAGE. Tokens: MESSAGE = java.sql.SQLExc eption: ORA-20001: SQL_PLSQL_ERROR : N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: APP-FND-02901: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option MO: Operating Unit is set.
ORA-06512: at "APPS.FND_MESSA GE", line 498
ORA-06512: at "APPS.MO_GLOBAL ", line 36
ORA-06512: at "APPS.MO_GLOBAL ", line 757
ORA-06512: at "APPS.MO_GLOBAL ", line 700
ORA-06512: at line 1
;
I have verified the profile option "MO: Operating unit" and is having the right value as (Vision Germany). Would appreciate any pointers to resolve the issue.
Thanks,
firenze
I m working on iSupplier module. I ve loaded all the .xml and .class files from the server to my local machine my project and myclasses folders.and also loaded the pages from mds directory to myprojects folder. .everything i did seems to be perfect..but when i try to run any page from jdev..it gives me tooo many errors in the compiler log..and all of these errors stated either of the two "start of root element expected " or "PI with name xml should be in the beginning of the document\".
can u please help me with this..
Thanks,
sreeram
I am trying to setup Jdeveloper and trying to create a new page when i run the new page i get the followin error.
Excepti on:
oracle.adf.mds .MetadataDefExc eption: Unable to find component with absolute reference = /oracle/apps/ea m/workorder/web ui/EAM_EW_START _PAGE, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds. internal.Metada taManagerBase.f indElement(Meta dataManagerBase .java:1350)
I been trying around this for the past 2 days....
1.I tried creating a new page it didnt work...
2.I tried copying an existing page the error message points to it...but no use..
3.i could not find the env.txt in my jdevhome (can this be the problem?)
App reciate any help!!
Cheers.
You are referencing Enterprise Asset Management files are runtime, hence the error.
Please FTP all files from $EAM_TOP/mds into myprojects/orac le/apps/eam
Th anks,
Anil
I tried creating a new page...it didnt work out..the same exception
Exce ption:
oracle.adf.mds .MetadataDefExc eption: Unable to find component with absolute reference = /oracle/apps/ms c/webui/page1, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds. internal.Metada taManagerBase.f indElement(Meta dataManagerBase .java:1350)
.. so I tried out using existing page which I wrked on previous ..whch wrked then but now i can understnd why it may not work...i have copied the xml file into the right directory...wor korder/webui
2 .when i copy it(xml file) to $JDEV_USER_HOME /myprojects it gives me an error FND INVALID APP
Cheers
I saw Templteenv.txt which shows a JRAD_XML path to be set....
I am trying to run iReceivables from JDeveloper. I was able to copy class files from $JAVA_TOP/ar/ir ec folder but i could not find IREC_TOP/mds (similar to $ICX_TOP/mds).
Whrere can I find mds dir for iReceivables.
R eards,
Pramod
The location is
cd $JAVA_TOP/oracl e/apps/ar/irec
Thanks,
Anil Passi
I've followed your two videos and I think I've just did the same as you, but for responsibility SELF_SERVICE_PU RCHASING_5 (iProcurement) but, when I try to run the NOnCatalogReque st.xml , it appears an error page saying:
"Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance. "
It seems to try to connect to apps environment but.. without success... Any ideas?
Thanks,
Regards.
sorry for my last post,
I had manteined the fwktester user ... Now it connects.. although it gives some errors relatives to attributes length.. But, the most importnat is the connection.
Reg ards,
when you say "In the above tutorials, I haven't copied across the xml files from $JAVA_TOP to jDevHome/myproj ects.You will have to do that step, in order to extend any BC4J component"
I've seen that in ICX_TOP/mds folders structure the xml files are the same as the ones of $JAVA_TOP... so... which xml file did you mean?
I'm able to execute this example, but... there's something strange: When I click on ShoppingHomePG. xml (Applications Navigator) and It shows below the .xml structure, It appears disabled all the tree under MyReqsTable. Is it normal? I don't suppose so.. because.. if we want to follow another of your examples to exnted the VO and add a SupplierName we need to have it enable ...
Let me know please. Thanks a lot.
Jose.
I am trying to extend the standard iSupplier page PosAsnMainPG. I downloaded the JAVA_TOP/oracle /apps/pos and POS_TOP/mds as per videos above. I am using jDev9i. When I open the page it throws error: Invalid value "/oracle/apps/p os/inquiry/webu i/PosAttachFoot er" for property "Extends" on component "/oracle/apps/p os/asn/webui/Po sAsnMainPG.PosC ontentFooter". Component "/oracle/apps/p os/inquiry/webu i/PosAttachFoot er" cannot be referenced from "/oracle/apps/p os/asn/webui/Po sAsnMainPG.PosC ontentFooter" because it violates scope restrictions.
What do I need to do for this?
Also, the page goes in error when I run it.
What all do I need to do to make it run standalone in desktop?
Regar ds
Sukalyan
I have copied the required files to open the Non-Catalog Request page to the JDEV_USER_HOME\ myprojects\orac le\apps\icx and JDEV_USER_HOME\ myclasses\oracl e\apps\icx directories. But, since I am using JDeveloper 9i, I do not know how to load the required files into JDeveloper and run the Non-Catalog request page.
Could you please list the steps to run the page using JDeveloper 9i (Version 9.0.3.5, Apps Version 11.5.10.2)
Tha nks,
Krishna
I have downloaded all the class files from server ( java_top) and all the xml files from Ap_top/mds folder as indicated i the video session .....but the folders i downloded donot have the same structure ....hence when i am creating the project i am not able to view all the class and xml file in the dropdown menu.....plz help me out.....thanks. ...
I followed the instructions as per ur demo, and was successfully able to run the Hello world page.. Many many thanks.
then as per the video tutorial I deployed the files $PER_TOP selfservice module in the bc4j. And after so many trials i was able to run the page - MgrMainAppraise rPG.xml page. But what i noticed is that IMAGES are NOT LOADING.. that is whatever is referred from the OA_MEDIA folder, are not displayed on the screen. When i click on any of the buttons, it shows 'Error on Page' -- javascript error. Is it because the images didnt load.? If Yes can u please tell me how to make the images load?
Thanks and Regards
Geetha.
Could you please let me know how to manually add existing project files to new project.
In 10g BC4J structure gets automatically created once you have imported existing project files
into appropriate directories but in jdev9i lots of manual work needs to be done, every time i try to import i get error.
Regards
Satya
I'm trying to run HelloworldPG.xm l but it opens up internet explorer page that says - Error page - You have encountered an unexpected error. please contact the system administrator for assistance. I'm using ADF Business Components10.1. 3.41.57
AOLJFND R12.1.1 (7307198)
BPEL Designer10.1.3. 3.0 (Build 070615.0525)
Bi Beans Runtime3.1.1.9
Build TypeOptimized
C VS VersionInternal to Oracle JDeveloper (client-only)
J ava(TM) Platform1.5.0_0 5
MDS Runtime9.0.6 (Build OJTMDS_9.0.6_NT _081216.1456.36 )
OA Extension10.1.3 (Build OAEXT_MAIN_NT_0 90115.2152.1268 )
OA Framework12.1.1 (2009_01_17_Sat _0200PM_1268_11 )
Please can you help me in running this page.
Regards,
swami
break points and debug step by step.Should i use decompiler to convert all files to java files to debug the same?
The simple oaf page takes 10 minutes to complete.
I am not using VPN. Could you please guide me can any set ups i need to do in my system?
Thanks in advance,
Muthes h
RSS feed for comments to this post