[
https://issues.jboss.org/browse/AS7-2662?page=com.atlassian.jira.plugin.s...
]
Stefano Maestri updated AS7-2662:
---------------------------------
Git Pull Request:
https://github.com/jbossas/jboss-as/pull/629 (was:
https://github.com/jbossas/jboss-as/pull/629)
Description: (was: 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})
Use pool-name as resource name in DMR and jndi-name as service
suffix
---------------------------------------------------------------------
Key: AS7-2662
URL:
https://issues.jboss.org/browse/AS7-2662
Project: Application Server 7
Issue Type: Bug
Components: JCA
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Fix For: 7.1.0.Beta1
--
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