When DsXmlDeployer is used to deploy "*-ds.xml", it works after fixing 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 ?
Datasources are a special case, and are therefore not currently registered in the ManagementRepository. We will get to that later once the RHQ infrastructure is up and running.
Start with a standard resource adapter, f.ex. one that is generated by the code generator.