[jboss-jira] [JBoss JIRA] (AS7-6790) Multi-JSF doesn't understand new modules structure
Glenn Kastrinos (JIRA)
jira-events at lists.jboss.org
Mon Apr 22 17:11:53 EDT 2013
[ https://issues.jboss.org/browse/AS7-6790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769265#comment-12769265 ]
Glenn Kastrinos edited comment on AS7-6790 at 4/22/13 5:11 PM:
---------------------------------------------------------------
Using MyFaces:
For the workaround, I'm still not sure exactly what we need to have in the modules folder. After doing everything else (Stan Silvert's CLI installation, modifying my module.xml files, etc.) I copied everything from modules/system/layers/base into a folder called "test", put it in the modules directory, changed the JBOSS_MODULEPATH to %JBOSS_HOME%\modules\test, and it won't start, saying it can't parse the configuration. I can't just copy all the little directories from layers/base into modules because there are already folders named com, javaee, org, and javax (system as well, but not in layers/base). I put the original com, javaee, org, and javax folders into a temp directory and pasted the contents of layers/base into modules (with system still there) but still got the config error (after fixing the modulepath). So I renamed the duplicates and put everything into the modules folder, but am back to the same old:
Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory
error.
Any idea what I'm missing? What folder structure did you use? As in, what folers/files should I have in my modules directory? THANK YOU I've been working on this for weeks
Also, myfaces is my only JSF implementation and it is set to default.
was (Author: glennk):
For the workaround, I'm still not sure exactly what we need to have in the modules folder. After doing everything else (Stan Silvert's CLI installation, modifying my module.xml files, etc.) I copied everything from modules/system/layers/base into a folder called "test", put it in the modules directory, changed the JBOSS_MODULEPATH to %JBOSS_HOME%\modules\test, and it won't start, saying it can't parse the configuration. I can't just copy all the little directories from layers/base into modules because there are already folders named com, javaee, org, and javax (system as well, but not in layers/base). I put the original com, javaee, org, and javax folders into a temp directory and pasted the contents of layers/base into modules (with system still there) but still got the config error (after fixing the modulepath). So I renamed the duplicates and put everything into the modules folder, but am back to the same old:
Class org.jboss.as.weld.webtier.jsf.WeldApplicationFactory is no javax.faces.application.ApplicationFactory
error.
Any idea what I'm missing? What folder structure did you use? As in, what folers/files should I have in my modules directory? THANK YOU I've been working on this for weeks
> Multi-JSF doesn't understand new modules structure
> --------------------------------------------------
>
> Key: AS7-6790
> URL: https://issues.jboss.org/browse/AS7-6790
> Project: Application Server 7
> Issue Type: Bug
> Components: JSF
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: Stan Silvert
> Assignee: Stan Silvert
>
> 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