ODP.NET Leaks Connections When Connection.Dispose is Called Within the TransactionCompleted() event of System.Transaction (Doc ID 1168604.1)

Last updated on APRIL 22, 2013

Applies to:

Oracle Data Provider for .NET - Version 11.1.0.7.0 to 11.2.0.1
Information in this document applies to any platform.

Symptoms

The problem occurs when calling connection.Dispose() inside TransactionCompleted() event of System.Transaction.
The dispose is not being handled correctly and therefore the connection is not released back to the pool.
The client application gets connection timeout exception (ie ODP-1000) as a result when all connections have been exhausted.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms