[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:39:53 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770891#comment-12770891 ] 

Glenn Kastrinos commented on WFLY-976:
--------------------------------------

Hey, 
I appreciate all of your help.
I followed all of your steps, but no matter what config I use, I eventualy always make it back to:

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

which occurs in the myfaces jars (whether I use the bundle or the impl/api jars).
At your convenience, I can answer more about my configuration, but I just cannot figure out why it keeps throwing that error.
I've attached my .war file. Is it obvious?
Thank you yet again
                
> 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