| Author |
WebSphere class having http listen port value
|
Krishnaa Kumar
Greenhorn
Joined: May 05, 2011
Posts: 25
|
|
Hi,
I need to know WebSphere's class which holds the WebSphere's http listen port value.
Can any one help me with this.
Its similar to WebLogic post
http://www.coderanch.com/t/536941/BEA-Weblogic/Class-holds-weblogic-port#2463378
-With Thanks,
Krishna.
|
 |
Deepak Pant
Ranch Hand
Joined: Feb 13, 2004
Posts: 443
|
|
WebSphere creates a file called "AboutThisProfile.txt" under \IBM\WebSphere\AppServer\profiles\<profileName>\logs folder. This file contains
various port numbers. The one you are looking for is "HTTP transport port".
Administrative console port: xxxx
Administrative console secure port: xxxx
HTTP transport port: xxxx
HTTPS transport port: xxxx
Bootstrap port: xxxx
SOAP connector port: xxxx
Is this what you were looking for ?
|
 |
Krishnaa Kumar
Greenhorn
Joined: May 05, 2011
Posts: 25
|
|
Hi deepak,
I want to find the http listen port, using reflection when the class(which holds port configuration) loads by class loader.
- With Thanks, Krishna.
|
 |
Deepak Pant
Ranch Hand
Joined: Feb 13, 2004
Posts: 443
|
|
|
One option could be to use wsadmin programming classes to get the value from webcontainer - http port settings.
|
 |
Krishnaa Kumar
Greenhorn
Joined: May 05, 2011
Posts: 25
|
|
Hi Deepak,
I looked into many "wsadmin programming classes" using decompiler. nothing seems to have http port settings.
Do you know any class that holds this information. if so, just share. it will be very much helpful for me.
With thanks, Krishna.
|
 |
 |
|
|
subject: WebSphere class having http listen port value
|
|
|