[jboss-dev-forums] [Design of EJB 3.0] - Re: Embeddable ALPHA 9 Unable to lookup TransactionManager

hennejg do-not-reply at jboss.com
Fri Dec 8 10:53:51 EST 2006


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#3992274

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992274



More information about the jboss-dev-forums mailing list