aspose file tools*
The moose likes BEA/Weblogic and the fly likes How to retrieve managed server name using Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to retrieve managed server name using Java?" Watch "How to retrieve managed server name using Java?" New topic
Author

How to retrieve managed server name using Java?

Ong Vua
Ranch Hand

Joined: Jan 24, 2008
Posts: 59
I deployed my web app to a managed server and I want to retrieve the managed server's name from within the web app servlet.

Do you know how to do that?

Ong Vua
Ranch Hand

Joined: Jan 24, 2008
Posts: 59
I got it working already. Thanks
Sudhakar Betha
Greenhorn

Joined: Aug 04, 2011
Posts: 3

Can you please share how to ?

TIA,
Sudhakar


Sudhakar

Bangalore | India
German Gonzalez-Morris
Ranch Hand

Joined: Nov 16, 2009
Posts: 164

using Mbeans is an option: http://www.coderanch.com/t/520873/BEA-Weblogic/Getting-Server-Name-if-Current
(maybe the only one..)

G.


http://devwebcl.blogspot.com/
German Gonzalez-Morris
Ranch Hand

Joined: Nov 16, 2009
Posts: 164

a simpler solution would be to retrieve system property: -Dweblogic.Name
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to retrieve managed server name using Java?