search cancel

What is significance of WebFortpool.TestOnBorrow parameter in arcotafm.properties

book

Article ID: 112367

calendar_today

Updated On:

Products

CA Advanced Authentication CA Strong Authentication CA Risk Authentication

Issue/Introduction

Configuring for a connection pool validation in CA Strong Authentication's AFM component when making every new connection to Webfort. If the TestOnBorrow=True is set then every connection that is borrowed from a pool is tested. 

What is significance of  "WebFortpool.TestOnBorrow"  parameter in AFM ? 

Environment

Arcot Flow Manager server communicating with Webfort server

Strong Authentication

Resolution

TestOnBorrow when set as true via arcotafm.properties, AFM when making a connection with CA Strong Authentication Server will reach out to the CA Strong Authentication Server's connection pool to get a connection. This connection will be tested first, if it fails then the corrupted pool is destroyed and a new connection pool will be created. If the TestOnBorrow is set to false then the connection is not tested . This validation and recreating of a new pool leads to robust tested connections being used but such validation will add to some processing overhead.

 

Additional Information

More information can be found here related to this parameter.

https://commons.apache.org/proper/commons-dbcp/configuration.html