[
https://issues.jboss.org/browse/AS7-2302?page=com.atlassian.jira.plugin.s...
]
Rob Cernich commented on AS7-2302:
----------------------------------
This affects more than just DataSource entries. SwitchYard deployments fail to locate
BeanManager.
This problem can be consistently reproduced. For example, when SwitchYard is installed in
AS7 and multiple SwitchYard quickstarts are deployed, this exception occurs on at least
one of the deployments and deployment fails every time. The only way to get the
quickstarts deployed is to deploy them individually, which needs to be done every time the
server is started.
Potential race condition on DataSource lookup
---------------------------------------------
Key: AS7-2302
URL:
https://issues.jboss.org/browse/AS7-2302
Project: Application Server 7
Issue Type: Bug
Components: JCA
Reporter: Thomas Diesler
Assignee: Stefano Maestri
Fix For: 7.1.0.CR1
If a service needs to do a JNDI lookup of a DataSource it may depend on
ServiceName.JBOSS.append("data-source",
"java:jboss/datasources/ExampleDS")
However, this dependency does not guarantee that the DS is bound to JNDI in time.
{code}
14:36:28,769 ERROR [org.jboss.as.jaxr.service.JUDDIService] (MSC service thread 1-1)
Cannot start JUDDI service: java.lang.IllegalStateException
at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:116)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.naming.service.BinderService.getValue(BinderService.java:43)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1216)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:111)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:73)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:92)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:213)
[jboss-as-naming-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_27]
at org.jboss.as.jaxr.service.JUDDIService.start(JUDDIService.java:87)
[jboss-as-jaxr-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHO
{code}
--
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