That didn't help. We changed to
private HttpClient client = new HttpClient(new
SimpleHttpConnectionManager());
But we still see the same behavior.
Turning on the debug logs shows messages like
$ fgrep 'Connection is locked. Call to releaseConnection() ignored.'
server.log | wc -l
The lock is most likely a threading issue...for that you must use the
threaded connection manager rather than the simple connection manager.
But, again - you may still exhaust all file handles because of o/s
settings.
...Pete
Starbucks Coffee Co.
2601 Utah Ave S.
Seattle, WA. 98134
(w)
Hi There,
This is my first post here so I hope this is the right audience.
My story: I want to replace a chunk of my code for doing I/O streaming to a
webservice. I use java.net.HttpURLConnection to get the InputStream and
OutputStream, it works fine most of the time but it can get a bit flaky
On Fri, 2008-06-27 at 00:19 -0400, RM1X wrote:
Hi everyone,
Got all of the HttpClient+core downloads, linked them up in the Eclipse
project properties, and unfortunately when trying to run the HttpClient
I get:
Exception in thread main java.lang.NoClassDefFoundError:
All of our connections are to the exact same host - in fact, the sending and
receiving processes are on the same actual server. The same dns name is used
for each request (we use the dns name of the machine, not the string
localhost).
We'll try the multithreaded connection manager next. (I
Hmm. How come my message didn't show up after 2 hours..?
On Fri, Jun 27, 2008 at 10:43 AM, Yan aka. Yansheng [EMAIL PROTECTED]
wrote:
Hi There,
This is my first post here so I hope this is the right audience.
My story: I want to replace a chunk of my code for doing I/O streaming to a
On Fri, 2008-06-27 at 11:25 -0700, Ken DeLong wrote:
All of our connections are to the exact same host - in fact, the sending and
receiving processes are on the same actual server. The same dns name is used
for each request (we use the dns name of the machine, not the string
localhost).
On Fri, 2008-06-27 at 10:43 -0700, Yan aka. Yansheng wrote:
Hi There,
This is my first post here so I hope this is the right audience.
My story: I want to replace a chunk of my code for doing I/O streaming to a
webservice. I use java.net.HttpURLConnection to get the InputStream and
I am using AuthSSLProtocolSocketFactory as I need to sent my client
certificate when talking to server. I do this with the following code:
Protocol authhttps = new Protocol(https,
(ProtocolSocketFactory) new AuthSSLProtocolSocketFactory(
new URL(file:///path/to/keystore),
Not an httpclient issue. This is a not-yet-common-ssl issue. What
version of not-yet-commons-ssl are you on?
yours,
Julius
On Fri, Jun 27, 2008 at 4:25 PM, Alessandro Vernet [EMAIL PROTECTED] wrote:
I am using AuthSSLProtocolSocketFactory as I need to sent my client
certificate when
Julius,
juliusdavies wrote:
Not an httpclient issue. This is a not-yet-common-ssl issue. What
version of not-yet-commons-ssl are you on?
Right, I am using the not-yet-commons-ssl jar. I have version 0.3.10.
Alex
-
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
11 matches
Mail list logo