Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Tune Connection Testing


In some failure modes, testing dead connections can impose long delays in reestablishing connectivity. You may be able to improve performance by tuning how a data source tests connections. For more information, see Configuring JDBC Data Sources.

To tune connection testing:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the Domain Structure tree, expand Services, then select Data Sources.
  3. On the Summary of Data Sources page, click the data source name.
  4. Select the Configuration: Connection Pool tab.
  5. Scroll down and click Advanced to show the advanced connection pool options.
  6. Configure the following attributes:
    • Enable Test Connections On Reserve - Enables WebLogic Server to test a connection before giving it to a client.
    • Count of Test Failures Till Flush - Specifies the number of test failures allowed before WebLogic Server closes all connections in a connection pool. The default value is 2. You may need to increase this value for slow running applications and/or an environment with network or firewall issues.
    • Connection Count of Refresh Failures Till Disable - Specifies the number of test failures allowed before WebLogic Server disables the connection pool. The default value is 2. You may need to increase this value for slow running applications and/or an environment with network or firewall issues.
  7. Click Save.
  8. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Back to Top