IBM Support

Where is the messaging engine running?

Question & Answer


Question

When a messaging engine starts in a cluster, it is not always known which JVM it is running in. This Technote shows how to display all of the messaging engines in the cluster, and which JVM they are running in.

Answer


Using a script

  1. Download this file.

    LocateME.pyLocateME.py
  2. Change directories to the Deployment Manager bin directory.
  3. Execute the command:
    wsadmin -lang jython -f <path_to_script>LocateME.py


Using a single command (unformatted output)
  1. Change directories to the Deployment Manager bin directory.
  2. Execute this command:
      wsadmin -lang jython
  3. At the "wsadmin>" prompt enter the command:  AdminControl.queryNames('WebSphere:type=SIBMessagingEngine,*')

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1;7.0;8.0;8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21621332