2 Replies Latest reply on Nov 2, 2015 8:31 AM by Timo Hahn

    [ ADF, JDev12.2.1 ] Internal Server Error: Connect to Remote Region Provider

    ugb

      Hey,

      try to test the new feature Remote Region with 12.2.1.

       

      Following the documentation:

      http://docs.oracle.com/middleware/1221/adf/develop/GUID-D7FDF023-1373-47CB-B349-DC24826441B0.htm#ADFFD-GUID-841BDF8A-D53…

      26.13.4 How to Configure an Application to Render Remote Regions

      1.) Build a Remote Region Provider App

      2.) Deploy to local integrated wls as EAR-File

      4.) Call http://127.0.0.1:7101/rtfsample/rtfquery

       

       

      Error 500--Internal Server Error

      java.lang.UnsupportedOperationException: javax.xml.transform.TransformerConfigurationException: Configuration Error

        at weblogic.xml.jaxp.RegistryTransformerFactory.setFeature(RegistryTransformerFactory.java:321)

        at oracle.adf.controller.rc.TaskFlowRegistry.setFactoryFeature(TaskFlowRegistry.java:681)

        at oracle.adf.controller.rc.TaskFlowRegistry._getTransformer(TaskFlowRegistry.java:654)

        at oracle.adf.controller.rc.TaskFlowRegistry.write(TaskFlowRegistry.java:490)

        at oracle.adfinternal.controller.rtfquery.RemoteTaskFlowQueryServlet.buildResponseDocument(RemoteTaskFlowQueryServlet.java:96)

        at oracle.adfinternal.controller.rtfquery.RemoteTaskFlowQueryServlet.doGet(RemoteTaskFlowQueryServlet.java:55)

       

      4.) Task Flow Registry:

       

      <?xml version = '1.0' encoding = 'UTF-8'?>

      <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">

         <task-flow-descriptor path="META-INF/adfc-config.xml" id="" type="" uses-page-fragments="false" library-internal="false" remote-invocable="false" train="false" critical="false" page-type="facelets"/>

         <task-flow-descriptor path="WEB-INF/rtfsample.xml" id="remote-task-flow-definition" type="task-flow-definition" uses-page-fragments="true" library-internal="false" remote-invocable="true" train="false" critical="false" page-type="facelets"/>

      </task-flow-registry>

       

      5.) Task Flow Definition

       

      <?xml version="1.0" encoding="UTF-8" ?>

      <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">

        <task-flow-definition id="remote-task-flow-definition">

          <default-activity>viewEmp</default-activity>

          <data-control-scope>

            <isolated/>

          </data-control-scope>

          <view id="viewEmp">

            <page>/empPage.jsff</page>

          </view>

          <use-page-fragments/>

          <visibility>

            <remote-invocable/>

          </visibility>

        </task-flow-definition>

      </adfc-config>

       

      Any suggestions ?