Changing the port for OM Web Viewer 12.1 running Tomcat
search cancel

Changing the port for OM Web Viewer 12.1 running Tomcat

book

Article ID: 9421

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

If  Web Viewer 12.1 does not come up after the initial install, check to see if the Web Viewer default port of 8080 is already in use. Here is how to change the listening port for Web Viewer if the port is already in use or for any other reason.

Environment

Output Management Web Viewer 12.1
Apache Tomcat®

Resolution

The port must be changed in Tomcat. Tomcat by default runs on port number 8080.

  1. Find the file server.xml under TOMCAT_HOME/conf/ and edit it in ASCII mode. Modify the path according to your environment.

    For example, in Windows, it will be here, for example:
    C:\Program Files\CA\CA_OM_Web_Viewer\apache-tomcat-9.0.44\conf

    in USS it might be:
    /a/youruserid/tomcat/apache-tomcat-9.0.44/conf/server.xml

  2. To change the port number, find the following string in the server.xml file and change the setting to the port you want to use.
    <Connector port="8080"
    NOTE: The string 8080 may be different if you specified another port during the installation.
  3. Save
  4. Start Tomcat