You will need to use the remote MBean server access even though the JVMs are running on the same host.
Please, check out Accessing a remote MBean server to learn more about setting up the platform MBean server for the remote connection and connecting to that server.