It doesn't fully work in a non-embedded case either. Only the 1st deploy after server restart is somehow working. Neither undeploy, not subsequent deploy can see the resource defined via @DataSourceDefinition.
Regards,
-marina
[Message sent by forum member 'mvatkina']
http://forums.java.net/jive/thread.jspa?messageID=397033