If the setup and connection are successful, a JMX connection string is printed to logs at the
INFO level.
2018-06-08T21:03:11,520 | INFO | [main] c.s.s.t.ServiceConfig: Service configured JMX Connection string: service:jmx:rmi://10.10.100.60:1099/jndi/rmi://10.10.100.60:1099/jmxrmi
- If
jmx.rmi.username,
jmx.rmi.password, or
jmx.rmi.host are blank, then a log message is printed indicating that the property is blank, and that the JMX connection is not created.
- If
jmx.rmi.port is blank or undefined, then the port value defaults to
1099.
- If the
jmx.rmi.host is configured incorrectly, the connection times out and the service fails to start. An error message is printed to the admin UI and the logs.
A successful client connection is printed to logs at the
DEBUG level. An unsuccessful client connection attempt due to bad or missing username or password is printed at the
ERROR level.
Note: If you are connecting to a remote host, the port must be opened in the firewall to allow the connection.