yep, that's even worse, if no datasource are defined you can put <jta-data-source>foo</jta-data-source> and it will work too