the lookup looks good. 

maybe try printing out the contents of 
new InitialContext().getEnvironment();
the context should contain the equivalent of doing this:
Properties p = new Properties(); 
  |         p.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");  
  |         p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); 
 
  |         p.put(Context.PROVIDER_URL, "localhost:1099");
  | 
  | Context ctx = new InitialContext(p);

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075008#4075008

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075008
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to