Previous Topic: Create a Tomcat Directory Structure for the Web Services ComponentNext Topic: Edit JVM Environment Values Used by Tomcat Server


Edit the Tomcat Configuration File

To enable this instance of Tomcat to communicate with Web Services, you must edit the Tomcat configuration file.

Edit the server.xml file located here: /cai/CADeploy/ESCM/tpv/tomcat/conf. Change the server, connector, and redirect port numbers as necessary for your site. Make sure that you have a unique TCP/IP port number for this instance of the Tomcat server to use for communications. Each program on a LPAR using TCP/IP for communications must have a unique port number.

The server.xml file is ASCII encoded and it needs to stay that way. One method to edit the server.xml file is to use ISPF EDIT. This method is described next.

Follow these steps:

  1. Enter the following command on your ISPF panel: TSO ISH

    The UNIX System Services ISPF Shell panel opens.

  2. Enter the following pathname where server.xml is located and then press Enter: /cai/CADeploy/ESCM/tpv/tomcat/conf/

    A directory list opens.

  3. Enter an E next to server.xml and press Enter.

    The server.xml file opens.

  4. Make your changes to the file and exit the file.

    The file is updated for your site and remains an ASCII encoded file.

Note: If you require an HTTPS implementation of Tomcat, see to How to Configure Tomcat as an HTTPS server.