ok I found it when doing Seam2 and WAR (I apparently tried all other combinations ;)
ok - i created http://jira.jboss.com/jira/browse/JBIDE-1367
but looking at the comments for seam2 project creations it looks like the ds.xml file in the WAR is used as the ds.xml for testing.
but the resources/*ds.xml is what gets deployed.
Follow the jira if you want to know the resolution of it.
p.s. you always add/remove these ds.xml as you please - you just need to remember to deploy at least one other with the same datasource name.
Hi, Max
Good it's been taken care of to avoid confusion in the future, for now using only resources/ds.xml is fine.
yeah well ...unfortunately it seems that for Seam 2.0 GA we need to have the ds.xml duplicated OR just have the WEB-INF/ds.xml since other wise the testNG/Embedded JBoss setup won't pickup the datasource....