Configuring Persistent Connections
You configure the use of persistent connections for HTTP communication on the J2EE Engine in two steps:
...
1. Enable or disable their use.
You do this using the virtual host.

SAP strongly recommends that you always use persistent connections unless the scenario you are running really contradicts with it. It is also acceptable to disable them for debugging purposes in a non-productive environment.
2. If persistent connections are enabled, you have the option of specifying a timeout that controls their lifetime.
You can set a timeout, after which the J2EE Engine running on the dispatcher closes persistent connections. The connection is closed if it stays idle for this timeout period, and the HTTP client did not close it explicitly. The timeout period starts after the last response of the J2EE Engine to the client.
Use the Visual Administrator tool to configure the persistent connections.
...
1. Open the Runtime tab of the HTTP Provider Service running on the server process.
2. Open the Virtual Hosts tab.
3. Select your virtual host from the Hosts list.
4. Open the General tab.
5. Select/deselect Keep Alive enable/disable persistent connections on this virtual host, respectively.
6. To save the changes, choose Save Properties.

You can enable/disable using persistent connections on a virtual host using Telnet. You need to use the HOSTshell command from the HTTP shell commands group on the server. For a detailed description of the HOST command, see HTTP.
...
1. Go to the Properties screen of the HTTP Provider Service running on the dispatcher.
2. Assign value to the KeepAliveTimeout property. It is specified in seconds.
3. To add it to the list of properties, choose Update.
4.
Choose
(Save Properties).