从jdeveloper 11.1.1,7,1升级应用程序时Jdeveloper 12.2.1.2出错

时间:2017-09-19 07:29:11

标签: oracle-adf

我试图将我的应用程序从11g升级到12c。因为我收到了错误。

<org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ViewHandlerImpl> <_isTimestampCheckEnabled> <Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml> 
<org.apache.myfaces.trinidadinternal.util.FrameBustingUtils> <FrameBustingUtils> <_getFrameBustingString> <The framebusting context param 'oracle.adf.view.rich.security.FRAME_BUSTING' has been deprecated. Please change your web.xml to use 'org.apache.myfaces.trinidad.security.FRAME_BUSTING' instead. The legal values are 'always', 'never', and 'differentOrigin'. If you were setting the value of 'oracle.adf.view.rich.security.FRAME_BUSTING' to 'differentDomain', then please note that you should set 'org.apache.myfaces.trinidad.security.FRAME_BUSTING' to 'differentOrigin'.> 
<oracle.adf.view> <UIXRegion> <_logNullValueMessage> <The expression "#{bindings.AddTypeBTF1.regionModel}" that was specified for the RegionModel "value" attribute of the region component with id ":pt1:r1" evaluated to null. Using an empty RegionModel instead.> 
<oracle.adf.view> <UIXRegion> <_logNullValueMessage> <The expression "#{bindings.AddTypeBTF1}" evaluated to "".
The expression "#{bindings}" evaluated to "".
> 
<org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocument> <StyleSheetDocument> <_resolveStyleNode> <Circular dependency detected in style af|dvt-timeline> 
<Sep 19, 2017, 12:48:00,384 PM IST> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:50,050 during the configured idle timeout of 5 seconds.> 

这是我的页面

<?xml version='1.0' encoding='UTF-8'?>
<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=UTF-8"/>


<f:view>
    <af:document id="d1" title="PMS">
      <af:form id="f1">
       <af:pageTemplate viewId="/PMS/Template/PMSTemplate.jspx" id="pt1">
          <f:facet name="Content">
        <af:region value="#{bindings.AddTypeBTF1.regionModel}" id="r1"/>
        </f:facet>
        </af:pageTemplate>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>

这是页面的绑定

<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                version="11.1.1.65.57" id="PMSTypeMasterPageDef"
                Package="PMS.Pages">
  <parameters/>
  <executables>
    <variableIterator id="variables"/>
    <taskFlow id="AddTypeBTF1"
              taskFlowId="/PMS/TaskFlows/AddTypeBTF.xml#AddTypeBTF"
              activation="deferred"
              xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
  </executables>
  <bindings/>
</pageDefinition>

页面或pagedef中没有警告。 我试图清理我的应用程序,并从我的电脑中删除所有缓存和无用的东西。它还没有用。

我问过我的同事这个​​问题。他们面对类似的人。它通过清理应用程序解决了,他们重新启动了Jdeveloper。 但同样不适合我。

我在互联网上搜索过。很多网站都建议在pagedef中没有条目。但我也可以在那里找到任务流的输入。

1 个答案:

答案 0 :(得分:0)

  <context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>