Fix for WildFly deployment issue