Oh I didnt read properly. The reason for the error is that the persistence.xml 
file is using a JTA datasource, which of course does not exist in a unit test. 
You need a different persistence.xml if you want to run in a unit test.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010630#4010630

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010630
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to