Sun Java System Communications Express 6 2005Q4 Administration Guide

Tuning Communications Express

ProcedureTo enable compression of the server response

Steps
  1. In the uwcconfig.properties file, enable compression of the sever response by setting the uwc.gzip compression parameter value to “true.”

    For example, uwc.gzipcompression = true

  2. Then, restart the Web Server.


    Caution – Caution –

    Maintain a backup of your configuration files before making any changes.


ProcedureTo customize the session time-out for Communications Express

Steps
  1. Edit the web.xml file found in deployed-dir/ WEB-INF directory.

    This xml file contains the xml tag session-config, which has the attribute session-timeout .

    This attribute defines the session time-out in seconds.

  2. Change the value of the session-timeout attribute to the desired value.

    For example, the following defines session-time-out for 10 minutes:


    <session-config\>
        <session-timeout\>600</session-timeout\>
     </session-config\>