EAR Deployment fails on JBoss AS 7.1 CR1
pkilian Dec 29, 2011 2:46 AMHello,
if we deploy our EAR-File on JBoss AS 7.1 CR1, it fails with following error:
07:59:02,966 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."webstage-login-server.ear"."webstage-login-server.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."webstage-login-server.ear"."webstage-login-server.jar".PARSE: Failed to process phase PARSE of subdeployment "webstage-login-server.jar" of deployment "webstage-login-server.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1.jar:7.1.0.CR1]
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_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: java.lang.IllegalArgumentException: JBAS011046: A component named 'LoginSessionMgrBean' is already defined in this module
at org.jboss.as.ee.component.EEModuleDescription.addComponent(EEModuleDescription.java:132)
at org.jboss.as.ejb3.deployment.processors.SessionBeanComponentDescriptionFactory.processSessionBeans(SessionBeanComponentDescriptionFactory.java:169)
at org.jboss.as.ejb3.deployment.processors.SessionBeanComponentDescriptionFactory.processAnnotations(SessionBeanComponentDescriptionFactory.java:91)
at org.jboss.as.ejb3.deployment.processors.EJBComponentDescriptionFactory.deploy(EJBComponentDescriptionFactory.java:69)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1.jar:7.1.0.CR1]
... 5 more
The same EAR deploys on JBoss 7.1 Beta1 without any error and is running well.
Any hints what causes the problem?
Best regards
Peter Kilian
-
webstage-login-server.ear 480.4 KB