aspose file tools*
The moose likes Websphere and the fly likes How to get nodeid in Java application in a clustered environment? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to get nodeid in Java application in a clustered environment?" Watch "How to get nodeid in Java application in a clustered environment?" New topic
Author

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

Pallavi Singh
Greenhorn

Joined: Nov 12, 2008
Posts: 2
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.


Cheers,<br />Pallavi
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi there and welcome to Javaranch!

What application server are you running on?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Pallavi Singh
Greenhorn

Joined: Nov 12, 2008
Posts: 2
I am using Websphere...
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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

Joined: Nov 12, 2004
Posts: 126
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get nodeid in Java application in a clustered environment?