Just add
System.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.LocalOnlyContextFactory");
| System.setProperty("java.naming.factory.url.pkgs",
"org.jboss.naming:org.jnp.interfaces");
|
before the embedded container startup, and you're ready to go. Alternatively, you can
throw a jndi.properties with those properties onto the class path or use -D options.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992274#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...