We have a web application which works fine on Wildfly9 standalone mode. Currently its on a single server. We want to add one more server to avoid high traffic and downtime issue.
I am trying to follow the steps mentioned in https://docs.jboss.org/author/display/WFLY9/WildFly+9+Cluster+Howto?_sscc=t . But this deployment is referring domain mode.
Can we use clustering and load balancing using standalone mode?
If answer to above question is no then we are thinking of deploying application to domain mode on two different server and also add load balancer.
I tried to deploy application war in domain mode but our application refer many configuration files which are outside war.
- Is there any way using which I can provide path to config file/directory?
- Do I need to put these config files in war itself?
- Do I need to configure application somehow to look for these files from WILDFLY_HOME?
Any pointers will be helpful.
Thanks.