IBM Support

LI72829: The retry mechanism in SQLDRIVERCONNECT for trusted connection causes Windows services to hang.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using trusted connection, SQLDriverConnect with no prompt (
    fDriverCompletionIn = 0 or SQL_DRIVER_NOPROMPT) will retry
    the connect with prompt if the first connection without
    userid/password fails with -30082 error. Because of this, CLI
    will dispaly the dialog box for userid/password. This retry
    mechanism is proper for regular Windows application. However, if
    the application is a Windows service that runs as a daemon
    process, the dialog box will never get displayed and the user
    will have no way to enter the userid/password so that DB2 CLI
    will continue retrying the connect. In results, the Windows
    service process will hang.
    

Local fix

Problem summary

  • User affected: CLI users
    Problem description:
    The retry mechanism in SQLDRIVERCONNECT for trusted connection
    causes Windows services to hang.
    Problem Summary: see details in ERROR DESCRIPTION
    

Problem conclusion

  • Problem was first fixed in Version 9.10 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI72829

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-11

  • Closed date

    2009-03-12

  • Last modified date

    2010-12-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    LI73176

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 October 2021