[
https://issues.jboss.org/browse/AS7-3940?page=com.atlassian.jira.plugin.s...
]
Karsten Wutzke commented on AS7-3940:
-------------------------------------
Ugh. I don't even manage to exchange Mojarra 2.1.7 with Mojarra 2.1.9 because of that.
Too bad to hear there's no way to get MyFaces to work on JBAS 7. Plus noting that the
JBAS 7.1.2 community version will not be released to the public (at least in binary) is
another problem. We'd have to wait until mid July to get our hands on JBAS 7.2.0.Alpha
and a newer integrated JSF version. We have to wait too long to try other JSF versions
IMO. Big problem. It should be possible to install/use any JSF version - including JSF 2.2
- on JBAS ASAP.
bundled jsf deployment fails when
org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL true
--------------------------------------------------------------------------------
Key: AS7-3940
URL:
https://issues.jboss.org/browse/AS7-3940
Project: Application Server 7
Issue Type: Bug
Components: JSF
Affects Versions: 7.1.0.Final
Reporter: Juergen Hoffmann
Fix For: Open To Community
It is impossible for Applications to bundle their own JSF Implementations even with
org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL defined in web.xml, because jboss-as-web
provides META-INF/services/com.sun.faces.spi.annotationprovider and injectionprovider
please see
https://github.com/jbossas/jboss-as/tree/master/web/src/main/resources/ME...
and therefor will always try to use the JandexAnnotationProvider, which cannot work on
different JSF Versions
12:29:30,105 SCHWERWIEGEND [javax.enterprise.resource.webcontainer.jsf.config] (MSC
service thread 1-8) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Class
org.jboss.as.web.deployment.jsf.JandexAnnotationProvider is not an instance of
com.sun.faces.spi.AnnotationProvider
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira