diff --git a/docs/source/generating-a-node.rst b/docs/source/generating-a-node.rst index 4e1b4f489b..a145b1984a 100644 --- a/docs/source/generating-a-node.rst +++ b/docs/source/generating-a-node.rst @@ -247,6 +247,13 @@ To copy the same file to all nodes `ext.drivers` can be defined in the top level } } +The Cordform task will automatically copy a Jolokia agent JAR into each generated node's `drivers` subdirectory. The version of this JAR +defaults to `1.6.0`. This can be changed by setting the `jolokia_version` property anywhere in your `build.gradle` file: + +.. sourcecode:: groovy + + ext.jolokia_version = "1.6.1" + .. _node_package_namespace_ownership: Package namespace ownership diff --git a/docs/source/node-administration.rst b/docs/source/node-administration.rst index 379e5efb39..2f4f4afccb 100644 --- a/docs/source/node-administration.rst +++ b/docs/source/node-administration.rst @@ -116,7 +116,7 @@ In order to ensure that a Jolokia agent is instrumented with the JVM run-time, y * Specify the Node configuration parameter ``jmxMonitoringHttpPort`` which will attempt to load the jolokia driver from the ``drivers`` folder. The format of the driver name needs to be ``jolokia-jvm-{VERSION}-agent.jar`` where VERSION is the version required by Corda, currently |jolokia_version|. -* Start the node with ``java -Dcapsule.jvm.args="-javaagent:drivers/jolokia-jvm-1.6.0-agent.jar=port=7777,host=localhost" -jar corda.jar``. +* Start the node with ``java -Dcapsule.jvm.args="-javaagent:drivers/jolokia-jvm-1.6.1-agent.jar=port=7777,host=localhost" -jar corda.jar``. The following JMX statistics are exported: