Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!