home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 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 FixList
10.5.0.2 FixList