dont have time to dig now into this issue but WEB-INF/ejb-jar.xml is read for sure
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-07-23 22:57 GMT+02:00 jar <[email protected]>: > I've tried .... > > WEB-INF/web.xml > > <env-entry> > <env-entry-name>ejb/BeanFactoryPath</env-entry-name> > <env-entry-type>java.lang.String</env-entry-type> > <env-entry-value>path_to_my_file</env-entry-value> > </env-entry> > > META-INF/ejb-jar.xml (I don't believe Tomee is even reading this file, as > I get no complaints when I purposefully malform the contents ) > > <message-driven> > <ejb-name>RequestResponseHandlerMDB</ejb-name> > > <resource-adapter-name>MyJmsResourceAdapter</resource-adapter-name> > <configuration-name>ActiveMQ Message Driven > Bean</configuration-name> > <env-entry> > > <env-entry-name>ejb/BeanFactoryPath</env-entry-name> > > <env-entry-type>java.lang.String</env-entry-type> > > <env-entry-value>path_to_my_file</env-entry-value> > </env-entry> > </message-driven> > > META-INF/context.xml > > <Environment name="ejb/BeanFactoryPath" value="path_to_my_file" > type="java.lang.String" override="true" /> > > <env-entry> > <env-entry-name>ejb/BeanFactoryPath</env-entry-name> > <env-entry-type>java.lang.String</env-entry-type> > <env-entry-value>path_to_my_file</env-entry-value> > </env-entry> > > > I've also tried every variation of the jndi key up to and including the > full: java:comp/env/ejb/BeanFactoryPath > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/java-comp-env-ejb-BeanFactoryPath-tp4670687p4670695.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
