Previous Topic: Installation Packages Required for the Web ConsoleNext Topic: Deploying a Standalone Web Console


Tomcat Port Configuration for Web Console

It may be the case that one or all of the default Tomcat ports are already used by other CA Technologies applications already installed on the computer. The Web Console installer checks for ports that are already in use and automatically allocates new port numbers appropriately.

The applications using the clashing port numbers must be running at the time of installation in order for them to be detected. If they are not running, manual steps need to be taken post-install to resolve the port number clashes. Different applications that try to use the same port numbers may fail to start. Typically the first one to start will succeed and subsequent applications will fail.

To change the port numbers that the Web Console uses

  1. Stop the Web Console instance of Tomcat, if it is running, by opening a command console and typing:
    caf stop tomcat
    
  2. Open the server.xml file in a text editor.

    The file should contain entries that look something like this:

    <Server port="8095" shutdown="SHUTDOWN" debug="0">
    
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
        port="8090" minProcessors="5" maxProcessors="75"
        enableLookups="true" redirectPort="8443"
        acceptCount="100" debug="0" connectionTimeout="20000"
        useURIValidationHack="false" disableUploadTimeout="true" />
    
  3. Modify the port numbers nnnn in the port=”nnnn” assignments (there are two of them in the example above) to available free ports.
  4. Save the file and exit the text editor.
  5. Start the Web Console instance of Tomcat by opening a command console and typing:
    caf start tomcat
    

If you are unsure of what port numbers may be being used by other applications try incrementing all the port numbers by 1. Then start the applications, and if you still have problems repeat the above process.