Changing the attribute 'datasource' to 'datasource-jndi-name'