This content has been marked as final.
Show 4 replies
-
1. Re: how do I see server configuration file name through cli?
wdfink Nov 22, 2013 7:51 AM (in response to akostadinov)Do you mean the name of the standalone*.xml ?
I think there is no possibility to show that
-
2. Re: how do I see server configuration file name through cli?
akostadinov Nov 22, 2013 8:15 AM (in response to wdfink)Yes, I want to know which standalone*.xml is used by the server. Are you sure that's nowhere to be found?
-
3. Re: how do I see server configuration file name through cli?
wdfink Nov 22, 2013 8:46 AM (in response to akostadinov)I'm wrong and have overlooked it, sorry.
/core-service=server-environment:read-attribute(name=config-file)
will show the name.
If you search for something you can use
bin/jboss-cli.sh -c
[standalone@localhost:9999 /] :read-resource(recursive=true, include-runtime=true) >xx
Now you can look into the file xx and search for it and follow the path back
-
4. Re: how do I see server configuration file name through cli?
akostadinov Nov 22, 2013 10:09 AM (in response to wdfink)Awesome answer. Thank you for recursive read as well. I used it in the past but forgot about it.