]
Siva P commented on AS7-3940:
-----------------------------
Hello Mr.Stuart,
I am still getting the same error in the JBoss AS:7.3.0 Final and Component:EAP 6.2.0.
Migrating Technology:
Richfaces: 4.5.5
Seam:2.2.3
JSF:2.1
Server:Jboss Eap 6.2
A bug in Mojarra (JAVASERVERFACES-3157) affects the ExtendedPartialViewContext in
RichFaces 4.5. As such we’ve implemented a check that you are running a patched version of
Mojarra ≥ 2.1.28 or ≥ 2.2.6.
{quote}
16:46:43,607 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService
Thread Pool -- 61) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Class
org.jboss.as.jsf.injection.JandexAnnotationProvider is not an instance of
com.sun.faces.spi.AnnotationProvider
{quote}
I have attached the log file ,deployment-structure and module.xml file.
Thank you.
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
Assignee: Stuart Douglas
Fix For: 7.1.3.Final (EAP), EAP 6.1.0.Alpha (7.2.0.Final)
Attachments: faces-config.xml, jboss-deployment-structure.xml,
jsf-api-2.1.28.jar, jsf-impl-2.1.28.jar, LogFile.txt, module-jsf-api.xml,
module-jsf-impl.xml, web.xml
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