Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to List all the Ports (or just bootstrap port) using JMX on WAS 7.0 ?

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to connect to the Dmgr01 using the default bootstrap port (2809), and under it I can list all the existing nodes(say Node01, Node02) on it.
And again, I need to connect to Node01 and Node02 using their bootstrap ports, in order to retrieve information on them.

So, how can I programatically(reading from the process rather than the config file from the server) retrieve the bootstrap port number of them?

Thanks in advance,

Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this URL:

Play with the getAttributes method to findout the attribute name for all the ports and you can then customize your Java program.
    Bookmark Topic Watch Topic
  • New Topic