This guide provides details on configuring middleware / server for remote monitoring. Useful to understand server behavior in embedded devices.
Enable JMX monitoring in file : conf/jvm-wrapper.conf
Uncomment and adjust the lines starting with "com.sun.management.jmxremote" as needed.
Create files: jmx.access and jmx.password in conf folder
jmx.password
monitorRole ODev
jmx.access
monitorRole readonly
You must set 0600 permission to files:
# chmod 0600 jmx.*
Monitoring
Start jconsole on client machine, set remote ip and password, as folowing
Confirm Insecure
References:
http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html
If you want to configure security (SSL) for production applications read the guide:
Add Comment