I am trying to make a post but could not.

2008-03-19 Thread gagneet chadha
When I post a query I get the following response. Remote host said: 552 spam score (5.0) exceeded threshold [BODY] Please help.. This is the first time I am posting a query here. Why delete messages? Unlimited storage is just a click away. Go to

Problem sending request using HttpClient when the server receiving request goes down and is started again.

2008-03-19 Thread gagneet chadha
Hi All, I am facing a problem using HttpClient (version 3.0-rc3) while sending a request(from WebSphere Portal Server 5.1.1.10 which is using JDK1.4.2) to a HttpServer. When the HttpServer is up then there is no problem as such. When I stop that server and make a request I get Operation timed

Trouble shooting informational status

2008-03-19 Thread Thierry Boileau
Hello all, After some tests, I noticed that the HttpClient hangs in the case the server sends a response with informational status and at the same time does not support persistent connections. I recognize that this case is quite unusual or unpractical however it leads to block the client. I

Re: How could cause connection reset

2008-03-19 Thread Oleg Kalnichevski
On Tue, 2008-03-18 at 08:56 +0800, hjw wrote: Oleg Kalnichevski , I am sending a new HTTP request every second and then get the response.butusually connection reset after between 400 and 500 times,and some can over 1000 times. Raymond, Connection resets can happen due to various

Re: SSL Site

2008-03-19 Thread Oleg Kalnichevski
On Mon, 2008-03-17 at 22:19 -0700, Ravichan wrote: Hi .. I followed your steps . I have downloaded the certificate and stored as DER in local. Then I tried to execute the following command. keytool -keystore C:\Program Files\Java\jdk1.6.0\jre\lib\security\cacerts -import -alias

Re: Use variation on StrictSSLProtocolSocketFactory to check for server certs that are about to expire?

2008-03-19 Thread Oleg Kalnichevski
On Tue, 2008-03-18 at 08:29 -0700, Karr, David wrote: Has anyone ever implemented a variation on StrictSSLProtocolSocketFactory that could log an event if a server cert has an expiration date within a certain margin from the current date? If someone were to implement this, would this be the

Re: Trouble shooting informational status

2008-03-19 Thread Oleg Kalnichevski
On Wed, 2008-03-19 at 14:31 +0100, Thierry Boileau wrote: Hello all, After some tests, I noticed that the HttpClient hangs in the case the server sends a response with informational status and at the same time does not support persistent connections. I recognize that this case is quite

The abort operation is close the socket

2008-03-19 Thread hjw
Hi,all: I find HttpMethod#abort() will close socket, but I only want to interrupt the IO operation which is using the network. My case is that some important message must post at once when data I get from the same site is match some condition.So , I need to interrupt the IO operation and let