-
1. Re: Why Edit functionality could be missing on Admin Console/Deployments?
wdfink Nov 22, 2014 3:28 PM (in response to rbalboa)Which statistics do you mean, any example?
The properties should be available via CLI interface, maybe the console might not allow every configuration option. If you did not found it in the upstream project WildFly you might file a JIRA for this.
As you use EAP you might have a subscription and can open a support ticket for this in EAP6 as well.
-
2. Re: Why Edit functionality could be missing on Admin Console/Deployments?
rbalboa Nov 27, 2014 12:59 PM (in response to wdfink)For example enable statistics for monitoring deployment behavior. For some reason it was present in the admin console in previous installs on the same host and now I can't see the check mark to enable statistics per deployment in the console.
How can I do that through configuration xml files or properties file for both standalone and domain?Besides, CLI documentation doesn't address how to enable statistics that I'm aware.
Any reference to proper documentation about this would be much appreciated.
Thanks, -
3. Re: Re: Why Edit functionality could be missing on Admin Console/Deployments?
jaysensharma Nov 27, 2014 1:51 PM (in response to rbalboa)There are some CLI commands which you can use to enable various statistics and to monitor them. Some of them are as following , it might be helpful
For EJB Statistics
/subsystem=ejb3:write-attribute(name=enable-statistics, value=true) /deployment=TestWebApp.war/subsystem=ejb3/stateless-session-bean=HelloEJB:read-resource(include-runtime=true)
For Transactions:
/subsystem=transactions/:write-attribute(name=enable-statistics,value=true) /subsystem=transactions/:read-resource(recursive-depth=0,include-runtime=true)
For DataSource:
/subsystem=datasources/data-source=ExampleDS:write-attribute(name=statistics-enabled,value=true) /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-runtime=true)
Similarly for Web Applications session related statistics can be seen as :
/deployment=TestWebApp.war/subsystem=web:read-resource(include-runtime=true)
-
4. Re: Re: Why Edit functionality could be missing on Admin Console/Deployments?
rbalboa Dec 1, 2014 10:55 AM (in response to jaysensharma)Thank you. That works although it seems a little bit odd that one can't enable statistics globally for all deployments and for all subsystems. Could that be possible? Thanks