10.1.3 ADF migration & regions

Hi,
I've noticed that the ADF regions taglibs are not migrated to Trinidad. My applications make an extensive use of regions. Is there any future support planned for migrating adf regions ?
Thanks,
Seb.

Hello Sebastien,
Sorry for the late answer, I was actually browsing about regions because I failed to have Facelets work easily with data bindings and found this thread. Actually, Trinidad does support regions (not sure how functional it is either), but it's a secret feature that's flagged experimental, undomcumented and deprecated. Actually it's more than deprecated, it's not officially supported at all and, because of that, might get dumped at any time without any notice. It's so mainly because Trinidad has native Facelets support, which is superior and has community acknowledgment, whereas regions remains marginal. You can use the equivalent of region using the following (can be found in Trinidad demo code):
In your page
<tr:componentRef id="reg1" componentType="org.apache.myfaces.trinidaddemo.region.stock"
              value="Watch this stock">
  <f:attribute name="symbol" value="XYZ"/>
  <f:attribute name="company" value="XYZ Incorp"/>
  <f:attribute name="amount" value="13.66"/>
  <f:facet name="action">
    <tr:commandButton text="Buy" disabled="true"/>
  </f:facet>
</tr:componentRef>In WEB-INF/region-metadata.xml:
<faces-config>
  <component>
    <component-type>org.apache.myfaces.trinidaddemo.region.stock</component-type>
    <component-class>
      org.apache.myfaces.trinidad.component.UIXRegion
    </component-class>
    <component-extension>
      <region-jsp-ui-def>/components/regions/stock.jspx</region-jsp-ui-def>
    </component-extension>
    <attribute>
      <attribute-name>symbol</attribute-name>
      <attribute-class>java.lang.String</attribute-class>
      <attribute-extension>
        <required>true</required>
      </attribute-extension>
    </attribute>
    <attribute>
      <attribute-name>amount</attribute-name>
      <attribute-class>float</attribute-class>
      <default-value>0</default-value>
    </attribute>
    <attribute>
      <attribute-name>company</attribute-name>
      <attribute-class>java.lang.String</attribute-class>
      <default-value>Default Company</default-value>
    </attribute>
    <attribute>
      <attribute-name>description</attribute-name>
      <attribute-class>java.lang.String</attribute-class>
      <default-value>Default Description</default-value>
    </attribute>
  </component>
</faces-config>In the region page (here /components/regions/stock.jspx):
<tr:componentDef var="stuff">
  <tr:panelBox text="Symbol:#{stuff.symbol} Company:#{stuff.company}">
    <tr:outputText value="#{stuff.description}"/>
    <tr:outputFormatted
      value="<br>Current Value:<b>$#{stuff.amount}</b>"/>
    <tr:outputFormatted rendered="#{not empty bindings}"
      value="<br>Value attribute is:#{bindings}"/>
    <tr:facetRef facetName="action"/>
  </tr:panelBox>
</tr:componentDef>For now it's part of the JAR, so it's available. It's far from the best solution, but it'll most likely provide what you need for a first migration phase. Moving to either Facelets or 11g templates is probably going to be mandatory in the future but, who knows, if you're lucky enough, that future could be far enough for some templating standard to emerge, possibly with JSF 2.0, see https://javaserverfaces-spec-public.dev.java.net/proposals/JSF-2_0-draft.html.
Regards,
~ Simon

