[jbosstools-issues] [JBoss JIRA] (JBIDE-14709) Error in server log when redeploying datasource
Tomas Remes (JIRA)
jira-events at lists.jboss.org
Fri May 31 05:19:54 EDT 2013
Tomas Remes created JBIDE-14709:
-----------------------------------
Summary: Error in server log when redeploying datasource
Key: JBIDE-14709
URL: https://issues.jboss.org/browse/JBIDE-14709
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2
Affects Versions: 4.1.0.Beta1
Environment: JBDS 7.0.0.Beta1, EAP 6.1.0.GA
Reporter: Tomas Remes
I am not sure, if this problem is related to JBT, but is best reproducible by this way. Steps to reproduce:
1. Create and run EAP 6.1.0 server
2. Create Seam Web Project (I used MySQL datasource)
3. Try to edit newly created datasource file in the project and save it.
4. Redeploy is triggered.
5. However the datasource is redeployed, notice the following exception in the server.log:
{noformat}
11:07:34,057 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.naming.context.java.testProjectEntityManagerFactory: org.jboss.msc.service.StartException in service jboss.naming.context.java.testProjectEntityManagerFactory: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: org.jboss.msc.inject.InjectionException: Value already set for this injector
at org.jboss.msc.inject.RetainingInjector.inject(RetainingInjector.java:50) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler$1.inject(PersistenceUnitServiceHandler.java:386)
at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler$1.inject(PersistenceUnitServiceHandler.java:382)
at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1549) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl.access$1900(ServiceControllerImpl.java:49) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1780) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1741) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
... 3 more
{noformat}
--
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
More information about the jbosstools-issues
mailing list