Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagetext
titlejmx.password
monitorRole  ODev
Code Block
languagetext
titlejmx.access
monitorRole   readonly

You must set 0600 permission to files: 

# chmod 0600 jmx.*

Restart Server

# ./bin/opendevice restart


Monitoring

Start jconsole on client machine, set remote ip and password, as folowing

Image Added

Confirm Insecure

Image Added


References:

http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html


Warning
titleIf you want to configure security (SSL) for production applications read the guide:

http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html 

Troubleshooting

  • If you are using an ARM device (eg. Beaglebone), you should install Java(TM) SE Embedded version with full profile, if the jconsole does not connect