Reply To: Weblogic prettyfaces deployment problem

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

#25810

Pencerval
Participant

Same problem here :S
Weblogic 12.1.1
PrettyFaces 3.3.4-SNAPSHOT

Using @URLMappings along my project.

web.xml

	<context-param>
		<description>Pretty faces package (with annotate classes)
			http://ocpsoft.com/docs/prettyfaces/3.1.0/en-US/html_single/#config.annotations</description>
		<param-name>com.ocpsoft.pretty.BASE_PACKAGES</param-name>
		<param-value>com.viafirma.mobile</param-value>
	</context-param>
	<context-param>
		<param-name>com.ocpsoft.pretty.DEVELOPMENT</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>com.ocpsoft.pretty.DISABLE_SERVLET_3.0_SUPPORT</param-name>
		<param-value>true</param-value>
	</context-param>
	<filter>
		<filter-name>Pretty Filter</filter-name>
		<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
	</filter>

	<filter-mapping>
		<filter-name>Pretty Filter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
	</filter-mapping>

Exception

<Feb 3, 2014 7:22:45 PM CET> <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:576)
	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
Caused By: java.lang.IllegalArgumentException: Unable to build path relative to '/WEB-INF/classes/' from: C:/Users/Pencerval/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.4.0/cxf-rt-transports-http-2.4.0.jar!/META-INF/spring/
	at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.getPathRelativeToClassesFolder(WebClassesFinder.java:241)
	at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:111)
	at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:203)
	at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:203)
	at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.findClasses(WebClassesFinder.java:75)
	Truncated. see log file for complete stacktrace
  • This reply was modified 7 years, 11 months ago by  Pencerval.