[
https://issues.jboss.org/browse/AS7-1976?page=com.atlassian.jira.plugin.s...
]
Stan Silvert commented on AS7-1976:
-----------------------------------
I just tried this on master, 7.2.0.Alpha1-SNAPSHOT. It worked as expected.
If there is no objection, I'll close this soon.
WAR file using WAR_BUNDLES_JSF_IMPL embedded in an EAR file fails
deployment
----------------------------------------------------------------------------
Key: AS7-1976
URL:
https://issues.jboss.org/browse/AS7-1976
Project: Application Server 7
Issue Type: Bug
Components: JSF
Affects Versions: 7.0.1.Final, 7.0.2.Final, 7.1.0.Alpha1
Reporter: Oren Samuel
Assignee: Stan Silvert
Attachments: MyFacesTest.ear
EAR file containing a WAR file that bundles Myfaces 1.2.7 fails deployment (trying to
load JSF 2 libraries although WAR_BUNDLES_JSF_IMPL is set)
15:27:59,585 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed
to start service
jboss.deployment.subunit."MyFacesTest.ear"."myfacesTest.war".INSTALL:
org
.jboss.msc.service.StartException in service
jboss.deployment.subunit."MyFacesTest.ear"."myfacesTest.war".INSTALL:
Failed to process phase INSTALL of subdeployment "myfacesTest.war
" of deployment "MyFacesTest.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
[jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.RuntimeException: Failed to load class
com.sun.faces.config.ConfigureListener
at
org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
at
org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at
org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at
org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at
org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
[jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener from
[Module "deployment.MyFacesTest.ear.myfacesTest.war:main" from Service Module
Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at java.lang.Class.forName0(Native Method) [:1.6.0_21]
at java.lang.Class.forName(Class.java:247) [:1.6.0_21]
at
org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
... 11 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira