[
https://issues.jboss.org/browse/JBSEAM-4856?page=com.atlassian.jira.plugi...
]
Marek Novotny commented on JBSEAM-4856:
---------------------------------------
Definitely yes. There will be a note/warning about that. So I will reopen this and mark it
as Documentation issue.
I have also asked the same - documentation note/warning - for AS7 migration guide.
AS7 Multi-war ear Seam 2.2.2.Final fails deployment (race
condition?)
---------------------------------------------------------------------
Key: JBSEAM-4856
URL:
https://issues.jboss.org/browse/JBSEAM-4856
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.2.2.Final
Environment: Ubuntu 11.10, Sun Java 1.6.0_26-b03, JBoss AS7 7.0.1.Final
Reporter: Todd Sproule
Assignee: Marek Novotny
Labels: as7
Original Estimate: 2 days
Remaining Estimate: 2 days
Deployment of a multi-war Seam ear into AS7 causes a deployment exception with duplicate
component exception. This is easy to reproduce with any AS7 Seam ear and two wars.
16:19:13,605 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-hello1]] (MSC
service thread 1-3) Exception sending context initialized event to listener instance of
class org.jboss.seam.servlet.SeamListener: java.lang.IllegalStateException: duplicate
factory for: org.jboss.seam.web.webSession (duplicate is specified in components.xml)
at org.jboss.seam.core.Init.checkDuplicateFactoryExpressions(Init.java:227)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.core.Init.checkDuplicateFactory(Init.java:220)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.core.Init.addFactoryValueExpression(Init.java:283)
[jboss-seam-2.2.2.Final.jar:]
at
org.jboss.seam.init.Initialization.installComponents(Initialization.java:1152)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.init.Initialization.init(Initialization.java:737)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
[jboss-seam-2.2.2.Final.jar:]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
[jbossweb-7.0.1.Final.jar:7.0.1.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
[jbossweb-7.0.1.Final.jar:7.0.1.Final]
at
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
[jboss-as-web-7.0.1.Final.jar:7.0.1.Final]
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$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
--
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