Previous Topic

Next Topic

Book Contents

Book Index

Customize Tomcat to use a Different Port

If you are setting up the lmsRelayer on an Oracle server or you have another application using Port 8080, follow the procedure below to change the port that Tomcat uses.

  1. Open Windows Explorer, navigate to the server.xml file located in <TOMCAT HOME>\conf\server.xml, and open the server.xml file in Windows Notepad.
  2. Locate the following section:

    <!--Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -->

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" />

  3. In this section of the .xml file, change the port="8080" value to a port not being used by any other application on your server.
  4. Save and close the server.xml file.
  5. Restart Tomcat to apply these changes.
  6. Verify that your Tomcat installation was successful. Open a browser and enter the following URL:

    http://localhost:<Tomcat port number>/admin

  7. A login page should appear where you may enter your Tomcat administrator username and password. If this page does not appear or you fail to log in then, Tomcat is NOT installed correctly. Do not proceed. Contact your Technical Support.

Note: If you change the port that Tomcat uses from the default, 8080, you must modify the commands described in various sections of this document to match the port that Tomcat is using on your server. Substitute the value of localhost:8080 with the port that you set in the server.xml file.