Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6207824

JNDI sending premature ABANDON after connection has closed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.2_06
    • Fix Version/s: 6
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      x86
    • OS:
      windows_xp

      Backports

        Description

        Cu is running Java 1.4.2_xx and is having problems with JNDI connecting to Directory Proxy for certain authentication requests. I have reproduced this problem on Windows and Solaris with Sun 1.4.2 VM and OS X with Apple 1.4.2 VM.

        We have a testcase and it is available at:

        http://lonestar.red.iplanet.com/~maraja/images/cases/testGPLDLogin.java

        javax.naming.CommunicationException: Request: 1 cancelled

        The error we SHOULD receive is:

        Caught exception at initializing Ldap. javax.naming.AuthenticationException: [LDAP: error code 49 - password expired!]

        We see this error when we have the following setup:

        Java JNDI --> Directory Proxy --> Directory

        Here are the steps to reproduce the problem:

        (1)

        Run testGPLDLogin.class with the following:

        java testGPLDLogin 032test 032test

        This should produce:

        Caught exception at initializing Ldap. javax.naming.AuthenticationException: [LDAP: error code 49 - password expired!]

        That is expected.

        (2)

        If log level is low (notice) on the Directory Proxy Server and the Directory Proxy Server is configured to disallow anonymous connections, occasionally, you will see the following:

        javax.naming.CommunicationException: Request: 1cancelled

        When this occurs, the application exits unexpectedly.
        ###@###.### 2004-12-13 20:34:11 GMT

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lyobssunw Lew Yobs (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: