did you try without java.naming.factory.initial? *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*
2013/5/27 AndrewClarke <[email protected]> > Thank you for the response. I put the following lines in > conf/system.properties and everything worked fine: > > java.naming.factory.initial = > org.apache.openejb.client.LocalInitialContextFactory > openejb.deploymentId.format = {ejbJarId}/{ejbName} > openejb.jndiname.format = {deploymentId}/{interfaceType.annotationNameLC} > > Ideally I'd like to deploy these within my application. I can set the > formats in WEB-INF/openejb-jar.xml, but I can't sort out where to set > java.naming.factory.initial, other than in Properties object or Tomcat-wide > in system.properties. This isn't a crucial issue, but something I'd just > like to ideally sort out. > > Thanks again, > - Andrew. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Customizing-JNDI-names-for-EJBs-tp4663215p4663252.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
