Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-07 Thread Koundinya \(Sudhakar Chavali\)
Thankyou Ingo, this solved my problem. if (manager == null) { manager = new MultiThreadedHttpConnectionManager(); manager.setMaxTotalConnections(30); manager.setMaxConnectionsPerHost(10); } client = new HttpClient(manager); --- Ingo Brunberg [EMAIL

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Ingo Brunberg
First, this is not quite the right list for asking this question. It would have better been asked on the commons-httpclient-dev list. But anyway, your code snippet does not show how you create the HttpClient instance that you use. Be aware that by default you get one that uses the so called

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Koundinya \(Sudhakar Chavali\)
This is how I am getting the Client Instance. org.apache.commons.httpclient.HttpURL url = (org.apache.commons. httpclient.HttpURL) getURL(path + / + user); org.prithvi.docparser.microsoft.msexchange.apache.OwaWebdavResource webDavResourceFile = getWebResource(

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Ingo Brunberg
This is how I am getting the Client Instance. org.apache.commons.httpclient.HttpURL url = (org.apache.commons. httpclient.HttpURL) getURL(path + / + user); org.prithvi.docparser.microsoft.msexchange.apache.OwaWebdavResource webDavResourceFile =