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.

How to Open Portable Heap Dump Files in Memory Analyzer Tool

To open IBM portable heap dump files (.phd) in Memory Analyzer Tool (MAT), you need to install the IBM Diagnostic Tool Framework for Java plugin:

  1. Help -> Install New Software
  2. Add site: http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/dtfj/
  3. Install IBM DTFJ plugin.

Now MAT should recognize the PHD files format.