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-10 Thread Louis Bros
@onyii5119 I've just tested this: tomee.xml: JdbcDriver org.apache.derby.jdbc.EmbeddedDriver JdbcUrl jdbc:derby:/opt/databases/test_db;create=true JtaManaged true persistence.xml: org.apache.openjpa.persistence.PersistenceProviderImpl My Test Datasource false

Re: derby database not created

2012-08-10 Thread Louis Bros
Hi Thanks very much for the suggestion. I now have this set up. tomee.xml: JdbcDriver org.apache.derby.jdbc.EmbeddedDriver JdbcUrl jdbc:derby:/opt/databases/test_db;create=true JtaManaged true persistence.xml: org.apache.openjpa.persistence.PersistenceProviderImpl My Te

derby database not created

2012-08-10 Thread Louis Bros
Hi all, I'm trying to set up a datasource and use it with openJpa. I'm using tomee with the derbyclient.jar in the the tomee/lib. I have my datasource set in my 'META-INF/context.xml' like this: and my persistence unit set with: org.apache.openjpa.persistence.Persis

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.

Re: tomee ejb annotation not injecting

2012-08-09 Thread Louis Bros
Hi, I downloaded the: apache-tomee-1.0.1-20120603.044854-1-webprofile.tar.gz >From the link on your http://rmannibucau.wordpress.com/2012/05/23/getting-tomee-snapshot/ blog . But I'm still having the same problem. Thanks -- View this message in context: http://openejb.979440.n4.nabble.com

tomee ejb annotation not injecting

2012-08-08 Thread Louis Bros
tomee ejb annotation not injecting Hi everyone, I'm having problems with EJB injection is tomee. I can't seem to find what I'm missing. I have a simple JSF webapp with both my ManagedBean and Stateless Bean in the same war file under WEB-INF/classes. The webapp works as expected when run in Gla