I've seen DataSource issues with MySQL when trying to access a datasource this way, which don't seem to happen when you define the datasource in the web.xml file.
I've got an example of defining the datasoure in web.xml at https://github.com/doobrie/todoee What version of MySQL driver are you using are you using? Have you tried running against hsql instead of MySQL to see if the problem exists there? -- View this message in context: http://openejb.979440.n4.nabble.com/Datasource-problem-with-TomEE-1-5-2-Works-in-1-5-1-tp4662607p4662667.html Sent from the OpenEJB User mailing list archive at Nabble.com.
