Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: About the HTTP Service
- Next: To configure the HTTP Service access log

## To configure the HTTP Service

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

2. Select the HTTP Service node.

3. 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
   --- | --- | ---
   `bufferSize` | Specifies the size (in bytes) of the buffer to be provided for input streams created by HTTP listeners. | 4096
   `connectionTimeout` | Specifies the number of milliseconds HTTP listeners wait, after accepting a connection, for the request URI line to be presented. | 12000 (12 seconds)
   `maxKeepAliveRequests` | Specifies the maximum number of HTTP requests that can be pipelined until the connection is closed by the server. Set this property to 1 to disable HTTP/1.0 keep-alive, as well as HTTP/1.1 keep-alive and pipelining. | 1000
   `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. | true
   `accessLogBufferSize` | Specifies the size, in bytes, of the buffer where access log calls are stored. If the value is less than 5120, a warning message is issued, and the value is set to 5120. | 32,768 bytes
   `accessLogWriterInterval` | The number of seconds before the log will be written to the disk. The access log is written when the buffer is full or when the interval expires. If the value is 0, then the buffer is always written even if it is not full. This means that each time the server is accessed, the log message is stored directly to the file. | 300 seconds

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

5. Click Save.

6. Stop and restart the Application Server.

##### See Also

- What Is the HTTP Service?

- HTTP Listeners

- To configure the HTTP Service access log

- Previous: About the HTTP Service
- Next: To configure the HTTP Service access log

- © 2010, Oracle Corporation and/or its affiliates