Hi,
I attached a small test case that reproduces the error. The build war can be put in a wildfly server with the default example DS and the test will run automatically when the war is deployed.
best regards, Thies