• 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
  • 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
  • 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
  • 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