Websphere Liberty Profile JMX Service URL

The localhost JMX service URL for a liberty profile Websphere instance can be found in the following file once the server is started:


It’ll contain the URL to connect to the JMX server:

service:jmx:rmi:// (omitted)

It can be used directly in a JMXServiceURL(); on your java code, but beware the URL will change each time the server is restarted.