Customers have reported an issue with the TEST function in the Manage JDBC Connection configuration window.
Under specific conditions, the TEST operation hangs in "Testing" for a long time and even when the CANCEL button is pressed, the connection will remain in a busy state.
The issue is caused by the underlying c3p0 connection not timing out in a reasonable time period for cases where connectivity between Gateway and the remote Database are affected by an ongoing issue (for example a Firewall rule not allowing full communication between the two parties).
Release : 10.1
Component : API GATEWAY
Solution is to enforce a timeout via c3p0.checkoutTimeout property.
Property Name (case sensitive): checkoutTimeout
Property Value (milliseconds): 5000
c3p0.checkoutTimeout reference: https://www.mchange.com/projects/c3p0/#checkoutTimeout