File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to retrieve managed server name using Java?

 
Ong Vua
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working already. Thanks
 
Sudhakar Betha
Greenhorn
Posts: 3
Java Linux Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please share how to ?

TIA,
Sudhakar
 
German Gonzalez-Morris
Ranch Hand
Posts: 233
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using Mbeans is an option: http://www.coderanch.com/t/520873/BEA-Weblogic/Getting-Server-Name-if-Current
(maybe the only one..)

G.

 
German Gonzalez-Morris
Ranch Hand
Posts: 233
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a simpler solution would be to retrieve system property: -Dweblogic.Name
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic