Ravi Teja wrote:
When i stop and restart the server it will ask a question called do you want to refresh
What is that "it"? Who's asking that question? And what custom tags have you added to that configuration?
Oh sorry if i restart the server the server is asking do you want save ?
if i click yes ............
In standalone-custom.xml the below tags are missing...?
Wich SO are you using?
It looks like you're editing the file with a text editor while the server is running.
Don't do that.
Ya right how can i resolve that
You should not edit the standalone*.xml if the server is running.
You can use the CLI shell (jboss-cli.sh) to modify the configuration during runtime.
The standalone configuration folder will have multiple xmls. One that was used for the first start of the server. Then the last version that was used to start the server successfully and finally the current version you have modified.
If something is wrong, it replaces the xml with the last successfully started xml. Hence, may be your entries are missing.
So, after you restart check the log file if there are any parse errors (in the custom tag u have added) and make sure that all the services are started and none have failed. If you see any failed services, that should give you an idea of what is wrong.