[
https://issues.jboss.org/browse/RF-12801?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-12801:
------------------------------------
I took the time to get a sample application running on TomEE:
https://github.com/bleathem/tomee-richfaces-app/tree/master
It was fairly trivial starting from the
org.apache.openejb.maven:tomee-webapp-archetype:1.5.2 archetype, and adding RichFaces
dependencies to the pom. The app deploys and runs fine.
In a branch I set the org.richfaces.resourceOptimization.enabled to true, and indeed the
CDI injection started failing.
https://github.com/bleathem/tomee-richfaces-app/tree/RF-12801-owb-resourc...
org.richfaces.resourceOptimization.enabled parameter with true value
disables WebBeansELResolver to register in Websphere
-------------------------------------------------------------------------------------------------------------------------
Key: RF-12801
URL:
https://issues.jboss.org/browse/RF-12801
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: resource handling
Affects Versions: 4.3.0.Final
Environment: Websphere 8.0.0.3 and Websphere 8.0.0.5, Windows 7, Richfaces
4.3.0.Final
Reporter: Erdem YILMAZ
Labels: ELResolver, optimization, resource, websphere
when we use context param org.richfaces.resourceOptimization.enabled in web.xml, the CDI
listener is not registered in Websphere.
resourcesOptimization parameter disables org.apache.webbeans.el.WebBeansELResolver in
Websphere. In richfaces 4.2.3.Final version, resourceOptimization parameter do not affect
the CDI behaviour.
we have disabled the resource optimization in order to work with richfaces but for the
production environment, we prefer to enable it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira