Could you have deployed the jdbc/uni datasource before you used it? DefaultDS is a buit-in datasource on JBoss, if you want use aother datasource, you need to create a xxx-ds.xml file and placed it in the deploy directory.
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community