DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23352>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23352

LDAP Connection not closed correctly

           Summary: LDAP Connection not closed correctly
           Product: JMeter
           Version: 1.9.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the source file LDAPClient.java the dircontext is set to NULL as a way to
close the connection. This is not the correct way to close it.

dirContext.close(); should preceed dirContext=null.

Also note that a connection pool would be nice. Otherwise make an explicit LDAP
transaction (open with reuse connection option and close).
This would make it more general for real testing: when doing a real test the
test client now swaps the servers with connects but what if you want to test the
query speed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to