I still don't really know what you mean by "wildfly configuration we are using one xml file and in that file we are mentioning the wildfly path" - where does this XML file come from? Are you talking about the standalone.xml used to configure the server or something else?
Does your deployment make use of EE security? This would guide the best approach to eliminate the error. If the deployment does not use EE security then we can likely remote the extension and subsystem from the config, on the other hand if the deployment does use EE security we will need to make sure it's requirements are satisifed.