Specify How Active Sessions are Validated
To minimize session timeouts, you can specify how active sessions are validated.
To minimize session timeouts
In connector.xml, set the following properties:
testOnBorrow = false
testWhileIdle= true
This solution is less expensive in terms of API calls than specifying that a session is validated every time it is borrowed from the pool, and can resolve the issue.
In connector.xml, set the following properties:
testOnBorrow = true
testWhileIdle= false
Note: We recommend that you do not set both properties to true, as this increases the number of API calls.
Note: For more information about customizing the connector.xml file, see the Java Connector Server Implementation Guide.
| Copyright © 2010 CA. All rights reserved. | Email CA about this topic |