Administer HTTP transports for the Web container with the administrative console

Components of WebSphere Application Server - Express uses HTTP transports to communicate with each other. Your application also uses HTTP transports to receive and reply to client requests.

Before you decide which type of transport to use, consider the following limitations of the internal HTTP transports:

You can use the administrative console and wsadmin to configure HTTP transports for your application server.

Use the administrative console to configure HTTP transports

  1. Start the administrative console.
  2. Expand Servers and click Application Servers.
  3. Click the name of your application server.
  4. On the application server's page, click Web Container.
  5. On the Web Container page, click HTTP transports.
  6. Add, modify, or remove an HTTP transport.
  7. Save the application server configuration.

Use wsadmin to configure HTTP transports

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the wsadmin tool:

    cd /QIBM/ProdData/WebASE/ASE5/bin
  3. Start wsadmin.

  4. At the wsadmin prompt, run this command to identify the application server and assign it to the server variable:

    set server [$AdminConfig getid /Cell:myCell/Node:myNode/Server:myAppSvr/]

    where myCell is the name of the cell that contains your application server, myNode is the name of the node that contains your application server, and myAppSvr is the name of your application server.

  5. Run this command to identify the Web container for the application server and assign it to the wc variable:

    set wc [$AdminConfig list WebContainer $server]
  6. Run these commands to list all of the transports that belong to the Web container and assign it to the transports variable:

    set transportsAttr [$AdminConfig showAttribute $wc transports]
    set transports [lindex $transportsAttr 0]

    These commands return the transport objects from the transports attribute in a list format.

  7. Run this command to identify the transport to be modified and assign it to the transport variable:

    set transport [lindex $transports 0]
  8. Run this command to modify the address attribute to change the host and port:

    $AdminConfig modify $transport {{address {{host {myHost}} {port 9081}}}}
  9. Run this command to save your changes:

    $AdminConfig save