Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class that holds weblogic port?

 
Krishnaa Kumar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been looking for the class in weblogic.jar, that has weblogic port information.
I need to find weblogic port through my java code.

Im new to weblogic. Can any one help me?

- Krishna.
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try accessing the weblogic.management.configuration.ServerMBean Mbean that exposes the configuration information of the server like listen address, listen port etc.
 
Krishnaa Kumar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi anandraj,

Thanks for your reply.
ServerMBean Works fine.

Similarly can you help with some classes having http listen port in WebSphere??

With Thanks,
Krishna.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic