OA Framework - All Articles
  • Register

HEADLINING: We will be launching Oracle trainings next month contact us for more details

User Rating: 4 / 5

Star activeStar activeStar activeStar activeStar inactive
 

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   

0 #1 kishore Ryali 2008-03-17 06:28
Hi Anil
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
Quote
0 #2 kishore Ryali 2008-03-17 06:47
Hi Anil
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.
Quote
0 #3 Anil Passi 2008-03-17 07:16
Hi Kishore,

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
Quote
0 #4 Chinmaya 2008-03-18 10:47
Hi anil,

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
Quote
0 #5 firenze 2008-04-03 07:48
Hello Anil-
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
Quote
0 #6 sreeram29 2008-06-09 01:32
Hi Anil,

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
Quote
0 #7 Murthy Kodavati 2008-06-20 09:16
Hi Anil,

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.
Quote
0 #8 Anil Passi 2008-06-20 09:27
Hi

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
Quote
0 #9 Murthy Kodavati 2008-06-20 09:43
okei i will try that, but i got the same error when

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
Quote
0 #10 Murthy Kodavati 2008-06-20 09:45
I also didnot find env.txt in $OA_HTML can that be any reason.??

I saw Templteenv.txt which shows a JRAD_XML path to be set....
Quote
0 #11 Pramod 2008-07-29 20:16
Hi Anil,
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
Quote
0 #12 Anil Passi- 2008-07-30 01:42
Hi Pramod

The location is
cd $JAVA_TOP/oracl e/apps/ar/irec

Thanks,
Anil Passi
Quote
0 #13 Joselfmp 2008-11-25 09:48
Hi Anil,
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.
Quote
0 #14 Joselfmp 2008-11-25 10:23
Hi again,
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,
Quote
0 #15 Joselfmp 2008-11-25 12:00
Hi again Anil,
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.
Quote
0 #16 Sukalyan Ghatak 2009-05-06 01:27
Hi Anil,

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
Quote
0 #17 KrishnaKishoreT 2009-07-07 15:57
Hi Anil,

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
Quote
0 #18 pavankumar1408/19 2009-10-02 10:01
i want to load the iexpense pages in to jdevelopr
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. ...
Quote
0 #19 pavan 2009-10-02 11:39
For jdeveloper 9.0.3 how to create .jws and .jpx files
Quote
0 #20 Kamleshwar Chopra 2009-11-26 01:01
Do we need to download the fnd folder also to run the page locally ?
Quote
0 #21 user12212 2009-12-24 11:51
Hi All I want to develop my oaf page with jdeveloper10g can I do this??.Please help me
Quote
0 #22 Geetha 2010-03-21 14:13
Hi,
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.
Quote
0 #23 samsungshah 2010-04-26 04:16
HI Kishore/Anil,

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
Quote
0 #24 swami 2010-09-27 10:48
Hi Anil,

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
Quote
0 #25 siri 2010-12-07 02:49
I tried your tutorial and could run perfectly the page with 9iJdev---by running the .xml file but am unable to debug the same.The pages open up properly but am unable to put
break points and debug step by step.Should i use decompiler to convert all files to java files to debug the same?
Quote
0 #26 Muthesh 2013-12-30 10:02
Hi,

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
Quote

Add comment


Security code
Refresh


Make Training Enquiry

  •  
* required information
 

Related Items

LOGIN

DEMO INFORMATION

All content and images shown on this site is for demo, presentation purposes only. This site is intended to exemplify a live website and does not make any claim of any kind to the validity of non-Shape5 content, images or posts published. 

Photography is used for this demo only, and is not included with this template or any membership. You may not use these images for your own without purchase. Links to purchase from their copyright owners will be provided.