• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get nodeid in Java application in a clustered environment?

 
Pallavi Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to identify the node or any property that makes the node unique (on the cluster) from Java Application running on a clustered environment.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there and welcome to Javaranch!

What application server are you running on?
 
Pallavi Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Websphere...
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've moved it to the Websphere forum as I suspect (not 100%) that the answer will involve some Webspehere specifics. The Mod for this forum will shift it back if I'm dead wrong
 
Anant Rao
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can do it using JMX Framework. Please take a look at the following url in the infocenter.

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.nd.doc/info/ae/ae/cxml_javamanagementx.html


Anant
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic