Skip to content

Instantly share code, notes, and snippets.

@maeste
Created June 13, 2011 16:32
Show Gist options
  • Select an option

  • Save maeste/1023121 to your computer and use it in GitHub Desktop.

Select an option

Save maeste/1023121 to your computer and use it in GitHub Desktop.
Caused by: javax.naming.NameNotFoundException: Name 'datasources' not found in context ''
at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:109)
at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:365)
at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:307)
at org.jboss.as.naming.InMemoryNamingStore.lookup(InMemoryNamingStore.java:162)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:176)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.as.demos.ds.mbean.Test.test(Test.java:42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment