[jboss-jira] [JBoss JIRA] (WFLY-976) Multi-JSF doesn't understand new modules structure
Glenn Kastrinos (JIRA)
jira-events at lists.jboss.org
Mon Apr 29 17:41:53 EDT 2013
[ https://issues.jboss.org/browse/WFLY-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770892#comment-12770892 ]
Glenn Kastrinos edited comment on WFLY-976 at 4/29/13 5:40 PM:
---------------------------------------------------------------
17:30:57,015 INFO [org.apache.myfaces.config.DefaultFacesConfigurationProvider] (MSC service thread 1-1) Reading config : jar:file:/C:/wildfly-8.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/jboss/as/weld/main/jboss-as-weld-8.0.0.Alpha1-SNAPSHOT.jar!/META-INF/faces-config.xml
17:30:57,062 SEVERE [org.apache.myfaces.webapp.AbstractFacesInitializer] (MSC service thread 1-1) An error occured while initializing MyFaces: Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory: java.lang.IllegalArgumentException: Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:354) [myfaces-api-2.1.11.jar:2.1.11]
at javax.faces.FactoryFinder._getFactory(FactoryFinder.java:317) [myfaces-api-2.1.11.jar:2.1.11]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:206) [myfaces-api-2.1.11.jar:2.1.11]
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:510) [myfaces-impl-2.1.11.jar:2.1.11]
was (Author: glennk):
17:33:28,859 SEVERE [org.apache.myfaces.webapp.AbstractFacesInitializer] (MSC service thread 1-2) An error occured while initializing MyFaces: Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory: java.lang.IllegalArgumentException: Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory
> Multi-JSF doesn't understand new modules structure
> --------------------------------------------------
>
> Key: WFLY-976
> URL: https://issues.jboss.org/browse/WFLY-976
> Project: WildFly
> Issue Type: Bug
> Components: JSF
> Reporter: Stan Silvert
> Assignee: Stan Silvert
> Attachments: install-myfaces-2.1.11.cli, Localization.war
>
>
> With the new modules structure, Multi-JSF is looking for JSF implementations in the root of the modules directory instead of in modules/system/layers/base. The reason is that Multi-JSF relies on the module.path property which points to the root by default.
> The workaround is to go ahead and install the new JSF impl wherever you wish and add that directory to JBOSS_MODULEPATH in the startup script.
> See https://community.jboss.org/wiki/DesignOfAS7Multi-JSFFeature#comment-11789
--
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
More information about the jboss-jira
mailing list