Re: Data source not found when calling EntityManager.persist() inside EJB

2008-12-09 Thread Aflyctus N.E.B.
Apparently all of my problems stemmed from using the -javaagent VM option when running my JUnit test. I'm not sure what the problem was, but at least it's working now! Thanks to Quintin Beukes (http://qbeukes.blogspot.com/) for the suggestions that helped me narrow down the problem. aflyctus

Data source not found when calling EntityManager.persist() inside EJB

2008-12-08 Thread Aflyctus N.E.B.
I'm trying to embed OpenEJB 3.1 in my EJB3 application so that I can unit test my application. If it matters, I'm using NetBeans 6.5. I followed the following instructions to setup Toplink Essentials as my OpenEJB persistence provider: http://qbeukes.blogspot.com/2008/08/toplink-as-your-openejb-