[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5968) JSF Portlet Facet always adds richfaces fragments to web.xml
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Thu May 27 11:33:08 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12532785#action_12532785 ]
Snjezana Peco commented on JBIDE-5968:
--------------------------------------
I can't reproduce the issue using jbdevstudio-win32-3.0.1.v201005260152R-H80-GA and EPP 5.0 (JBPAPP_5_0_1 date=201003301050).
I have followed all your steps except the one - I have chosen Portlet Target Runtime Provider instead of User Library on the JBoss Portlet Capabilities page.
> JSF Portlet Facet always adds richfaces fragments to web.xml
> ------------------------------------------------------------
>
> Key: JBIDE-5968
> URL: https://jira.jboss.org/browse/JBIDE-5968
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Portal/GateIn
> Affects Versions: 3.1.0.CR2
> Reporter: Dominik Pospisil
> Assignee: Snjezana Peco
> Fix For: 3.1.1
>
>
> JSF Portlet Facet always adds richfaces fragments to web.xml. Created project could not be deployed due to missing richfaces libraries.
> Steps to reproduce:
> 1) File -> New -> Dynamic Web Project
> 2) Select EPP 4.3 Runtime
> 3) Click Modify on Runtime configuration
> 4) Select JSF 1.2 facet and JBoss Core Portlet and JBoss JSF Portlet facets
> 5) Click OK, 5x next
> 6) JBoss JSF Portlet Capabilities - do NOT select Add/Change richfaces libraries
> 7) click Finish
> Geneated web.xml contains following fragment which I guess should not be there:
> <context-param>
> <param-name>org.richfaces.LoadStyleStrategy</param-name>
> <param-value>NONE</param-value>
> </context-param>
> <context-param>
> <param-name>org.richfaces.LoadScriptStrategy</param-name>
> <param-value>NONE</param-value>
> </context-param>
> <context-param>
> <param-name>org.ajax4jsf.RESOURCE_URI_PREFIX</param-name>
> <param-value>rfRes</param-value>
> </context-param>
> <filter>
> <display-name>Ajax4jsf Filter</display-name>
> <filter-name>ajax4jsf</filter-name>
> <filter-class>org.ajax4jsf.Filter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>ajax4jsf</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> <dispatcher>INCLUDE</dispatcher>
> </filter-mapping>
> When removed from web.xml, portlet deploys correctly.
> Server console shows:
> 14:51:25,306 INFO [TomcatDeployer] deploy, ctxPath=/testProject3, warUrl=.../deploy/testProject3.war/
> 14:51:25,723 ERROR [ContainerBase] Exception starting filter ajax4jsf
> java.lang.ClassNotFoundException: org.ajax4jsf.Filter
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1364)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list