-
1. Re: Remote Monitoring of Wilfdfly 9.0.1 in Domain Mode
tibag Apr 3, 2018 11:37 AM (in response to bohremsdaq)Hi Brett,
You can actually use the Host Controller to monitor your memory usage, for example by using the REST API exposed by it. But if you want to use JMX, you have to:
1- create a socket binding
/socket-binding-group=XXX/socket-binding="remoting":add(port="4447")
2 - create a connector
/profile=XXX/subsystem=remoting/connector=remote-connector:add(socket-binding="remoting", security-realm="ApplicationRealm")
3 - enable JMX without management endpoint
/profile=XXX/subsystem=jmx/remoting-connector=jmx:add(use-management-endpoint=false)
4 - create an application user
done by running bin/add-user.sh (option b)
Then from your JMX client (like VisualVM) use "service:jmx:remote://<server-node-host>:4447" with the credentials of the user you've created.
All of that can be done without a restart of the domain.