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 IC69964 Status: Closed

LDAP CAN THROW UNHANDLED EXCEPTION WHEN SETTING DB2LDAPHOST USING
DB2SET COMMAND.

product:
DB2 CONNECT / DB2CONNCT / 950 - DB2
Problem description:
LDAP can throw Unhandled  exception when setting DB2LDAPHOST 
using db2set command. 
for example 
db2set DB2LDAPHOST=LDAP Server hostname or IP address:389 
The stack trace of the exception dump contains the call to 
sqloLdapConnect just before throwing exception. 
 
The error can happen only when LDAP is unable to retrieve the 
naming context of LDAP server. 
A naming context or suffix is a DN that identifies the top entry 
in a locally held directory hierarchy. 
 For example naming context cn=schema contains the LDAP 
accessible representation of the schema. 
Even though exception is thrown the LDAPHOST variable is set 
properly which can be verified by issuing 
db2set DB2LDAPHOST command. The exception can cause problem when 
there  unattended installation on windows platform that need to 
be done on many machines and the script is setting DB2LDAPHOST 
variable .
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* earlier fixpack before DB2 V95 fixpack 7                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* LDAP can throw Unhandled  exception when setting DB2LDAPHOST * 
*                                                              * 
* using db2set command.                                        * 
*                                                              * 
* for example                                                  * 
*                                                              * 
* db2set DB2LDAPHOST=LDAP Server hostname or IP address:389    * 
*                                                              * 
* The stack trace of the exception dump contains the call to   * 
*                                                              * 
* sqloLdapConnect just before throwing exception.              * 
*                                                              * 
*                                                              * 
*                                                              * 
* The error can happen only when LDAP is unable to retrieve    * 
* the                                                          * 
* naming context of LDAP server.                               * 
*                                                              * 
* A naming context or suffix is a DN that identifies the top   * 
* entry                                                        * 
* in a locally held directory hierarchy.                       * 
*                                                              * 
* For example naming context cn=schema contains the LDAP       * 
*                                                              * 
* accessible representation of the schema.                     * 
*                                                              * 
* Even though exception is thrown the LDAPHOST variable is set * 
*                                                              * 
* properly which can be verified by issuing                    * 
*                                                              * 
* db2set DB2LDAPHOST command. The exception can cause problem  * 
* when                                                         * 
* there  unattended installation on windows platform that need * 
* to                                                           * 
* be done on many machines and the script is setting           * 
* DB2LDAPHOST                                                  * 
* variable .                                                   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Even though if exception is thrown ,the LDAPHOST variable is * 
* set                                                          * 
* properly which can be verified by issuing db2set DB2LDAPHOST * 
* command. User just need to acknowledge this exception dialog * 
* box.                                                         * 
****************************************************************
Local Fix:
There is no fix in case exception is thrown in db2set 
DB2LDAPHOST command . But even though exception is thrown, the 
LDAPHOST variable is set properly which can be verified by 
issuing db2set DB2LDAPHOST command. Thus the exception doesnot 
limit or hinder the functionality of  db2set DB2LDAPHOST 
command.
available fix packs:
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
fixed in DB2 V9.5 fix pack7
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
15.07.2010
03.01.2011
03.01.2011
Problem solved at the following versions (IBM BugInfos)
9.5.
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.7 FixList
9.5.0.7 FixList