More Info : we are using mod_jk as load balancer.
Further, we have observed that when we run in one node, every alternate request the nodename with JsessionID appears and disappears. ie. first JsessionID with nodename appears and second time only Jsession ID is seen. But since there is only one node, the session don't get invalidated as request is served successfully.
This issue is resolved. We have notices that there was issue in the code which is now rectified and is working fine. Wildfly with domain mode is working fine in 4 nodes with sticky session enabled in mod_JK.