This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Getting Server Name if the Current Managed Server on a Cluster Env Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Getting Server Name if the Current Managed Server on a Cluster Env" Watch "Getting Server Name if the Current Managed Server on a Cluster Env" New topic
Author

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

V Hs
Greenhorn

Joined: Dec 18, 2010
Posts: 1
I need to get the Server Name of the Current Managed Server on which currently i m in.
Bhagat Singh Rawat
Ranch Hand

Joined: Apr 04, 2009
Posts: 93
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:


Brainbench Java 2.0 Fundamentals, J2EE 1.4
http://www.brainbench.com/transcript.jsp?pid=8192792
T. Huy Nguyen
Ranch Hand

Joined: Nov 02, 2010
Posts: 57
(WLS10.3) Although the blow code uses the deprecated class MBeanHome, it is still working well



My material for SCJP (2008), SCWCD (2010), SCBCD (2010). About me
 
Have you checked out Aspose?
 
subject: Getting Server Name if the Current Managed Server on a Cluster Env
 
jQuery in Action, 3rd edition