Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Connection-Timeout on a datasource, what does it signify?

We have been trying to configure some of the parameters to the datasource. One of them is the expiration policy. This includes the cleanup thread interval in seconds and a Connection-Timeout in seconds. I can understand the cleanup thread interval. However what exactly does the Connection-Timeout signify?

Is it the maximum amount of time the connection can be present in the pool after which it is closed? If so, consider a case where the connection is in use by the application when this connection-timeout value is reached. Will the server terminate this in-use connection because of the connection-timeout?

Former Member

I assume you're talking about "Connection Lifetime?" I believe it is the time the connection will be sustained after its last use. If it's 60 seconds, then the connection will close if it's been idle for 60 seconds. That way you don't have connections open that aren't being used.

Check this link:

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question