Wednesday, February 19, 2014

ADF/WebCenter (Fusion Middleware) Errors and their solutions

  This page is to list down all issues that I face while working with ADF/Webcenter (Fusion Middleware products)

 

Issue 1:                                                                                           

ADF - Error in Jdev as shown below

Caused by: oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
     at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
     at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1405)
     at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1201)
     at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)

Solution: Add following entries in DataBindings.cpx

  <definitionFactories>
      <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
      <factory nameSpace="http://xmlns.oracle.com/adfm/dvt"
               className="oracle.adfinternal.view.faces.dvt.model.binding.FacesBindingFactory"/>
      <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
               className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
      <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
   </definitionFactories>



=================================================================

Issue 2: http://server/webcenter/faces/oracle/webcenter/sitestructure/render.jspx?datasource=UCM%23dDocName%3mydoc shows blank page.

Solution: Check if you have navigation-renderer.jspx and its pagedef file in project. At times we delete them by mistake. These files are needed to render content which does not have a dedicated page.

===========================================================================


Issue 3: Weblogic throws 'Too many open files'
Solution: ulimit -n 4096