• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebSphere class having http listen port value

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
https://coderanch.com/t/536941/BEA-Weblogic/Class-holds-weblogic-port#2463378

-With Thanks,
Krishna.
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One option could be to use wsadmin programming classes to get the value from webcontainer - http port settings.
 
Krishnaa Kumar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic