wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Server Name if the Current Managed Server on a Cluster Env
 
Similar Threads
Doubt on PersistenceContext
Managed server instance name
are Initialcontext objects are replicated while clustering
NodeManager problem
How to retrieve managed server name using Java?