When I try to run a Junit test with the embeddable EJB3, I'm also seeing the error:
FATAL 07-04 16:26:17,671 (PersistenceXmlLoader.java:parsePersistenceUnit:101) -tempdb JTA As suggested, I created a jar file containing my entity bean and persistence.xml and placed it in my META-INF directory. And made sure I referenced it in my classpath, however, I am still getting the error mentioned above. BTW, it still completes the test successfully and appears to interact with the database just fine. Should the jar file have eliminated the "FATAL" error or does it just get rid of the "missing dependancies" problem? How do I run the unit test, reference the persistence.xml and NOT get the "FATAL" error? Is this a valid "FATAL" error message or a bogus one? And if it's a valid error, why am I getting it and is there a workaround? Thanks, LisaD View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935914#3935914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935914 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
