-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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.
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