Install OA Framework jDeveloper RUP4 from Scratch
Written by Anil Passi   
Monday, 30 April 2007
In this article, we will again start from scratch on how to get your environment setup for OA Framework development, after you have downloaded jDeveloper patch from Metalink.

If you are on RUP4 of 11.5.10, then download patch 5455514 from Metalink on your PC, and lets say the location is D:\software\fwkrup4



Right click the zip file and select Extract to here




On My Computers, right click, and then click on Properties

Navigate to Advanced tab, and click button Environment Variables

As below, create a new Variable Name named JDEV_USER_HOME and assign it value “D:\software\fwkrup4\jdevhome\jdev” [without double quotes]



On Unix box, navigate to $FND_TOP/secure and FTP the dbc file in ascii mode to your PC location D:\software\fwkrup4\jdevhome\jdev\dbc_files\secure
In fact




Next, in order to start jDeveloper, navigate to D:\software\fwkrup4\jdevbin\jdev\bin on your PC and click on jdev.exe

This will run your jDeveloper executable as shown below.




Next, click on Database/connections, and right click to create a new Database Connection



Create a connection to apps schema


and then test the connection.



In the Tools menu, select preferences, “Embedded OC4J”, try to use "Default Local IP Address" option.




Now, create a new Workspace[by right clicking on Workspace], and then open Tutorial.jpr from directory D:\software\fwkrup4\jdevhome\jdev\myprojects



Doubleclick on Tutorial.jpr and in Runtime Connection, select your dbc and optionally change to your a Username and password. Ensure that the user enter in UserName has access to responsibility specified in Responsibility Key



Rebuild Tutorial.jpr



Now, run the Tutorial which is pre-delivered by Oracle itself. This can be done by right clicking on the HomePG.xml and select Run



You should be able to run the application shipped by Oracle in below manner



If you wish to see the BC4J objects like View Objects etc a page is referencing, then right-click that page in specific MDS Page and select “Show OA References”



When clicked on Show OA References, you will be able to see the BC4J objects that were used to build that page

Comments (27)add
...
written by zameer , April 30, 2007
Our Application version is 11.5.10.2
and
OA Framework Version 11.5.10.2CU.

Shall i use the same patch or different,
please advice
...
written by Anil Passi , April 30, 2007
Hi Zameer

On CU2, please follow the instructions in
http://oracle.anilpassi.com/oa-framework.html

Thanks
Anil Passi
...
written by Anil Passi , May 12, 2007
Here is a list compiled from various metalink notes...

Base 11.5.10
Patch 4045639 JDeveloper 9i


11.5.10 ATG CU1
Patch 4141787 JDeveloper 9i


11.5.10 ATG CU2
Patch 4573517 JDeveloper 9i


11.5.10 ATG CU3
Patch 4725670 JDeveloper 9i


11.5.10 ATG CU4
Patch 5455514 JDeveloper 9i


R12
Patch 5856648 jDeveloper 10g


Thanks,
Anil Passi
...
written by Srihari , May 24, 2007
What will the final version (Jdeveloper) be 9.x.x.x after applying the patch 5455514 ? Currently we are on RUP4 with the following information?
OA Framework Version 11.5.10.4RUP.
MDS Version 9.0.5.4.89 (build 555)
UIX Version 2.2.24
BC4J Version 9.0.3.13.93
...
written by Ramkumar , May 30, 2007
hi anil,
iam working on OAFramework on HRMS module.
recently my organization has given CRM to me.
but CRM pages are not developed ON OAFramework.
it is developed on JTT/JTF(JSP Customizations).
Do you know how to customize and personalize
CRM Pages.

Regards
Ram
...
written by Anil Passi , May 30, 2007
Oracle is surely moving all their modules to Framework. I think these JSP pages internally use AK Developer for the data layer, with JSP providing the presentation layer.

If so, your extensions will happen in AK.

This is my thinking.

If you can tell me the name of a form function, then I can dig into that to find the right way forward.

Thanks
Anil
...
written by Sush , June 04, 2007
Hi Anil,

Can you help me with this?

java.io.FileNotFoundException: D:OAFjdevhomejdevsystem9.0.3.5.1312oadbc_filessecureosidt2_prod.dbc

The .DBC file is actually present in the location. Do you have any idea what could be the possible error?

Thanks,
Sush
...
written by sushmita , June 05, 2007
Hi,

Its working now. There were some extra characters in the dbc file which went unnoticed before.
I corrected it and its working fine now.
Thanks again for your response.


Thank you,
Sush
...
written by Anil Passi , June 05, 2007
Sush

Thats great, thanks for sharing the info.

Cheers
Anil
...
written by Deviprasad , June 20, 2007
We are experiencing an issue with the JSP pages. We need to configure the JSP pages to point to a different schema other than APPS.

The Issue.

The issue is that through D2K forms we are able to view the archived data by changing the data group to Arch_data group. In release 12 Oracle has come up with JSP forms which have replaced the oracle forms. From JSP pages we are only able to view the apps data and not the archived one even though we are accessing the forms through the Archive responsibility (this responsibility is connected to a different schema).

I wanted to know how the JSP form is connecting to the database in Oracle Apps. Does it use the Datagroup which is linked to the Responsibility to determine which schema needs to be connected? Or is there a different way for JSP pages.
...
written by Anil Passi , June 20, 2007
Hiya

Your application should always connect to apps.
If need be, please create synonyms in APPS schema with relevant grants given to APSP schema

Thanks
Anil
...
written by Brunda , September 17, 2007
Anil,

