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 out: connect:could 
be due to invalid address" which is expected but then when I again start the 
HttpServer on subsequent requests I get 404 as the response code. And the 
things return to normal only after I restart the WebSphere Portal Server(WPS). 
I am making a singleton HttpClient object (created using 
MultiThreadedHttpConnectionManager). Then using GetMethod adding 4 parameters 
(parameter1, parameter2, parameter3, parameter4) and finally calling 
executeMethod. I have represented my URL as https://URLHOST/servlet/SERVLETNAME 
here. 
Also note that connectionTimeout is not set.
What I have noticed looking at wire logs is that the JSESSIONID remains same 
for each request until WPS is restarted. Also once the HttpServer goes down and 
a request is sent, in subsequent requests the redirection is to a different 
resource (read 'jsp'). 
Any inputs will be of great help as I have run out of ideas on what else I can 
try. If logs are required please let me know.
Regards,
Gagneet


      Why delete messages? Unlimited storage is just a click away. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

Reply via email to