[jboss-jira] [JBoss JIRA] Commented: (AS7-1635) org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL doesn't work with Mojarra 2.1
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Wed Aug 24 09:05:17 EDT 2011
[ https://issues.jboss.org/browse/AS7-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623724#comment-12623724 ]
Stan Silvert commented on AS7-1635:
-----------------------------------
There are a number of reasons why Mojarra 2.1 won't work with AS 7.0.x. Right now WAR_BUNDLES_JSF_IMPL will only work with Mojarra 1.x and any version of MyFaces.
Mojarra 2.1 will soon be available in builds of AS 7.1.
> org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL doesn't work with Mojarra 2.1
> -----------------------------------------------------------------------
>
> Key: AS7-1635
> URL: https://issues.jboss.org/browse/AS7-1635
> Project: Application Server 7
> Issue Type: Bug
> Components: JSF, Modules
> Affects Versions: 7.0.1.Final
> Reporter: Juergen Zimmermann
> Assignee: Stan Silvert
>
> I set the context parameter org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL in web.xml to true, and added jsf-impl-2.1.3-b02.jar to WEB-INF/lib. But I got the stacktrace below (same stacktrace when jsf-api-2.1.3-b02.jar is added, too). The ear has one ejb and two web modules. One web module for JSF/CDI/RichFaces and one web module for RESTEasy. The strange observation is: the stacktrace occures regarding the web module for RESTEasy.
> I tried to add the following line to the <dependencies> section in modules\org\jboss\as\jaxrs\main\module.xml, but this didn't help.
> <module name="javax.faces.api"/>
> Stacktrace:
> 07:48:05,399 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.subunit."swe.ear"."sweREST.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."swe.ear"."sweREST.war".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "sweREST.war" of deployment "swe.ear"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
> at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0]
> at java.lang.Thread.run(Thread.java:722) [:1.7.0]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: javax.faces.webapp.FacetTag from [Module "deployment.swe.ear.sweREST.war:main" from Service Module Loader]
> at org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:63)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
> ... 5 more
> Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacetTag from [Module "deployment.swe.ear.sweREST.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
> at org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:61)
> ... 6 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list