DB2 - Problem description
Problem IC88622 | Status: Closed |
IBM.DATA.DB2 CAN THROW A SYSTEM.INDEXOUTOFRANGEEXCEPTION OR SYST EM.INVALIDOPERATIONEXCEPTION WHEN ESTABLISHING CONNECTIONS | |
product: | |
DB2 CONNECT / DB2CONNCT / A10 - DB2 | |
Problem description: | |
IBM.Data.DB2 can throw a System.IndexOutOfRangeException or System.InvalidOperationException when establishing a high # of connections at once with a high # of threads running in parallel. System.InvalidOperationException Stack: EX_1: Thread 26 Collection was modified; enumeration operation may not execute. at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext( ) at System.Data.Common.DbConnectionStringBuilder.get_ConnectionStrin g() at IBM.Data.DB2.DB2Permission.Add(String connectionString, String restrictions, KeyRestrictionBehavior behavior) at IBM.Data.DB2.DB2Connection.Open() at TransHang.SysSelect(Int32 threadn, String txtype) System.IndexOutOfRangeException Stack: EX_1: Thread 27 Index was outside the bounds of the array. at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext( ) at System.Data.Common.DbConnectionStringBuilder.get_ConnectionStrin g() at IBM.Data.DB2.DB2Permission.Add(String connectionString, String restrictions, KeyRestrictionBehavior behavior) at IBM.Data.DB2.DB2Connection.Open() at TransHang.SysSelect(Int32 threadn, String txtype) | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.1 Fix Pack 2 * **************************************************************** | |
Local Fix: | |
You may set "SkipSynonymProcessing" connection string/db2dsdriver.cfg keyword to "true". The same can be achieved by setting "DB2ConnectionStringBuilder.SkipSynonymProcessing=true", if you use DB2ConnectionStringBuilder class to build the connection string. | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in Version 10.1 Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.11.2012 31.12.2012 31.12.2012 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.2 | |
10.5.0.2 |