Wednesday, January 16, 2013

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.