Re: tomee ejb annotation not injecting

2012-08-21 Thread onyii5119
Thanks Romain. How do you use container managed (declarative) transaction with Tomee? -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656962.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-21 Thread Romain Manni-Bucau
Romain. How do you use container managed (declarative) transaction with Tomee? -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656962.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-19 Thread Romain Manni-Bucau
://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656897.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-18 Thread onyii5119
fine in Tomee. Jonathan Ekwempu -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656892.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-18 Thread Romain Manni-Bucau
success, If we can get the example to work, it would serve as a good example for any one looking for a JSF 2.x example that works fine in Tomee. Jonathan Ekwempu -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656892.html

Re: tomee ejb annotation not injecting

2012-08-18 Thread onyii5119
-- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656897.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-14 Thread David Blevins
On Aug 10, 2012, at 7:20 PM, Louis Bros wrote: Sorry it is working fine. onyii5119 asked for an example. My mistake! Great to see one user helping another! Lead on :) -David

Re: tomee ejb annotation not injecting

2012-08-10 Thread onyii5119
in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656777.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-10 Thread Romain Manni-Bucau
the persistent.xml and Datasource entries in web.xml. Thanks, Jonathan -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656777.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-10 Thread David Blevins
On Aug 10, 2012, at 4:47 AM, onyii5119 wrote: Could you please inject Entity Manager into your HelloEJB and see if it works? I tried injecting one into my Stateless bean and it did not work. Possible you can paste some code? That particular path is very well tested, but there might be a

Re: tomee ejb annotation not injecting

2012-08-10 Thread Louis Bros
/ /properties /persistence-unit HelloEJB: @PersistenceContext(unitName = test) private EntityManager em; It's working for me. -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656792.html Sent from the OpenEJB User mailing

Re: tomee ejb annotation not injecting

2012-08-10 Thread David Blevins
On Aug 10, 2012, at 6:48 PM, Louis Bros wrote: @onyii5119 I've just tested this: tomee.xml: Resource id=My Test Datasource type=DataSource JdbcDriver org.apache.derby.jdbc.EmbeddedDriver JdbcUrl jdbc:derby:/opt/databases/test_db;create=true JtaManaged true /Resource

Re: tomee ejb annotation not injecting

2012-08-10 Thread onyii5119
will not operate correctly with getCurrentSession() -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656793.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-10 Thread Louis Bros
Sorry it is working fine. onyii5119 asked for an example. -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656795.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-09 Thread Romain Manni-Bucau
Hi, It was fixed on the snapshot a week after the release i think. Can you give it a try with the snapshot please? - Romain Le 9 août 2012 08:13, Louis Bros louisbros...@hotmail.com a écrit : tomee ejb annotation not injecting Hi everyone, I'm having problems with EJB injection is tomee

Re: tomee ejb annotation not injecting

2012-08-09 Thread Louis Bros
/tomee-ejb-annotation-not-injecting-tp4656726p4656740.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-09 Thread Romain Manni-Bucau
the same problem. Thanks -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656740.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: tomee ejb annotation not injecting

2012-08-09 Thread Louis Bros
Hi Romain, Sorry I got the wrong snapshot, the latest snapshot is working. Thanks -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-ejb-annotation-not-injecting-tp4656726p4656742.html Sent from the OpenEJB User mailing list archive at Nabble.com.