Re: ADF and PrettyFaces – PrettyException: Failed to load configuration

Splash Forums PrettyFaces Users ADF and PrettyFaces – PrettyException: Failed to load configuration Re: ADF and PrettyFaces – PrettyException: Failed to load configuration

#21460

clemmonsm
Participant

Found a workaround for all of you JDeveloper, ADF PrettyFaces developers that may stumble across this issue.

Using Christian’s guidance, I found this post:

https://forums.oracle.com/forums/thread.jspa?threadID=911954

The details of the bug referenced in this post can be found here:

http://www.bea-weblogic.com/fixed-bugs-list-oracle-weblogic-server-10-3-4.html

I am using Integrated WebLogicServer 10.3.5 and this bug fix obviously did not alleviate the issue I was having. However, implementing angest’s solution of setting the following JAVA_OPTIONS did work:

-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl

I set this option in my Run Configuration, not directly on the setDomainEnv file of my dev machine.

In addition, I removed conflicting commons jars (digester, beanutils, collections and logging) included by default in the project classpath to ensure the PrettyFaces jars added to WEB-INF/libs were the ones that were referenced (the default jars were of versions older than that required by PrettyFaces).