[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5968) JSF Portlet Facet always adds richfaces fragments to web.xml

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Mar 2 07:44:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-5968:
---------------------------------------

      Component/s: Portal/GateIn
    Fix Version/s: 3.1.1
         Assignee: Snjezana Peco


Snjezana, is this expected ? Is it more Richfaces + Portal than just JSF + Portal ?

> JSF Portlet Facet always adds richfaces fragments to web.xml
> ------------------------------------------------------------
>
>                 Key: JBIDE-5968
>                 URL: https://jira.jboss.org/jira/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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list