-
1. Re: Restart App
simkam Jan 9, 2019 10:45 AM (in response to boubou)1 of 1 people found this helpfulHi,
you can try to redeploy app using jboss-cli.
start jboss cli and connect to running instance
WILDFLY_HOME/bin/jboss-cli.sh -c
redeploy deployment with
/deployment=DEPLOYMENT_NAME:redeploy()
-
2. Re: Restart App
boubou Jan 9, 2019 5:40 PM (in response to simkam)1 of 1 people found this helpfulHi,
Thanks for repply.
Unfortunately same issue. What i have understood it's the config file is load when jboss start. This config file contain some parameters forDB connection and Environment (Dev, Ppd, Prd) Variables.
I can post one section of this file tomorrow. of this file if needed
Does exist any solution like Jboss 6 with groups-servers in Wildfly ? How it's works when it needed to restart just one APP ?
.war was builded with config environment file but it was decided to separate config file from .war. the reason is to deploy the .war in all environment.
I'am thinking to create cluster and i can restart the server one change the config file and started it without shutdown App. ( and do the server two in next )
Thanks for Help
-
3. Re: Restart App
simkam Jan 10, 2019 3:27 AM (in response to boubou)I see now, I thought you mean some custom conf files, not server configuration file. Changing configuration file xml directly isn't recommended, jboss-cli is recommended way to manage server. It's even possible to change configuration at runtime without restarting server (not all, some changes still require at least reload).
I'm not sure what you mean by "Jboss 6 Enterprise Red Hat" but if is JBoss EAP 6, then WildFly is almost the same. There are server groups, just look into domain mode.
Cluster is definitely a way how to achieve it.
I suggest to start with WildFly Documentation
-
4. Re: Restart App
boubou Jan 10, 2019 4:17 AM (in response to simkam)Hi Thanks a lot i will read the documentation about it ( RedHat means for me the entreprise edition )
Thanks a lot for help.