Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread Romain Manni-Bucau
Putting it in lib as well should be enough You can also add to conf/system.properties: xbean.finder.use.get-resources=true Could you please let me know how to list jar files? This could probably solves my issue... Thanks -- View this message in context: http://tomee-openejb.979440.n4.nabble.c

Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread amol.p.dongare
Could you please let me know how to list jar files? This could probably solves my issue... Thanks -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/EJB-injection-is-not-working-in-TomEE-1-7-2-tp4673359p4673423.html Sent from the TomEE Dev mailing list archive at Nabbl

Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread Romain Manni-Bucau
Think we ignore manifest by default can you try listing your jar? Le 16 janv. 2015 19:43, "amol.p.dongare" a écrit : > Yes my ear\META-INF\application.xml file specifies ejb module and > MANIFEST.MF > specifies dependent jar name. > > I am able to inject my EJB resource using @Inject annotation(a

Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread amol.p.dongare
Yes my ear\META-INF\application.xml file specifies ejb module and MANIFEST.MF specifies dependent jar name. I am able to inject my EJB resource using @Inject annotation(and copying beans.xml in META-INF folder) but not able to do it using @EJB. Please help me to solve this mystery. Thanks.

Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread Romain Manni-Bucau
did you check your ear structure? /lib/*.jar vs /*jar is application.xml matching it? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-16 17:34 GMT+01:00 amol.p.dongare : > Any Idea? > > > > -- > View this message

Re: @EJB injection is not working in TomEE 1.7.2

2015-01-16 Thread amol.p.dongare
Any Idea? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/EJB-injection-is-not-working-in-TomEE-1-7-2-tp4673359p4673417.html Sent from the TomEE Dev mailing list archive at Nabble.com.