modified wildfly template