Another question:
When DsXmlDeployer is used to deploy "*-ds.xml", it works after changing the XMLStreamReader.getAttributeValue() issue mentioned in above comment, but there is no managed Connector registered to ManagementRepository. Should it be? if not, how to get the deployed datasources ?