Fixing Wildfly

(cherry picked from commit 13faeb9dde010a70b2e3b3fd5acefd8eef4636ee)