[
https://issues.jboss.org/browse/AS7-5849?page=com.atlassian.jira.plugin.s...
]
Nicklas Karlsson updated AS7-5849:
----------------------------------
Description:
Starting with Stan Silverts sample in the thread
https://community.jboss.org/thread/171282?start=0&tstart=0, I've added a
beans.xmls and followed the suggestions in AS7-3940 and added the
jboss-deployment-structure.xml but deployment still results in
{code}
10:29:28,851 SEVERE [org.apache.myfaces.webapp.AbstractFacesInitializer] (MSC service
thread 1-4) 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:311)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder._getFactory(FactoryFinder.java:277)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:200)
[myfaces-api-2.1.1.jar:2.1.1]
at
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:489)
[myfaces-impl-2.1.1.jar:2.1.1]
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:401)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:309)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:125)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3331)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3769)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102)
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_07]
{code}
on a fresh upstream origin
was:
Starting with Stan Silverts sample in the thread
https://community.jboss.org/thread/171282?start=0&tstart=0, I've followed the
suggestions in AS7-3940 but deployment still results in
{code}
10:29:28,851 SEVERE [org.apache.myfaces.webapp.AbstractFacesInitializer] (MSC service
thread 1-4) 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:311)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder._getFactory(FactoryFinder.java:277)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:200)
[myfaces-api-2.1.1.jar:2.1.1]
at
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:489)
[myfaces-impl-2.1.1.jar:2.1.1]
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:401)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:309)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:125)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3331)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3769)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102)
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_07]
{code}
on a fresh upstream origin
Web application with bundled JSF abd CDI activated fails to deploy
-------------------------------------------------------------------
Key: AS7-5849
URL:
https://issues.jboss.org/browse/AS7-5849
Project: Application Server 7
Issue Type: Bug
Components: Class Loading, JSF
Affects Versions: 7.2.0.Alpha1
Reporter: Nicklas Karlsson
Assignee: Stuart Douglas
Attachments: hellomyfaces.war
Starting with Stan Silverts sample in the thread
https://community.jboss.org/thread/171282?start=0&tstart=0, I've added a
beans.xmls and followed the suggestions in AS7-3940 and added the
jboss-deployment-structure.xml but deployment still results in
{code}
10:29:28,851 SEVERE [org.apache.myfaces.webapp.AbstractFacesInitializer] (MSC service
thread 1-4) 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:311)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder._getFactory(FactoryFinder.java:277)
[myfaces-api-2.1.1.jar:2.1.1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:200)
[myfaces-api-2.1.1.jar:2.1.1]
at
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:489)
[myfaces-impl-2.1.1.jar:2.1.1]
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:401)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:309)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:125)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
[myfaces-impl-2.1.1.jar:2.1.1]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3331)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3769)
[jbossweb-7.2.0.Alpha2.jar:7.2.0.Alpha2]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102)
[jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_07]
{code}
on a fresh upstream origin
--
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