Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

ProcedureTo configure the HTTP Service

  1. In the tree component, expand the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, select the instance’s config node. For example, for the default instance, server, select the server-config node.

    • To configure the default settings for future instances that use a copy of default-config, select the default-config node.

  3. Select the HTTP Service node.

  4. On the HTTP Service page, you can set properties that apply to all of the service’s HTTP listeners.

    The following table lists these properties.

    Property Name  

    Description  

    Default Value  

    traceEnabled

    If set to true, enables the TRACE operation. Set this property to false to make the Application Server less susceptible to cross-site scripting attacks. 

    false 

    monitoringCacheEnabled

    If set to true, the Application Server caches local values of the statistics of the HTTP Service to answer statistics queries. This value improves performance. 

    If set to false, the Application Server queries the HTTP Service for each statistics value. 

    true 

    monitoringCacheRefreshInMillis

    Specifies the time interval, in milliseconds, after which the monitoring cache is refreshed. 

    5000 

    sslCacheEntries

    Specifies the number of SSL sessions that can be cached. There is no upper limit. 

    10000 

    sslSessionTimeout

    Specifies the number of seconds before an SSL2 session times out. 

    100 

    ssl3SessionTimeout

    Specifies the number of seconds before an SSL3 session times out. 

    86400 

    sslClientAuthDataLimit

    Specifies the maximum amount of application data, in bytes, that is buffered during the client certificate handshake phase. 

    1048576 

    sslClientAuthTimeout

    Specifies the number of seconds before the client certificate handshake phase times out. 

    60 

    keepAliveQueryMeanTime

    Specifies the desired keep-alive latency (in milliseconds). 

    100 

    keepAliveQueryMaxSleepTime

    Specifies the upper limit to the time slept (in milliseconds) after polling keep-alive connections for further requests. 

    100 

    stackSize

    Specifies the maximum stack size of the native thread. 

    OS/Machine dependent 

    statsProfilingEnabled

    If set to false, disables the recording of monitoring statistics by the HTTP Service, which improves performance. If this property is set to false, enabling monitoring for the HTTP service has no effect. 

    true 

    chunkedRequestBufferSize

    Specifies the default buffer size, in bytes, for unchunking request data. 

    8192 

    chunkedRequestTimeoutSeconds

    Specifies the default timeout (in seconds) for unchunking request data. 

    60 

    dnsCacheEnabled

    If set to true, allows the user to monitor statistics related to DNS caching. This property takes effect only if the DNS Lookup box on the HTTP Protocol tab is selected. Otherwise, the property setting is ignored. 

    false 

  5. Click the Access Log tab to configure access log rotation.

    Click the other tabs to configure request processing, the Keep-Alive subsystem, the connection pool, the HTTP protocol, and the HTTP file cache.

  6. Click Save.