Forum Stats

  • 3,815,688 Users
  • 2,259,067 Discussions
  • 7,893,207 Comments

Discussions

MDS exception when deploying in Jdev 12.2.1

Jose Aróstegui
Jose Aróstegui Member Posts: 1,345 Silver Badge
edited Jan 15, 2016 5:40AM in JDeveloper and ADF

Hi experts,

I've installed Jdev 12.2.1 and I'm deploying my 12.1.3 ADF application into the new version of weblogic, and I'm getting this error related with MDS. MDS is currently configured and working fine.

<30-nov-2015 10H10' CET> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Error Loading Facelet cache: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache

java.lang.InstantiationException: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache

  at java.lang.Class.newInstance(Class.java:427)

  at com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:869)

  at com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:332)

  at com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:415)

  at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:251)

  Truncated. see log file for complete stacktrace

Caused By: java.lang.NoSuchMethodException: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache.<init>()

  at java.lang.Class.getConstructor0(Class.java:3082)

  at java.lang.Class.newInstance(Class.java:412)

  at com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:869)

  at com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:332)

  at com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:415)

  Truncated. see log file for complete stacktrace

>

Any idea if this is just a warning that can be ignored?


Thanks a lot in advance,
Jose.

Best Answer

  • user714147-Oracle
    user714147-Oracle Member Posts: 1
    edited Jan 15, 2016 5:40AM Answer ✓

    It looks like this is caused by the following web.xml context parameter:

      <context-param>

        <param-name>com.sun.faces.faceletCache</param-name>

        <param-value>oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache</param-value>

      </context-param>

    Try removing it, and the error will go away, it may be that the parameter is no longer valid... or something else is interfering.

Answers

This discussion has been closed.