[
https://issues.jboss.org/browse/AS7-5654?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated AS7-5654:
--------------------------------
Description:
{code}
Caused by: java.lang.IllegalStateException: JBAS014666: Duplicate resource
persistence-bundle-b.jar#simple-persistence
at
org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:225)
at
org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:135)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addManagementConsole(PersistenceUnitServiceHandler.java:727)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnit(PersistenceUnitServiceHandler.java:406)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:274)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleJarDeployment(PersistenceUnitServiceHandler.java:142)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:117)
at
org.jboss.as.jpa.processor.PersistenceCompleteInstallProcessor.deploy(PersistenceCompleteInstallProcessor.java:48)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2
{code}
was:
{code}
Caused by: java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.as.connector.deployers.ra.processors.CachedConnectionManagerSetupProcessor$CachedConnectionManagerSetupAction.setup(CachedConnectionManagerSetupProcessor.java:74)
at org.jboss.as.web.ThreadSetupBindingListener.bind(ThreadSetupBindingListener.java:50)
at org.apache.catalina.core.StandardContext.bindThread(StandardContext.java:4234)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3740)
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102)
{code}
Component/s: JPA / Hibernate
(was: Web)
Cannot restart jpa bundle after activation failure
--------------------------------------------------
Key: AS7-5654
URL:
https://issues.jboss.org/browse/AS7-5654
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate, OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
{code}
Caused by: java.lang.IllegalStateException: JBAS014666: Duplicate resource
persistence-bundle-b.jar#simple-persistence
at
org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:225)
at
org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:135)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addManagementConsole(PersistenceUnitServiceHandler.java:727)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnit(PersistenceUnitServiceHandler.java:406)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:274)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleJarDeployment(PersistenceUnitServiceHandler.java:142)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:117)
at
org.jboss.as.jpa.processor.PersistenceCompleteInstallProcessor.deploy(PersistenceCompleteInstallProcessor.java:48)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
[jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2
{code}
--
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