File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Server Name if the Current Managed Server on a Cluster Env

 
V Hs
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to get the Server Name of the Current Managed Server on which currently i m in.
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
V Hs wrote:I need to get the Server Name of the Current Managed Server on which currently i m in.


If you are using Weblogic server, here is an example:

 
T. Huy Nguyen
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(WLS10.3) Although the blow code uses the deprecated class MBeanHome, it is still working well

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic