[jboss-jira] [JBoss JIRA] Created: (AS7-1118) Multiple @PersistenceContext injections on the same bean results in deployment failure
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Mon Jun 27 00:17:24 EDT 2011
Multiple @PersistenceContext injections on the same bean results in deployment failure
--------------------------------------------------------------------------------------
Key: AS7-1118
URL: https://issues.jboss.org/browse/AS7-1118
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.0.0.Beta3
Reporter: Stuart Douglas
Assignee: Scott Marlow
Fix For: 7.0.0.CR1
NSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."scopedToEar.ear"."override.jar".INSTALL: Failed to process phase INSTALL of subdeployment "override.jar" of deployment "scopedToEar.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$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
Caused by: java.lang.IllegalArgumentException: AS7-1042: can't add immediate factory for org.jboss.as.jpa.interceptor.SBInvocationInterceptor at 48ba0f44, priority 0x600 is already taken by immediate factory for org.jboss.as.jpa.interceptor.SBInvocationInterceptor at 48ba0f44
at org.jboss.as.ee.component.interceptors.OrderedItemContainer.add(OrderedItemContainer.java:57)
at org.jboss.as.ee.component.ComponentConfiguration.addComponentInterceptor(ComponentConfiguration.java:144)
at org.jboss.as.jpa.processor.JPAAnnotationParseProcessor$8.configure(JPAAnnotationParseProcessor.java:391)
at org.jboss.as.ee.component.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:68)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 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