Need synchronized access when flushing the LDAP request queue

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7
    • Affects Version/s: 6
    • Component/s: security-libs
    • None
    • b130
    • generic
    • generic
    • Verified

        The LDAP request queue is normally flushed when cleaning up during a socket connection
        shutdown. In multi-threaded JNDI/LDAP applications an IllegalMonitorStateException can
        sometimes be thrown when flushing this queue:

        java.lang.IllegalMonitorStateException
                at java.lang.Object.notify(Native Method)
                at com.sun.jndi.ldap.Connection.cleanup(Connection.java:663)
                at com.sun.jndi.ldap.Connection.run(Connection.java:965)
                at java.lang.Thread.run(Thread.java:732)

              Assignee:
              Vincent Ryan
              Reporter:
              Vincent Ryan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: