Configure the Tomcat service

Once Tomcat is installed, you need to make some changes to its server.xml file.

To configure the Tomcat service:

  1. Browse to the %TomcatDir%\conf in directory. For example:
    • In Windows:
      C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf
    • In Linux:
      /opt/tomcat6/conf
  2. Open the server.xml file using a text editor.
  3. Edit the server.xml file as follows:
    1. Verify that the Connector port is set to the unused port you specified when you installed Tomcat (for example, port 80).
    2. Set the connectionTimeout attribute to 120000.
    3. Add the disableUploadTimeout attribute and set it to true.
    For example:
    <Connector port="80" protocol="HTTP/1.1" 
    	connectionTimeout="120000" 
    	redirectPort="8443"
    	disableUploadTimeout="true"/>
  4. Save and close server.xml.