Reply To: Weblogic prettyfaces deployment problem

Splash Forums PrettyFaces Users Weblogic prettyfaces deployment problem Reply To: Weblogic prettyfaces deployment problem

#25786

sumithra-r
Participant

Hello Lincoln,
I am having the same issues described here, when trying to run my jsf1.2 app which iusses pretty-faces 3.3 in Weblogic 12c. Please find the error below:
<Jan 23, 2014 1:20:39 PM PST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: com.ocpsoft.pretty.PrettyFilter.
com.ocpsoft.pretty.PrettyException: Failed to load configuration.
at com.ocpsoft.pretty.faces.config.PrettyConfigurator.configure(PrettyConfigurator.java:90)
at com.ocpsoft.pretty.PrettyFilter.init(PrettyFilter.java:337)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:577)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
Truncated. see log file for complete stacktrace

I am trying to do the workaround recommendation from you. I am not able to download the source for 3.3.4-SNAPSHOT from the github as the downloaded zip doesn’t have any source files, and this version is not found in the mvn repositroy too: http://mvnrepository.com/artifact/com.ocpsoft/prettyfaces-jsf12

Please let me know where can I download pretty-faces 3.3.4-SNAPSHOT using maven? Has this issue been fixed and will I be able to run the pretty faces in Weblogic 12c? Please let me know the recommended solution for this problem. I am running jsf 1.2 application in Weblogic 12c. Your comments and help will be greatly appreciated.

* Get the code from here:
https://github.com/ocpsoft/prettyfaces
* Then build PrettyFaces with mvn clean install
* Then make sure your application’s pom.xml file is referencing version 3.3.4-SNAPSHOT.

<dependency>
<groupId>com.ocpsoft</groupId>
<artifactId>prettyfaces-jsf2</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>

* Then you’ll need to add the following to your application’s WEB-INF/web.xml file:
<context-param>
<param-name>com.ocpsoft.pretty.DISABLE_SERVLET_3.0_SUPPORT</param-name>
<param-value>true</param-value>
</context-param>