I should have posted before: I have now solved it and must apologise for my stupidity.

Yes the VMs were the same, but I was wrong when I said the classpaths were identical. The order was very slightly different, which is why it appeared to work only in netbeans. I hope you'll agree they were very strange symptoms to get from a different ordering, and I still dont know which particular libraries were offending without an exhaustive search, but all is now well.

Many thanks to all for inciting the critical thought process, HTTP Client is immaculate, how could I have thought otherwise :)

T

On 26 Jan 2006, at 14:35, Steven Terrell wrote:

Are you sure the java VM you're using in netbeans is exactly the same java
VM you're using outside of netbeans?

--Steve

-----Original Message-----
From: Tim Putnam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006 4:49 PM
To: HttpClient User Discussion
Subject: Re: Multi threaded manager windows vs linux

Thankyou for raising the question, and you are right it is something
to do with SSL.

I discovered after playing around I get the error when I launch from
outside my development environment (netbeans). Logging from SSL shows:

pool-1-thread-74, WRITE: TLSv1 Handshake, length = 105
Finalizer, called close()
Finalizer, called closeInternal(true)
Finalizer, SEND TLSv1 ALERT:  warning, description = close_notify
Finalizer, WRITE: TLSv1 Alert, length = 18
Finalizer, Exception sending alert: java.net.SocketException: Socket
closed
Finalizer, called close()
Finalizer, called closeInternal(true)

this kind of thing happening often, and rehandshaking occurs. When I
run from netbeans, this never happens.

Does anyone have any idea why? I dont see how the environment can be
so different? Perhaps I'm now on the wrong mailing list though.

Thanks,
Tim
On 25 Jan 2006, at 19:39, Roland Weber wrote:

Hi Tim,

here is a short and incomplete list of JSSE providers you could try:
http://wiki.apache.org/jakarta-httpclient/AlternativeJSSE

Have you tried to run your application on a JDK 1.4.2 to see whether
that makes a difference? Alternative JDKs (blackdown, IBM)?

I would suspect a problem in the SSL implementation on Linux.

cheers,
  Roland

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



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

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



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

Reply via email to