Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know the url of installed application on websphere

I am a novice to web-sphere application server.

I am not able to figure out where I can get the url of application installed and what is default port number used for http requests.

Any help will be appreciated.

like image 885
Ravi.Kumar Avatar asked Jul 08 '13 12:07

Ravi.Kumar


3 Answers

The port numbers used can be specific to you particular WAS installation and depends on the topology as well. You can either try default 9080 or look for the port number in WAS configuration. What you're looking for is WC_defaulthost for http and WC_defaulthost_secure for https.

If you have access to WAS admin console, navigate to Servers => WebSphere Application Servers and choose your server. Then look for Communication sections which contains Ports.

Of course it is always possible to look for the port number on disk. For example:
<WAS_HOME>/profiles/<PROFILE_NAME>/logs/AboutThisProfile.txt is generated when creating the profile, so contains the port numbers as well. Then you can take a look at <WAS_HOME>/profiles/<PROFILE_NAME>/config/cells/<CELL_NAME>/nodes/<NODE_NAME>/serverindex.xml

like image 92
Michal Fleischhans Avatar answered Oct 12 '22 02:10

Michal Fleischhans


As mentioned by Michal in his answer, the port can be found in the Administrative console under Servers -> Server types -> WebSphere application servers -> (your server name) -> Ports (in the Connunication section).

The remainder of the URL can be looked up and configured under Applications -> Application Types -> WebSphere enterprise applications -> (your application name) -> Context Root For Web Modules (in the Web Module Properties section).

like image 36
Wormbo Avatar answered Oct 12 '22 00:10

Wormbo


None of the answer's worked for me as my application used a virtual host.

In Websphere admin console:

  1. Navigate to Environment
  2. then Virtual hosts
  3. Select your application host
  4. Go to Host Aliases and there you will find the port number.
like image 27
Barun Avatar answered Oct 12 '22 00:10

Barun