I tried to install JDeveloper and it was installed successfully. When I tried ro rebuild Tutorial.jpr after updating the runtime connection settings, warnings are displayed in the compiler tab and when i run HomePG.xml, I get an error "You have encountered an unexpected error. Please contact the System Administrator for assistance.". Please can you help me with this.

Thanks,
Brunda
...
written by Anil Passi , September 17, 2007
Hi Brunda

There can be various reasons for this kind of Error.

Is there a link that says click here for further info?
Basically I need to see the full error stack.

Given that your project has rebuilt but can't be run, it points to a runtime issue
Please ensure that the username/password/responsibility key/responsibility application short name combination is a valid one?

Thanks,
Anil Passi
...
written by Brunda , September 18, 2007
Thanks Anil. The problem was with the dbc filename in the runtime connections tab. I changed it to point to the dbc file from the instance and it is working now.

Thanks,
Brunda
...
written by M.Rajkumar , September 20, 2007
Hi Anil

Your article is very useful to Oracle APPS consultants.

Great Work.

Regards
Rajkumar
...
written by M.Rajkumar , September 20, 2007
Hi

I followed the all the instructions given by you. If i try ro run the homepg.xml , it says "Unexpected URL parameters have been detected and will be ignored."

Any reasons?

Regard
Rajkumar
...
written by Manish Pratap Singh , September 25, 2007
Hi,

I am working on 11.5.9 version. I need to work on OA framwork. Please let me know the patch and installlation steps. I have downloaded the patch for 11.5.10.2 but it is not working with 11.5.9.

Please suggest
Manish
11.5.10.2 JDev Version
written by Amit Desi , October 12, 2007
Hi Anil,
I am new to JDev but I am here for 5 years in Oracle Application.
First Congratulation for your wonderful hard work, right now i have 11.5.10.2 oracle apps and per different notes i need JDev9.0.3 Is this right? and if so from where i can download it as JDev9 looks like not available anywhere.
Plese help
Amit
jdeveloper installation on personal system if have only oracle9i,d2k
written by amarnath , October 15, 2007
ihave only oracle 9i,d2k on my personal system,can i install jdeveloper and practice,pleqse let me know if can install
JDEV works w/tutorial pages but I get this error when trying to run the customers page from Account Receivables module/receivables_manager responsibility in R12. I have not made any changes to the ap
written by Sunita , October 29, 2007
JDEV works w/tutorial pages but I get this error when trying to run the customers page from Account Receivables module/receivables_manager responsibility in R12. I have not made any changes to the app yet. Any suggestions? thanks,

Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = mds;
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown
Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatche
r.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequest
Dispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.
java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.ja
va:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.j
ava:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHan
dler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResour
cePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = mds;
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(Unknown
Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Senior Developer
written by Kirubakaran , November 24, 2007
I get the following error while installing the Jdev
at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:1014)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(ArchitectureWrapper.java:143)
at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(ArchitectureWrapper.java:107)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:96)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.(AppsCacheLogger.java:47)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:727)
at oracle.apps.jtf.cache.CacheManager.(CacheManager.java:390)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:22smilies/cool.gif
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:165)
at oracle.apps.fnd.profiles.Profiles.(Profiles.java:247)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:455)
at oracle.apps.fnd.profiles.ExtendedProfileStore.(ExtendedProfileStore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:4234)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:1114)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:946)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:92smilies/cool.gif
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:917)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:88smilies/cool.gif
at oracle.apps.fnd.common.AppsContext.(AppsContext.java:74smilies/cool.gif
at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:1014)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at _test__fwktutorial._jspService(_test__fwktutorial.java:74)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:51smilies/cool.gif
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:29smilies/cool.gif
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException: null Connection
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:167)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1475)
... 64 more
Thanks
Kirubakaran.R
...
written by Anil Passi , November 24, 2007
The error indicates a null Connection object.
I suspect you have either got a wrong DBC file, or your DB Connection from jDeveloper is incorrect.

Hello everybody
written by Dattaprasad , November 27, 2007
Hello everybody,
I have started to study the OAFramevork from scrach.Right now I am stay at Pune,India.If anybody knows OAFramevork regarding Classes/Courses Or Other sourses at Pune, please give me information about that.

Thanks to all
Dattaprasad
Error While Runing HomePG.xml File
written by Faiz , January 23, 2008
Hi ,

Great thanks Anil.

While runing HomePG.xml file i am getting following error.
{

Validation error in document "HomePG":
Invalid value "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" for property "Extends" on component "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications". Component "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" cannot be referenced from "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications" because it violates scope restrictions.

}

Could anyone please shed light that Why i am getting this error and how to resolve this

Thanks
Faizan

Error While Runing HomePG.xml File
written by Faiz , January 23, 2008
Hi ,

Great thanks Anil.

While runing HomePG.xml file i am getting following error.
{

Validation error in document "HomePG":
Invalid value "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" for property "Extends" on component "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications". Component "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" cannot be referenced from "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications" because it violates scope restrictions.

}



Thanks
Faizan

error
written by sunnyc2007 , February 26, 2008
Hi Anil,
i'm trying to install as per the instruction given by you but getting this error when i try to run home page

OAException: Application: FND, Message Name: SYSTEM-ERROR. Tokens: MESSAGE = Io exception: The Network Adapter could not establish the connection;
at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:98smilies/cool.gif
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:353)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at _runregion._jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(

please guide me
Help on attachments
written by John Yeoh , March 05, 2008
Hi Anil,

I have a problem on how to make attachment using OA framework technology.

Do you have an Operation Instructions on that subject?

Appreciate if you could show me way.

Thanks
You must be logged in to a comment. Please register if you do not have an account yet.

busy