Similar Messages

  • ADF Dynamic region in a popup does not load

    Hi Experts,
    JDEV version used 11.1.1.5
    I have a page which has a table and each row has a command link on one of the columns.
    When I click on the command link an action listener is invoked which decides the DYNAMIC TF that is to be loaded in a pop up .
    The pop up has a dynamic adf region in it.
    Based on the record clicked (using command link) task flow is loaded in the dynamic region of the the Popup .
    But, when i click the same link for the second time or a different record the popup is displayed as blank , The taskflow in the dynamic region is not loaded at all.(getDynamicTaskFlowId is invoked and is also returing the correct TF to be loaded)
    First time it works as expected  , but its not happening from the second time.
    I have used conditional activation , but later due to the above issue I have tried to put an expression #{true} for the active property to test if it works. It didn't.
    Please note that first time there is no issue.It does not work from the second click on same record or any other record.
    Any other suggestions to fix the above issue  are much appreciated.
    Thanks,
    Vikranth

    Hi Frank,
    I have followed the same approach. However in my case its a dynamic af:region which is causing the issue.
    Any other pointers is much apprecitaed.
    Thanks,
    Vikranth

  • ADF migration from 11.1.1.1.0 to 11.1.1.2.0 : template management issue

    Hello,
    I'm trying to migrate my applications from ADF 11.1.1.1 to ADF 11.1.1.2. One of these apps is based on a page template, and doesn't work anymore.
    Here's one of the jspx (I removed all unnecessary elements). The page is a simple table based on a ViewObject. The bottom facet displays a "Comments" tag, which is linked to the "Comments" field of the selected row
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:afh="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
       <jsp:directive.page contentType="text/html;charset=windows-1252"/>
       <f:view  locale="#{localeManager.userLocale}">
        <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
          <af:document id="d1" title="#{sessionScope.contextTitle} : your mobile time registration system"
                       uncommittedDataWarning="on">
             <af:messages id="m1"/>
             <af:form id="f1">
                *<af:pageTemplate viewId="/MTRSTemplate.jspx" id="pt1" value="#{bindings.pageTemplateBinding}">*
                   <f:facet name="header">
                   </f:facet>                
                   <f:facet name="main">
                   <af:panelStretchLayout id="psl2"  inlineStyle="margin:10px;"
                                          bottomHeight="0">
                      <f:facet name="center">
                      <af:table value="#{bindings.PersonReport.collectionModel}"
                                var="row" width="100%"
                                rows="#{bindings.PersonReportIterator.rangeSize}"
                                emptyText="#{bindings.PersonReport.viewable ? 'No data to display.' : 'Access Denied.'}"
                                fetchSize="#{bindings.PersonReportIterator.rangeSize}"
                                rowBandingInterval="1"
                                filterModel="#{bindings.PersonReportIterator.queryDescriptor}"
                                queryListener="#{bindings.PersonReportIterator.processQuery}"
                                selectedRowKeys="#{bindings.PersonReport.collectionModel.selectedRow}"
                                selectionListener="#{bindings.PersonReport.collectionModel.makeCurrent}"
                                filterVisible="true" varStatus="vs"
                                rowSelection="single" id="tbl1"
                                verticalGridVisible="true"
                                horizontalGridVisible="false"
                                binding="#{dataManagerBean.activityCollectionModel}">
                               <af:column id="persDet" headerClass="HeaderGroup"
                                    headerText="#{bundle.daily_CPerson}">
                            <af:column align="center"
                                       headerText=" "
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column1" width="20">
                               <af:image id="flag" source="images/flags/flag_#{row.AdminStatusFlagColor}.png" rendered="#{row.AdminStatusFlagColor != null ? true : false}"
                                         shortDesc="#{row.AdminStatusFlagColor}"/>
                            </af:column>
                            <af:column sortProperty="PersonCompanyNr"
                                       sortable="true" align="center"
                                       headerText="#{bundle.daily_CPCompanyNr}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c7" width="45">
                               <af:outputText value="#{row.PersonCompanyNr}" id="ot3"/>
                            </af:column>                       
                            <af:column sortProperty="PersonLastName" sortable="true"
                                       styleClass="columnDataExtended"
                                       headerText="#{bundle.daily_CPName}"
                                       headerClass="tableHeader" id="c6"
                                       width="120" align="left">
                                     <af:outputText value="#{row.PersonLastName} #{row.PersonFirstName}" inlineStyle="margin-left:2px;"
                                              id="ot8" shortDesc="Person details :&#13;Tel: #{row.PersonMobile} &#13;Mail: #{row.PersonMobile} &#13;Address: #{row.PersonStreetNr}, #{row.PersonStreet}&#13;#{row.PersonPostCode}, #{row.PersonLocation}"/>                                
                            </af:column>
                        </af:column>
                         <af:column id="noDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="notext" value=""/>
                            </f:facet>
                            <af:column sortProperty="DateDay" sortable="true"
                                       align="center" headerText="#{bundle.daily_CDate}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c13" width="60">
                               <af:outputText value="#{row.DateDay}"
                                              id="ot4">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.DateDay.format}"/>
                               </af:outputText>
                            </af:column>
                            </af:column>
                            <af:column id="planDet" headerClass="HeaderGroup"
                                    width="330">
                            <f:facet name="header">
                               <af:outputText id="plan" value="#{bundle.daily_CPlan}"/>
                            </f:facet>
                            <af:column width="180" align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c8"
                                       >
                               <af:outputText value="#{row.PlanCustomerCompanyNr} #{row.PlanCustomerName} - #{row.PlanCostCenterCompanyNr} #{row.PlanCostCenterName}"
                                              id="outputText1" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.PlanContactCompanyNr} #{row.PlanContactLastName} #{row.PlanContactFirstName}&#13;Tel: #{row.PlanContactMobile} &#13;Mail: #{row.PlanContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="PlanStartTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStart}" headerClass="tableHeader"
                                       styleClass="columnData" id="c9"
                                       >
                               <af:outputText value="#{row.PlanStartTime}"
                                              id="ot10">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanStopTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnDataExtended" id="c14"
                                       >
                               <af:outputText value="#{row.PlanStopTime}"
                                              id="ot12">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader" id="c10"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.PlanDuration}"
                                               id="outputText4"/>
                            </af:column>
                         </af:column>
                         <af:column id="repDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="rep" value="#{bundle.daily_CReport}"/>
                            </f:facet>
                            <af:column align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c5" width="180"
                                       >
                               <af:outputText value="#{row.ReportCustomerCompanyNr} #{row.ReportCustomerName} - #{row.ReportCostCenterCompanyNr} #{row.ReportCostCenterName}"
                                              id="ot9" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.ReportContactCompanyNr} #{row.ReportContactLastName} #{row.ReportContactFirstName}&#13;Tel: #{row.ReportContactMobile} &#13;Mail: #{row.ReportContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="ReportStartTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStart}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStartTime}"
                                              id="ot11">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportStopTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStopTime}"
                                              id="ot6">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader"
                                       id="column4"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.ReportDuration}"
                                              id="outputText2"/>
                            </af:column>
                            </af:column>
                            <af:column id="noDet2" headerClass="HeaderGroupEnd">
                            <f:facet name="header">
                               <af:outputText id="notext2" value=""/>
                            </f:facet>
                         </af:column>   
                      </af:table>
                      </f:facet>                 
                      </af:panelStretchLayout>
                   </f:facet>
                   <f:facet name="bottom">
                      <af:panelStretchLayout id="psl3" inlineStyle="margin:10px;">
                          <f:facet name="top">
                                <af:panelFormLayout id="pfl3" partialTriggers="tbl1">
                                      <af:inputText label ="#{bundle.daily_CComments}" value="#{bindings.Comments.inputValue}"
                                                    readOnly="true" 
                                                    inlineStyle="height:80px;"
                                                    id="ot1" rows="3" columns="100"/>
                                </af:panelFormLayout>
                             </f:facet>
                      </af:panelStretchLayout>                 
                   </f:facet>
                </af:pageTemplate>
             </af:form>
          </af:document>
       </f:view>
    </jsp:root>The pageDef for this page :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="dailyActivityReportPageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        *<page path="com.traxxeo.mtrs.view.pageDefs.MTRSTemplatePageDef"*
              *id="pageTemplateBinding" Refresh="ifNeeded" />*
        <iterator Binds="PersonReport" RangeSize="25"
                  DataControl="MTRSAppModuleDataControl"
                  id="PersonReportIterator"/>
      </executables>
      <bindings>
        <tree IterBinding="PersonReportIterator"
              id="PersonReport">
          <nodeDefinition DefName="com.traxxeo.mtrs.model.views.PersonReport"
                          Name="PersonReport0">
            <AttrNames>
              <Item Value="AdminStatusAdminStatusId"/>
              <Item Value="AdminStatusId"/>
              <Item Value="AdminStatusName"/>
              <Item Value="ApprovalDate"/>
              <Item Value="Comments"/>
              <Item Value="DateDay"/>
              <Item Value="ExportDate"/>
              <Item Value="FunctionTypeFunctionTypeId"/>
              <Item Value="FunctionTypeName"/>
              <Item Value="PersonCategoryId"/>
              <Item Value="PersonCompanyNr"/>
              <Item Value="PersonCountry"/>
              <Item Value="PersonEmail"/>
              <Item Value="PersonFirstName"/>
              <Item Value="PersonId"/>
              <Item Value="PersonLastName"/>
              <Item Value="PersonLocation"/>
              <Item Value="PersonMobile"/>
              <Item Value="PersonPersonId"/>
              <Item Value="PersonPostCode"/>
              <Item Value="PersonReportId"/>
              <Item Value="PersonStreet"/>
              <Item Value="PersonStreetNr"/>
              <Item Value="PlanContactCompanyNr"/>
              <Item Value="PlanContactContactId"/>
              <Item Value="PlanContactCostCenterId"/>
              <Item Value="PlanContactEmail"/>
              <Item Value="PlanContactFirstName"/>
              <Item Value="PlanContactId"/>
              <Item Value="PlanContactLastName"/>
              <Item Value="PlanContactMobile"/>
              <Item Value="PlanCostCenterCompanyNr"/>
              <Item Value="PlanCostCenterCostCenterId"/>
              <Item Value="PlanCostCenterCustomerId"/>
              <Item Value="PlanCostCenterName"/>
              <Item Value="PlanCustomerCompanyNr"/>
              <Item Value="PlanCustomerCustomerId"/>
              <Item Value="PlanCustomerName"/>
              <Item Value="PlanDuration"/>
              <Item Value="PlanFunctionTypeId"/>
              <Item Value="PlanStartTime"/>
              <Item Value="PlanStopTime"/>
              <Item Value="ReportContactCompanyNr"/>
              <Item Value="ReportContactContactId"/>
              <Item Value="ReportContactCostCenterId"/>
              <Item Value="ReportContactEmail"/>
              <Item Value="ReportContactFirstName"/>
              <Item Value="ReportContactId"/>
              <Item Value="ReportContactLastName"/>
              <Item Value="ReportContactMobile"/>
              <Item Value="ReportCostCenterCompanyNr"/>
              <Item Value="ReportCostCenterCostCenterId"/>
              <Item Value="ReportCostCenterCustomerId"/>
              <Item Value="ReportCostCenterName"/>
              <Item Value="ReportCustomerCompanyNr"/>
              <Item Value="ReportCustomerCustomerId"/>
              <Item Value="ReportCustomerName"/>
              <Item Value="ReportDuration"/>
              <Item Value="ReportStartTime"/>
              <Item Value="ReportStatusId"/>
              <Item Value="ReportStatusName"/>
              <Item Value="ReportStatusReportStatusId"/>
              <Item Value="ReportStopTime"/>
              <Item Value="WorkCodeId"/>
              <Item Value="WorkCodeName"/>
              <Item Value="WorkCodeWorkCodeId"/>
              <Item Value="AdminStatusFlagColor"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <attributeValues IterBinding="PersonReportIterator" id="Comments">
          <AttrNames>
            <Item Value="Comments"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>The template page :
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
      <!--<link href="styles/main.css" rel="stylesheet" type="text/css"/>--> 
      <af:pageTemplateDef var="attrs">  
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>MTRSTemplate</display-name>
                    <facet>
                        <facet-name>
                            main
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            header
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            bottom
                        </facet-name>
                    </facet>
                </component>
        </af:xmlContent>
                    <af:panelStretchLayout id="pst1h" inlineStyle="border:1px solid #D2D2D2;margin-top:7px;margin-left:2px;margin-right:3px; -moz-border-radius: 10px;background-color:#FFFFF0;">
                        <f:facet name="center">
                            <af:facetRef facetName="header"/>
                        </f:facet>
                    </af:panelStretchLayout>
                    <af:panelStretchLayout id="pst1m" topHeight="#{attrs.backButton != null ? 30 : 0}"
                                                   startWidth="10px"
                                                   styleClass="mainPanel">
                        <f:facet name="center">
                            <af:facetRef facetName="main"/>
                        </f:facet>
                    </af:panelStretchLayout>
                <af:panelStretchLayout id="pst1b" topHeight="#{attrs.bottomHeight}"
                                           inlineStyle="border:1px solid #D2D2D2; margin-top:10px; margin-left:2px; margin-right:3px; -moz-border-radius: 10px;">
                    <f:facet name="top">                      
                         <af:facetRef facetName="bottom"/>
                    </f:facet>               
                </af:panelStretchLayout>
      </af:pageTemplateDef>
    </jsp:root>and the template pageDef :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="MTRSTemplatePageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
    </pageDefinition>With this configuration, an error is returned when page is displayed :
    javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.getType(AstValue.java:56)
         at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderContentStyleAttributes(SimpleInputTextRenderer.java:409)
         Truncated. see log file for complete stacktraceWhen template is desactivated, the error disappears. It also disappears when I use #{bindings} instead of #{bindings.pageTemplateBinding} in the af:pageTemplate tag
    any idea?
    Thanks for your help
    Stephane

    Hello Frank,
    If I remove the "Comments" data, the table content displays correctly. However, when I try to scroll the table, after the 25 base range rows, the table refresh and goes back to first row, giving following error :
    <SortableModel><_toRowIndex> rowkey non valide : [oracle.jbo.Key[10714 ]] type : class java.util.Collections$SingletonList
    <SortableModel><_toRowIndex>
    java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.lang.Integer
         at org.apache.myfaces.trinidad.model.SortableModel._toRowIndex(SortableModel.java:341)
         at org.apache.myfaces.trinidad.model.SortableModel.setRowKey(SortableModel.java:137)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:423)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.validateRowIndex(TableRendererUtils.java:647)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.getDataFetchStartAndSize(TableRendererUtils.java:671)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:927)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:494)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:410)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:47)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:153)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:42)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.AuthenticationFilter.doFilter(AuthenticationFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Please note that some errors appears before/after the stack :
    <UIXInclude><_setupIncludeContext> Appel interdit pour configurer le contexte d'une inclusion déjà en contexteWhat do you mean by 'which could be a case if you use EO in libraries'?
    Thanks for your help
    Stephane

  • ADF dynamic region - Browser is blank

    Hi All,
    I am following a hands-on practice in Oracle JDeveloper 11g Handbook. I have created two bounded task flows named "searchEmployee-flow.xml" and "departmentTee-flow.xml". I want to call these task flows from af:commandLink in a dynamic region. In the Choose Managed Bean for Dynamic Scope dialog I have provided following steps:
    1. Click New (green “+”) to add a managed bean. Set Bean Name as “searchScreenBB,” Class Name as “SearchScreenBean,” and Package as “tuhra.view.backing.” Click OK. Click OK.
    2. I wrote UIManager class to switch page fragments:
    package tuhra.view;
    public class UIManager implements Serializable
    public enum Screen {EMPLOYEE_SEARCH, DEPARTMENT_TREE}
    private Screen searchScreenFocus = Screen.EMPLOYEESEARCH;
    public void setSearchScreenFocus(String focus) {
    this._searchScreenFocus = Screen.valueOf(focus);
    public void setSearchScreenFocus(UIManager.Screen focus){
    this._searchScreenFocus = focus;
    public UIManager.Screen getSearchScreenFocus() {
    return _searchScreenFocus;
    3.
    I opened adfc-config (under Page Flows in the Application Navigator). On the Overview tab, selected Managed Beans and added a bean (using the green “+”) and fill in Name as “uiState,” Class as “tuhra.view.UIManager,” and Scope as “session.”
    4.
    Updated SearchScreenBean.java to read as in the following code listing (without the line numbers).
    package tuhra.view.backing;
    import java.util.HashMap;
    import oracle.adf.controller.TaskFlowId;
    import tuhra.view.UIManager;
    public class SearchScreenBean {
    private static final HashMap<UIManager.Screen,String> REGIONMAP;
    static {
    REGIONMAP = new HashMap<UIManager.Screen,String>(2);
    REGIONMAP.put(UIManager.Screen.EMPLOYEE_SEARCH,
    "/WEB-INF/searchEmployees-flow.xml#searchEmployees-flow");
    REGIONMAP.put(UIManager.Screen.DEPARTMENT_TREE,
    "/WEB-INF/departmentTree-flow.xml#departmentTree-flow");
    private UIManager _uiManager;
    public TaskFlowId getDynamicTaskFlowId(){
    return TaskFlowId.parse(
    REGIONMAP.get(_uiManager.getSearchScreenFocus()));
    public void setUiManager(UIManager _uiManager){
    this._uiManager = _uiManager;
    6.
    To have JSF inject the UI manager value, I switched back to the adfc-config.xml editor and locate the Managed Beans area on the Overview tab and performed folliwing steps as told in book:
    6.1. Select the searchScreenBB bean and then click Add (green “+”) in the Managed Properties: searchScreenBB table. Set the managed property Name to “uiManager” (to match the setUiManager() method in the bean), the Class to tuhra.view.UIManager, and the Value to “#{uiState}.”
    6.2. Now that the logic to switch the screens is in place, you can define how the UI will activate the change in searchScreenFocus values. You could of course use a custom method in SearchScreenBean, but using a af:setPropertyListener is simpler. In the employeeSearch.jspx file, locate the af:commandLink that surrounds the “Search for Employees” image.
    6.3. Drop into the af:commandLink a Set Property Listener (Operations panel). Set From as “#{'EMPLOYEE_SEARCH'},” To as “#{uiState.searchScreenFocus},” and Type as “action.” Click OK.
    6.4. Repeat the preceding step for the “View by Department” link. This time, fill in From as “#{'DEPARTMENT_TREE'}.”
    6.5. Click Save All.
    When I run the form as directed, It is blank and is giving following error messages:
    [Application tuhra2 deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/tuhra2/faces/employeeSearch.jspx
    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
         ... 82 more
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
         ... 88 more
    <Jul 7, 2011 11:21:14 AM PKT> <Error> <HTTP> <BEA-101020> <[ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
         Truncated. see log file for complete stacktrace
    >
    <Jul 7, 2011 11:21:14 AM PKT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 7, 2011 11:21:14 AM PKT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jul 7, 2011 11:21:14 AM PKT SERVER = DefaultServer MESSAGE = [ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at java.security.AccessController.doPrivileged(Native Method)
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:358)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__employeesearch_jspx._jspx___tag21(__employeesearch_jspx.java:1036)
         at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = bilal-PC TXID = CONTEXTID = d87127fb8baddada:4155b820:130fd94af8a:-8000-00000000000006c4 TIMESTAMP = 1310019674635
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Jul 7, 2011 11:21:20 AM PKT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.5.37.60.13\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_16 with a lockout minute period of 1.>
    Any help will be highly appreciated.
    Thanks

    Hi
    This error occurs on account of the scope of backing bean Taskflow id not set up correctly and taskflow id leads to null pointer exception.
    Open EmplloyeeSearch.jspx - go to bindings. click taskflow - dynamic region in binding. Set the property as follows:
    #{backingBeanScope.searchScreenBB.dynamicTaskFlowId}
    This should resolve the issue.
    Edited by: Krithivasan N on Mar 6, 2012 11:52 AM

  • Why  javaScript does not works within ADF-jsf regions ?

    Hi
    thakn you for reading my post
    i have problem with running some flash and js in my adf faces page.
    the html files that contain this flash/javascript stuff works fine (in my application) but when i try to use them in jspx file i get nothing , here are some samples :
    heml file :
    <html>
    <head>
    <title>Preview</title>
    </head>
    <body>
    <link href="./jsmenu01.css" type=text/css rel=stylesheet>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id=jmbti_div></div>
    </body>
    </html>jspx file : which is a region
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:afc="http://xmlns.oracle.com/adf/faces/webcache"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:afi="http://xmlns.oracle.com/adf/industrial/faces"
              xmlns:graph="/webapp/graph.tld"
              xmlns:c="http://java.sun.com/jstl/core">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <af:regionDef var="menuRegion">
    <link href="./jsmenu01.css" type="text/css" rel="stylesheet"/>
    <f:verbatim>
    <center>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id="jmbti_div"></div>
    </center>
    </f:verbatim>
      </af:regionDef>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_segments_menu-->
    </jsp:root>why it should be like this ?
    putting this region in the page will cause all elements below this region not to render and show.
    thank you for your help.

    Why do you want to use a h:commandButton and not an <input type="button"> or a <button>? I don't think that you want to execute a backing bean action. Anyway, in this case you can also add return: false; to the onclick event so that it prevents the button from submitting the form to the server.

  • Advice for ADF migration.

    Hi ,
    We have an internal application made in forms/reports. As now Oracle's strategic product for future developement is ADF. So we are planning to migrate the same internal application on ADF. We have 2 options :
    1.We should use Jheadstart to migrate to ADF but then we also have to re-write all the functionality of PL/SQL ?? OR
    2. We should start developing the application from scratch in ADF?? Or
    Please advice.
    Thanks.

    Noman,
    Few comments:
    - if they build from scratch they still have to re-implement the functionality currently implemented using PL/SQL logic in Forms.
    - if they don't use the JHeadstart Forms2ADF generator they still can use JHeadstart with ADF to build the app from scratch. Actually, most existing customers are using JHeadstart that way.
    There is no easy answer for which option to choose. This depends on many factors, for example the structure of the forms app. I quote from the JHeadstart Developers guide:
    The amount of work that can be saved by using the JHeadstart Forms2ADF Generator very much depends on the structure of the Oracle Forms application at hand. The JHeadstart Forms2ADF Generator provides most savings for forms that have the following characteristics:
    +· Complex user interface, many (stacked) canvasses, many tabs, many list of values, and other display types+
    +· Standard-Forms data retrieval and data manipulation through blocks based on database tables, with master-detail relations defined between the block+
    +· PL/SQL logic mostly limited to user interface dynamics: conditionally showing/hiding user interface items, and conditionally changing the properties of user interface items. While JHeadstart does not convert PL/SQL logic, this type of logic is easily implemented in the ADF application because JHeadstart provides many declarative property settings to implement this behavior.+
    JHeadstart has made the deliberate choice to not automatically convert the PL/SQL logic to Java. The reasons for this are:
    +· It is impossible to automate the migration of a two-tier architecture (logic in Forms or in the database) to a three tier Model-View-Controller architecture as is common in JEE web applications, including ADF-based applications.+
    +· The architecture of the converted application should be identical to the best-practice architecture of an ADF application that is build from scratch. If the architecture is the same, the same skill set can be used to maintain both migrated applications and ADF applications build from scratch. In addition, by going for a best practice architecture, the application is more flexible, and can be maintained easier at lower cost.+
    +· When using the JHeadstart Forms2ADF Generator, you get this best-practice ADF architecture that is identical to ADF/JHeadstart applications that are built from scratch.+
    Note: Other Forms2ADF conversion tools currently available have taken a different approach. They focus on automating the conversion of PL/SQL to Java. The architecture of such a converted application is different from a best-practice JEE/ADF web application. The architecture is more Forms-like, sometimes even including typical forms constructs like “GO_BLOCK” in the converted Java source code. The user interface produced by these migration tools is often a Java applet.  If your primary intent is to move away from Oracle Forms, and you are less concerned about the structure and architecture of the target Java application, then these other conversion tools might be a valid choice. However, if you want to migrate to a best-practice ADF architecture, then the JHeadstart Forms2ADF Generator is the best choice.
    We offer this Forms2ADF Transformation Assessment Service:
    http://www.oracle.com/technology/products/jheadstart/OracleForms2ADFAssessment.pdf
    which helps the customer making the right choices and provides insight in total migration effort.
    Steven Davelaar,
    JHeadstart Team.

  • [ADF] migration to ADF, pl/sql based DB api

    We are planning to move one of our project to ADF (we using flex for now), we have all our DB working through the proc/functions API.
    Its about 50+ entities, lots of rename/update/create api already exists and working well.
    There seems a bit tricky to make ADF BC work through API, as I have found mere examples it looks like it more like exception from the rule, and every Entity and View BC is has to be rewritten by hand.
    There are two frameworks around - [Avroms’s Package based API|http://www.avromroyfaderman.com/framework-for-database-api-based-adf-bc/framework-for-package-api-based-adf-business-components/] that is 3 years old it works for our testing, but I encounter strange behavior when using BLOB fields. As Avrom abandoned it and here is a not right place to ask questions about his framework – I’m really stuck with it 
    Second framework is a evolution of the first one, Framework for Database API-Based ADF BC, and was hosted on oracle’s samplecode [is not avaible for now|https://database-api-based-adf-bc.samplecode.oracle.com/] , and there no way to get it.
    What will be best practice to solve my problem:
    1) Some simple way to build ADF BC on API, that is not obvious
    2) Someone who can help with old framework to get it work in proper way
    3) Try to convince PM to change the way new project work in ADF-native table/view way (it almost impossible, but who knows?)
    4) ??? some suggestions
    Thanks in advance

    Yes, it is, but when I trying to use that framework and encountered some strange behavior when I have Blob columns in viewObject:
    It looks like resultSet is missing first two rows.
    With empty resultSet or when number of rows is below 2 I have an error:
    (oracle.adf.model.connection.ConnectionException) JBO-29000: Unexpected exception caught: java.sql.SQLRecoverableException, msg=Closed Resultset: next
    In case when number of rows is more then two – there is no error, but results is shown from third row.
    Error can be reproduced in [Demo app|http://www.avromroyfaderman.com/wp-content/uploads/2009/05/packageapidemo.zip] :
    1) Add blob field to Employees table
    2) Modify GET_EMPS function to return new blob field
    3) adding blob field to Employees entity and EmloyeesView
    Thats make me stuck with it, as I have some blob fields in fundamental entities, so I can't proceed.
    Avrom’s blog looks abandoned, and my comment there is still waiting for pre-moderation for a week+ and no responce from author through contact form.
    I asked for newer framework version in the thread you pointing, but my post was deleted, assuming that all question on getting newer framework version must be pointed to Avrom or waiting for Frank to get his hands on project to make it EMG again.

  • ADF:Dynamic Region Refreshing

    Hi,
    My JDeveloper version is 11.1.1.5
    I am facing one problem.
    I have one table to which I have Save and Remove buttons.
    To the Save button, I have one action which programmatically inserts the row into the table. And Remove button removes the row present from the table programmatically.
    The Problem I am facing is, whenever I save or remove I need to reload the page to see the row inserted or deleted. It is not happening automatically...
    Could anyone please tell me how to reload a dynamic region which reflects DB table modification onto the Dynamic Region?
    Many thanks in advance

    Hi Guys,
    Here I will try to put my scenario...
    There is one table called APPLICATION which displays all the data using ViewObject1. To this table I am adding and saving and deleting a new row.
    ViewObject1 Query :
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    And there is one more viewObject which refers the same table which also displays the same columns with the data which is mentioned in below viewobject query.
    ViewObject2 Query:
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    WHERE ID not in (select ID_application from project_application)
    So
    Whenever I am saving/removing a row, the table with ViewObject1 is being reflected with the saved row... but not the table with ViewObject2. So can you please advise me how to reflect the saved row in ViewObject2 also..
    ViewObject1 and ViewObject2 are referring to the same table(APPLICATION) in the DB with different queries...
    Many Thanks in Advance,
    Edited by: 977652 on Jan 22, 2013 4:42 AM

  • Dynamic JDBC Credentials and using ADF Region ERROR

    Hi,
    I used solution by Steve Muench, Dynamic JDBC Credentials (for ADF Faces Rich Client)
    (129.     11g Dynamic JDBC Credentials for Model 1, Struts, Trinidad, and ADF Faces Rich Client 11.1.1.0.0 06-AUG-2008), but it works not correct in case of using ADF Dynamic Region (or simply ADF Region).
    I have added in ViewControllerJSFRichFaces a page (main.jspx) including ADF Dynamic Region consisting of 2 simple tasks flows. Action of the Login button, if login and password are correct, redirect to main.jspx
    There are to cases.
    1) Login and password are correct:
    In this case all work fine.
    2) Login and password are not correct:
    It does not work. redirect to login.jspx does not occur as it is expected, but the following page (main.jspx) is loaded, herewith thrown exception: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    I would be very grateful you for help.

    Hi,
    hard to say from your description if this is a bug or an implementation problem. Note that errors that occur in regions are not handled by the exception handler of the the parent page and require special handling within the region. In other words, if the problem is in the region then it needs to be handled in here. I think the right strategy here is to not show the region until a valid connection exist. Is the login performed from the parent page ?
    Frank

  • What is the best way to migrate from Forms to ADF?

    We are in a big quagmire. Our company has been into Oracle Forms development for over 15 years. We have applications developed in Forms 6i and 10g. We have about 5 products and these 5 products have about 25 to 30 different versions. i.e. we maintain about 30 different versions of our applications. Each version of the application has about 100 forms and 100 reports.
    Now, since Forms has come to the End of life from 11g we want to move to ADF. We tried Forms to ADF migration tools but failed. So now we have decided to manually rewrite the applications in ADF.
    Our Forms / PL/SQL developers, designers and analysts (total about 40) are all Oracle Forms people. They have no experience in Java.
    What I want to know is:
    (1.) What is the BEST way to achieve this?
    (2.) Do we have to learn Java, JSF and ADF?? (i.e. All 3)?
    (3.) Is it mandatory to learn JSF??
    (4.) Assuming, comprehensive training can be given, how long will it take for Forms people to learn ADF?
    (5.) What type of training will be required?? (Java, JSF, ADF, JDeveloper etc.)
    (6.) How LONG will this take? i.e. to train all 40 and then get rewrite an application of 100+ forms and 100+ reports? (Ballpark is OK).
    (7.) Any other technologies we should learn??
    Edited by: user12240205 on Jul 18, 2012 5:48 AM

    Obvoiusly the longer you have for training the better but I think the minimum would be
    1) Java skills - I think to start off, 1 or two days reading something like Head First Java http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208
    2) I'd then get "The Quick Start Guide to Fusion Development" http://www.amazon.com/Quick-Start-Oracle-Fusion-Development/dp/0071744282/ref=sr_1_1?s=books&ie=UTF8&qid=1343201618&sr=1-1&keywords=jdeveloper+quick (declaration: I'm the author so have a vested interest, but I still think its a good place to start. - this should be about 2-3 days to read and also to try things out.
    3) In parallel I'd be watching these ADF Insider Basics http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a1 - a couple of hours
    4) I'd then try this tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm - 3 hours.
    5) Optionally, if you are coming from a Forms background I would also read http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/SummitADF/SummitADF_Redevelopment.pdf and watch http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Forms_Redevelopment_ADF/Forms_Redevelopment_ADF.html - which is about 2 hours of work.
    I think this would be the absolute MINIMUM to at least be able to build some basic applications and to start feeling your way - everything else outlined in the "ADF COLLATERAL TOUR" http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFTour/ADFTour.html could be learned as you start building some proof of concept. However, I'd wouldn't suggest you try building a real application with only one weeks exposure (in the same way I wouldn't expect you to design a product database with only one week training). I would probably expect your developers to have at least the above training and then spend about a month or so (minimum) building proof of concepts (or testing themselves with the ADF Insider Essentials Tasks). Furthermore, I'd probably expect you to have at least on senior developer/architect, with much more experience who can be making decisions on things like reuse, partitioning, architecture etc.
    Of course, this is all subjective but I hope it helps.
    regards
    Grant
    ps
    Of course, we also have formal Oracle University Training courses which you could attend (or they can be purchased to watch on line).

  • Can't view filtered VO properly in a dynamic region

    Hi all,
    I am using Jdeveloper 11.1.1.0
    I have a view object (myVO) that has some view criterias (FilteredVO1, FilteredVO2, ecc.)
    In myPage I have a dynamic region in which I can view different fragments. These fragments contain filtered data (FilteredVO1, FilteredVO2, ecc.), but I always see all the data (myVO)
    If I run the application module, in FilteredVO1, FilteredVO2, ecc. I see the data properly (I see the filtered data, not all the data).
    Also if I run a normal page (without fragments) with a panel tab for every FilteredVO, I see the filtered (and not all) data.
    In myPageDef I have set the property "refresh" on "ifNeeded".
    What's the problem? Any suggestions?
    Thanks
    Andrea

    Hi Andrea,
    Why do you want to set the refresh parameter? Is your task-flow has any parameters set..? Refresh parameter should be used only when you want the dynamic region to respond based on task-flow parameter. Otherwise, the dynamic region can automatically refresh based on different task-flow selection. So, precisely if you reset this param to default, it should work as expected provided these fragments uses different task-flows. See this document section [16.2 Creating ADF Dynamic Regions|http://download.oracle.com/docs/cd/E15051_01/web.1111/b31974/taskflows_regions.htm] for more info.
    Regards,
    ~Krithika

  • Issue while deploying dynamic region to stand alone server

    Hi,
    In my application there is one page I have panel splitter, where i have drag and dropped menu-taskflow as regionModel, and created dynamic region on second facet panel.
    <af:region value="#{bindings.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{bindings.dynamicRegion4.regionModel}" id="r2"/>
    I have created application level class to handle dynamic region loading.
    This settings are working fine when i run application with integrated web logic server, When I deployed my application to stand alone server, its giving me exception as
    java.lang.IllegalStateException: The expression "#{bindings.menutaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.menutaskflow1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
         at jsp_servlet.__editopportunity_jspx._jspx___tag18(__editopportunity_jspx.java:923)
         at jsp_servlet.__editopportunity_jspx._jspService(__editopportunity_jspx.java:452)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I tried to update bindings with data level binding as
    <af:region value="#{data.view_MenuPageDef.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{data.view_MenuPageDef.dynamicRegion4.regionModel}" id="r2"/>
    but it is rendering empty page with another exception..
    Please help
    Regards,
    Meera

    Hi,
    Check
    Runtime errors with ADF Dynamic region
    java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
    Problem with bounded task flow: binding lost?

  • 10g to 11g migration - problem with JhsCollectionModel

    I'm trying to migrate a JHS app from Jdev 10.1.3.4 to 11.1.1.2. The only thing worthy of note about the app is that it uses Custom authentication and authorization. Steps I went thru are below. Note that I haven't installed the latest release posted today.
    In Jdev 10.1.3.4:
    Create a new app with only one entity/VO.
    Enable JHS, do app definition with no changes other than selecting Custom authentication and authorization. Run app generator.
    Validate app runs successfully.
    In Jdev 11.1.1.2:
    Open app.
    Use ADF migration wizard as is - no changing of any defaults.
    Get migration successful messages. There were some errors about the .vm templates and some warnings but nothing significant.
    Reenable JHs for this project, select Overwrite for all and answer yes to question Do you want to migrate the Application Structure file from version 10.1.3 to 11.1.1?
    Run application generator with below result.
    Error: Unable to find the jar file on the source or class path...\path\jhsadfrt-11.1.1.jar....Would you like to add? Answered yes
    Get one error: JAG-00149 [ TamJhsModule ] Main Controller Config file cannot be named faces-config.xml.
    Modified application definition and changed name for faces-config.xml file
    Run application generator again. This time it finishes successfully - just a couple of warnings about the optimistic locking mode and menu model file not being generated.
    Make all and get one error:
    Error(19,8): com.guideworks.tv.model.client.TamJhsModuleClient is not abstract and does not override abstract method applyBindParams(java.lang.String,java.util.HashMap,java.lang.Boolean) in oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
    Fix error by adding an empty override method for the applyBindParams
    Make all with no errors.
    Try to run application and get errors (after dashed line below). Cause appears to be missing class.
    Caused By: java.lang.ClassNotFoundException: oracle.jheadstart.controller.jsf.bean.JhsCollectionModel
    Looking in jhsadfrt-11.1.1.jar, I see that the class doesn't exist.
    =====================================================
    Errors from run of application.
    *** Using port 7101 ***
    "C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~3\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~3\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~3\JDK160~1.5-3\lib\tools.jar;C:\oracle\MIDDLE~3\utils\config\10.3\config-launch.jar;C:\oracle\MIDDLE~3\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~3\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~3\modules\features\weblogic.server.modules_10.3.2.0.jar;C:\oracle\MIDDLE~3\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~3\modules\ORGAPA~1.0/lib/ant-all.jar;C:\oracle\MIDDLE~3\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~3\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~3\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~3\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\oracle\MIDDLE~3\patch_wls1032\profiles\default\native;C:\oracle\MIDDLE~3\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~3\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~3\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~3\modules\ORGAPA~1.0\bin;C:\oracle\MIDDLE~3\JDK160~1.5-3\jre\bin;C:\oracle\MIDDLE~3\JDK160~1.5-3\bin;C:\orant\bin;C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\orant\jdk\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Windows Imaging\;C:\oracle\MIDDLE~3\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~3\JDK160~1.5-3\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~3\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\oracle\MiddlewareR2\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~3\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~3\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~3\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1 -Dcommon.components.home=C:\oracle\MIDDLE~3\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\oracle\MIDDLE~3\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=\modules\oracle.ossoiap_11.1.1,\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\TOSBOR~1\APPLIC~1\JDEVEL~1\SYSTEM~1.36\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~3\patch_wls1032\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~3\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Jun 3, 2010 1:14:27 PM MDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 14.0-b16 from Sun Microsystems Inc.>
    <Jun 3, 2010 1:14:27 PM MDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >
    <Jun 3, 2010 1:14:29 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jun 3, 2010 1:14:29 PM MDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jun 3, 2010 1:14:29 PM MDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jun 3, 2010 1:14:29 PM MDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00031. Log messages will continue to be logged in C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Jun 3, 2010 1:14:29 PM MDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Jun 3, 2010 1:14:35 PM MDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jun 3, 2010 1:14:46 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jun 3, 2010 1:14:46 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jun 3, 2010 1:14:57 PM MDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jun 3, 2010 1:14:57 PM MDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00028. Log messages will continue to be logged in C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Jun 3, 2010 1:14:57 PM MDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.210.2.26:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jun 3, 2010 1:15:00 PM MDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 36845 ms.
    IntegratedWebLogicServer started.
    [Running application tamjhssec on Server Instance IntegratedWebLogicServer...]
    [01:15:04 PM] ---- Deployment started. ----
    [01:15:04 PM] Target platform is (Weblogic 10.3).
    [01:15:05 PM] Retrieving existing application information
    [01:15:06 PM] Running dependency analysis...
    [01:15:06 PM] Deploying 2 profiles...
    [01:15:11 PM] Wrote Web Application Module to C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\tamjhssec\ViewControllerWebApp.war
    [01:15:12 PM] Wrote Enterprise Application Module to C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\tamjhssec
    [01:15:13 PM] Deploying Application...
    <Jun 3, 2010 1:15:14 PM MDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application tamjhssec is not versioned.>
    <Jun 3, 2010 1:15:23 PM MDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Documents and Settings\tosbor001\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\tamjhssec\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is oracle.jheadstart.controller.jsf.bean.JhsCollectionModel>
    <Jun 3, 2010 1:15:24 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1275592513661' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'tamjhssec-ViewController-context-root''
    weblogic.application.ModuleException: Failed to load webapp: 'tamjhssec-ViewController-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.jheadstart.controller.jsf.bean.JhsCollectionModel
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    <Jun 3, 2010 1:15:25 PM MDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'tamjhssec'.>
    <Jun 3, 2010 1:15:25 PM MDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'tamjhssec-ViewController-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.jheadstart.controller.jsf.bean.JhsCollectionModel
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    [01:15:26 PM] #### Deployment incomplete. ####
    [01:15:26 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application tamjhssec due to error deploying to IntegratedWebLogicServer.
    [Application tamjhssec stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: Tammy Osborn on Jun 3, 2010 1:16 PM

    Tammy,
    JhsCollectionModel no longer exists in release 11. It is replaced by the TableBean class.
    If you generate your application with the default templates, there should be no reference to JhsCollectionModel anymore.
    May be you are using a custom template that uses a managed bean that still references this class?
    If you search your ViewController project for JhsCollectionModel, what entries do you find?
    Steven Davelaar,
    JHeadstart Team.

  • Dynamic regions issue data transmission was interrupted

    Hi. I'm using JDev 11.2.2 and ADF full stack.
    Issue is when I'm trying to refresh a dynamic region to load a new task flow. Let me give a test case step by step:
    1.- Using HR, build model: Create objects(Entities, View Objects) for tables Employees and Departments and an Application Module.
    2.-In VC, add a facelets page with two columns layout, first for a tree for switching regions and a dynamic region in the second column.
    3.- Create a page fragment which includes a table generated from employees view in data controls and another page fragment for departments view.
    4.- Create two bounded task flows, one for employees fragment and another for departments fragment.
    5.- Drag and drop a bounded task flow to create a dynamic region in the second column of main page. Make sure selecting backingBean scope for new bean (default is Request scope).
    6.- In model, create a static list populated View Object with two attributes: one for task flow id and one for description
    7.- In VC, generate a Tree in the first column of main page
    8.- Write a selection listener for tree component to read the current task flow id and set that value to dynamic region task flow id in appropriate bean.
    9.- Set partials triggers in dynamic region in the main page to listen to tree events.
    10.- Run and try to load a new task flow by clicking in the tree. An alert is fired with this message:
    *"The content of this page failed to load as expected because data transmission was interrupted. Please try again, or contact your system administrator."*
    And, in the log appears following lines:
    *<FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[index.jsf]*
    java.lang.IllegalStateException: Could not find component to stream
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:378)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3666)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1474)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1674)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1032)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    If the taskflow id of taskflow which didn't work is established in dynamic region bean as initial taskflow for the region, it works, but the other taskflow fails.....
    Any suggestions?
    DEMR

    Thank you. That solves the issue. Maybe a mistake in docs:
    [http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_regions.htm#CHDJHACA]
    It says:
    To create an ADF dynamic region:
    In the Application Navigator, select and open the JSF page where you want to create the ADF dynamic region.
    Drag and drop the first bounded task flow onto the JSF page.
    From the context menu that JDeveloper displays, choose Create > Dynamic Region.
    Choose the appropriate option in the Choose Managed Bean for Dynamic Region dialog that JDeveloper displays:
    If you want an existing managed bean to store the bounded task flow's ID, select an existing managed bean from the Managed Bean dropdown list.
    The managed bean passes the value of the bounded task flow's ID into the task flow binding of the ADF dynamic region. Make sure that the managed bean you select is not used by another ADF dynamic region.
    If no managed bean exists for the page, click the Add icon next to the Managed Bean dropdown list to create a new one. Enter values in the dialog that appears as follows:
    Bean Name: Enter a name for the new managed bean. For example, enter DynamicRegionBean.
    Class Name: Enter the name of the new managed bean class.
    Package: Enter the name of the package that is to contain the managed bean or browse to locate it.
    Extends: Enter the name of the Java class that the managed bean extends. The default value is java.lang.Object.
    Scope: This field is read-only and its value is set to backingBean. For more information about the memory scope for managed beans, see Section 18.2.4, "What You May Need to Know About Memory Scope for Task Flows."
    Click OK to close the dialogs where you configure the managed bean.
    Regards,
    DEMR

  • BI-ADF integration in JDev 12c

    In Jdeveloper 12c , i am trying to create a JSF  page to  have a OBIEE report.
    1. Added Extensions to Jdev:
    - Business Intelligence Logical SQLview objects
    - Business Intelligence Soap connection
    - Business Intelligence ADF view regions
    2. Created Project and connection to BI Presentation server successfully.
    3. created a JSF page and tried to  drag one of the reports to the page but  unable to  add and getting an  error.
    'Perform impersonation was enabled for the BI Presentation Services SOAP connection, but there was no logged in user!'
    Any help  would be appreciated.

    Check these, might be old version
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10545/embedding_adf.htm#BGBGCFJG
    http://www.rittmanmead.com/2011/10/oow2011-obiee-11g-and-adf-integration-using-the-action-framework/
    http://www.rittmanmead.com/files/oow2011_obiee_adf.pdf

Maybe you are looking for