This should be fixed with these commits:
WFK fix is here: https://github.com/jboss-developer/jboss-wfk-quickstarts/commit/ec3693bc0bee01644375d9ea2beb90df109cc2c2
EAP fix is here: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/8f2985e0fa64f73d717bac56c481c07be8bf98c0
This should be fixed with these commits:
WFK fix is here: https://github.com/jboss-developer/jboss-wfk-quickstarts/commit/ec3693bc0bee01644375d9ea2beb90df109cc2c2
EAP fix is here: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/8f2985e0fa64f73d717bac56c481c07be8bf98c0