authenticate problem

2004-06-02 Thread Jing Chen
I have an application that requires authentication. I user a timer to schedule a task that will access the same application through httpClient. I am surprised to see the following statement did pass the authentication: client.getState().setCredentials (null,new UsernamePasswordCredentials());

RE: HttpRecoverableException when using httpClient only in certai n situation

2004-05-05 Thread Jing Chen
nly in certain si tuation Hi Jing, Are you using one instance of HttpClient from multiple threads? If so, makes sure you have a look at <http://jakarta.apache.org/commons/httpclient/threading.html>. If the problems continue please post some sample code and a wire log <http://

HttpRecoverableException when using httpClient only in certain si tuation

2004-05-04 Thread Jing Chen
Hi, I am writing a web application using httpClient to connect to an existing web application. On the main menu, if I click a button, it is going to create a httpClient (and save the httpClient into session), then invoke process1 then process2, and pop up a new window to display the results. Both