How To Setup OA Framework ToolBox Tutorial in Oracle Applications Framework








How To Setup OA Framework ToolBox Tutorial in Oracle Applications Framework

If you are new to OAF Development and want to create a new Hello World Page, then this tutorial will help you. For that first you need to do a Setup to use JDeveloper to develop and run your OA Pages.

Check this to Setup JDeveloper

After the Setup is completed, you are all set to run your first OA Page. Oracle itself has created the Hello World page for you! Just go through the below steps to run the page.

Step 1 : Open Oracle JDeveloper and go to File - > Open. Open the "toolbox.jws" file from the location \jdevhome\jdev\myprojects.

Common file extensions
  • jws - Java Workspace
  • jpr  - Java Project
  • jpx - Java Project Extension

Step 2 : Once Imported below folder structure will get displayed under Applications Navigator .Right click on Tutorial and then click on Project properties.






Step 3 : Go to Oracle Applications > Database Connections tab ,



Step 4 : Click on New to create a new database connection. Choose the Connection Type as Oracle (JDBC).



Step 5 : Give your Oracle Apps database username and password.


Step 6:  Choose the thin driver and give Host Name, Port and SID details of your Oracle Application Database Server. You can get the details from about the page from front end.






Step 7:  After that click on Test Connection button to check if the JDeveloper can connect to the specified database or not. If the status is success then go ahead or check the above settings if you get different status.



Step 8: In the Runtime Connection tab, add the path of your DBC file name and give your Oracle Apps username and password. Click Ok. Also add Application Short Name as AK and Responsibility Key as FWK_TBX_TUTORIAL.



Step 9: Go to Oracle Application Front end and add the responsibilities "OA Framework ToolBox Tutorial" & "OA Framework ToolBox Tutorial Labs" to the user that you have added on the Runtime Connection tab above.





Step 10 : Now right click on Tutorial and Rebuild the project. You should get zero errors. If you get few warnings it is ok.





Step 11:  Now go to toolbox > Tutorial > Web Content and Run the test_fwktutorial.jsp page.



Step 12 : Click on Hello, World! Once this page opened.




Step 13 : Here is your Hello World page.







Few Common Errors and their solutions :

Error: oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.

Solution :

1 . Check that the user name and password are correct in the project settings.(Make sure to give Application username and password.)

2. Check the Responsibility key and Application short name.

3. Check whether the user name given in point #1 is attached to the responsibility mentioned in the point #2.

4. Check your dbc file for correct settings.

Error: oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.lang.NullPointerException;

Solution :

Set profile “Sign-On:Notification” to “No” at site level.


No comments