semiotproject / semiot-platform

SemIoT Platform
http://semiot.ru
MIT License
8 stars 1 forks source link

JMX is configured by default and enabled by envvars #218

Open KMax opened 8 years ago

KMax commented 8 years ago

JMX for all Java-based services should be enabled by default, so JVisualVM or any other tool could be attached without rebuilding the image.

The following options should be configured by envvars:

The following ports should be reserved for the service:

Actually JMX is enabled by default for api-gateway, so there is no need to do anything else. To attach JVisualVM to it, the jboss-client.jar should be added in the classpath and service:jmx:http-remoting-jmx:// should be used to provide the server address.