-
1. Re: Problem about JBoss 7 reload configuration
sfcoy Oct 31, 2012 11:23 PM (in response to xin.zhang.song)1 of 1 people found this helpfulHi there,
It's not completely clear what you're looking for. What could be simpler than:
{code}[jboss-as-7.1.3.Final]$ bin/jboss-cli.sh --connect :reload{code}
?
-
2. Re: Problem about JBoss 7 reload configuration
xin.zhang.song Nov 1, 2012 1:24 AM (in response to sfcoy)Thanks for you fast response.
Is there whether the JBoss will provide the other way to enable JBoss7 reload the new configuration on the fly?
Thanks
-
3. Re: Problem about JBoss 7 reload configuration
sfcoy Nov 1, 2012 1:33 AM (in response to xin.zhang.song)You need to explain why the method I described does not work for you.
What sort of alternative method are you looking for?
-
4. Re: Problem about JBoss 7 reload configuration
xin.zhang.song Nov 1, 2012 2:23 AM (in response to sfcoy)Sorry for the description is unclear.
It works for me,
I want to looking for a way to reload the configuration on the fly such as the new configuration will be loaded right now if you modify the standalone.xml.
-
5. Re: Problem about JBoss 7 reload configuration
nickarls Nov 1, 2012 2:41 AM (in response to xin.zhang.song)1 of 1 people found this helpfulThere is no watcher for the configuration file that would trigger a reload. Personally, I prefer i that way. Sometimes I save too soon and it would be bad if it took effect too soon. Manual reload is sort of a transaction commit.
-
6. Re: Problem about JBoss 7 reload configuration
xin.zhang.song Nov 1, 2012 3:05 AM (in response to nickarls)Got it!
Thanks.
Xin
-
7. Re: Problem about JBoss 7 reload configuration
sfcoy Nov 1, 2012 3:09 AM (in response to xin.zhang.song)If you edit the standalone.xml file of a running instance you will find that your changes disappear when you stop the server.
The trick is to learn how to make your changes using the CLI. Have a look at AS71 CLI Recipes.