Hi META-INF/ejb-jar.xml of the module should work in embedded mode or META-INF/env-entries.properties would too. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2013/10/29 amber <[email protected]>: > Hi, > > I got a external resource (string to define a path); All work fine for my > project (@resource injection) and the resource is declared into the > ejb-jar.xml : > <resource-ref> > <res-ref-name>thepath</res-ref-name> > <res-type>java.lang.String</res-type> > </resource-ref> > > Resource value is set into server configuration. Nice. > > But my junit test won't work because openEjb just can't find the resource's > value... How can I set it from openEJB (embeded or openejb.xml) and how ? > > thx! > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/resource-ref-settings-within-openEJB-tp4665781.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
