List Info

Thread: stopTLS() issue...




stopTLS() issue...
user name
2006-05-04 18:18:13
In the continuing saga of my Bind performance test
development, I am
trying to get SSL and TLS working.  I have SSL working
without issues
(so it seems) and TLS works if I go slow enough (like when
stepping
through with the debugger), but when I get my test running
for 60
seconds, I am  getting errors when I call stopTLS().  The
error string
is generated by calling toString() on the LDAPException:

     LDAPException: Reader thread terminated (91) Connect
Error

a couple of times I also see:

     java.net.SocketException: Socket closed

but I don't know if it is part of the same Reader thread
terminated
error or something else.  The test itself loops for the
specified
duration and performs the following steps:

- Create new LDAPConnection()
- connect()
- startTLS()
- bind()
- stopTLS()
- disconnnect()

Out of 645 iterations, 240 or so fail when calling
stopTLS().  Any idea
what I am doing wrong?  I'm using the JLDAP sdk dated
2006.02.20.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )