Wednesday, January 16, 2013

OAF - Errors Encountered - View Instances cannot be retrieved

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"

Getting error "View Instances cannot be retrieved: View Instances not found in oracle.apps.fnd.framework.server.OAApplicationModule"


When new VO is created and associated to AM and whenever it is intended to use created View Instance and View Attributes, system displays above message.

Resolution:
Please choose AM Definition at pageLayout region as the one which has been created instead of putting generic one(i.e. oracle.apps.fnd.framework.server.OAApplicationModule)

OAF - Errors Encountered - Unable to find component with absolute reference

This summary is not available. Please click here to view the post.

OAF - Errors Encountered - XMLImporter “Aborted”

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"

While trying to import XML files(OAF page files) using command line utility “XMLImporter”, it displays error message as “Aborted”

Resolution:
Please make sure that once you are logged in unix box, run environment file (apps.env and db.env)

OAF - Errors Encountered - The document is not in the XMLPath

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"

Getting error "Unable to open file…..The document is not in the XMLPath…."

Resolution:
Set new directory path to JDEV_USER_HOME environment variable

OAF - Errors Encountered - Could not create Java class

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"


Getting error "oracle.apps.fnd.framework.OAException: Could not create Java class: (xxt.oracle.apps.fnd.framework.toolbox.tutorial.webui.HelloWorldMainCO) associated with region: (MainRN). This is probably because the class name is wrong or not included in project"

While running ‘test_fwktutorial.jsp’ from ‘Tutorial’ project, when clicking on Hello, World, this error was appearing.

Resolution:
I modified ‘oracle\apps\fnd\framework\toolbox\tutorial\webui\HelloWorldMainCO.java’ class from “package oracle.apps.fnd.framework.toolbox.tutorial.webui;” to “package xxt.oracle.apps.fnd.framework.toolbox.tutorial.webui;”. Saved project and rebuild. Ran the same jsp file and then it was fine.

OAF - Errors Encountered - 2. 500 Internal Server Error

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"

Getting "500 Internal Server Error
oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object
Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"

This error occurs due to incorrect setting of JDEV_USER_HOME or in other words creating a new directory in JDEV_USER_HOME and putting files there. When I unzip “Tutorial.zip”, it creates jdev directory inside JDEV_USER_HOME.

Resolution:
My JDEV_USER_HOME was “D:\ JDEV_R12_RUP4\jdevhome”. When I unzip “Tutorial.zip”, it created folder “D:\ JDEV_R12_RUP4\jdevhome\jdev”. I moved contents of jdev folder into “D:\ JDEV_R12_RUP4\jdevhome” and deleted jdev directory. It worked.

OAF - Errors Encountered - Failed to start Embedded OC4J Server


JDev version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"

While running from JDeveloper run time window displays below error messages:
12/06/21 14:42:01 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/JDEV_R12_RUP4/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml.
12/06/21 14:42:01 Fatal error: server exiting

Resolution:
Actually, I changed main installation directory later on from “D:\Oracle_JDeveloper\JDEV_R12_RUP4” to “D:\Oracle JDeveloper\JDEV_R12_RUP4” but file “D:\JDEV_R12_RUP4\jdevhome\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml” still contained references to old path. Corrected path in “server.xml” file. Error was gone.