Hi!

As you all might have seen I'm having difficulty with SSL connections that
simply hangs.

Version info etc..
*  I use soap nightly build from 2003-05-06 
    (this was introduced in the hope that the 
     added ssl connect timeout support might solve the problem)
*  Furthermore I use J2sdk version 1.4.1_02
*  I set the timeout using SOAPHTTPConnection.setTimeout to one hour.
*  I use SSL with both client and server certificate

As I have caught the situation in a debugger I have seen the following stack
trace:
  SSLUtils.buildSSLSocket calls SSLSocketImpl.startHandShake()
 
If I set the timeout to on millisecond I don't get any timout from the
connection, i.e.  SSLUtils.buildSSLSocket works
 but I get a read timeout later on.
Perhaps I can't set it as low as 1 millisecond, i.e. sun might have some
lower boundry for the value but I have neither
 code nor javadoc (at least not for SSLSocketImpl) for this.

Does anyone have any suggestions ?
 - can I get hold of the sun code for further debugging (not part of source
for j2sdk)


Leif Nilsson
Software Engineer

TAC AB
Jägershillgatan 18
SE-213 75 Malmö, Sweden
Direct  +46 40 38 69 56
Fax     +46 40 21 82 87
Mobile  +46 70 299 89 56
www.tac-global.com

This email is intended only for the use of the individual or entity to whom
it is addressed. It may contain information that is privileged, confidential
or otherwise protected from disclosure under applicable law. If you have
received this transmission in error, please delete it immediately and notify
me by mailing me.


Reply via email to