How do I configure IBM Websphere 8 to serve web applications on different ports?

I need to deploy two applications as WAR files on Websphere. For both of them, only HTTPS access is required.

Is it possible to run these two web applications on separate ports on the same instance of Websphere?

For example, is it possible to access two applications as follows:

https://192.101.1.101:7070/WebApplication1/ 

and

https://192.101.1.101:7080/WebApplication2/ 

(one IP address, one protocol (https), different ports)

+4
source share
3 answers

The stand-alone IBM WAS server allows you to create multiple profiles on the same server using the profile management tool. This is similar to two IBM installations on the same server.

Windows . , . . , , .

0

, ( WebSphere Application Server V8.5.5) , :

<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="9080" />
<httpEndpoint id="localHostOnly" host="localhost" httpPort="9081" />

<virtualHost id="alice">
     <hostAlias>your_host_name:9080</hostAlias>
</virtualHost>

<virtualHost id="bob">
     <hostAlias>localhost:9081</hostAlias>
</virtualHost>

<application id="App1" location="myApp.ear" name="App1"
type="ear"/>
<application id="App2" location="myApp2.war" name="App2"
type="war"/>

IBM:

DefaultHttpEndpoint 9080, http endpoint id = "localHostOnly" host = "localhost", 9081 .

App1 WAR ibm-web.bnd.xml <virtual-host name="alice"/>, your_host_name: 9080/app1_context_root.

App2 ( WAR) ibm-web-bnd.xml, <virtual-host name="bob"/>, localhost: 9081/app2_context_root.

, , defaultHttpEndpoint 9080, your_host_name: 9080 - , :. 9080/app3_context_root

. APAR: http://www-01.ibm.com/support/docview.wss?uid=swg1PM97514

+1

.

  • WAS .
  • WAS 8 ND . ( " " "..." WAS ND).
  • WAS 8 .
  • , , , - . , .
  • WAS 8 , , , . , .
  • , WAS 8 , , - ( -) ( -), - WAS WAS -.
  • - , - .

:

WAS 8 - . - WAS, - .

0

All Articles