Fixing Wildfly 8.1.0.Final deployment issue.