Hi,
We are using commons-httpclient-3.0.jar for one of our yahoo properties. The
application is running on jetty. In production, we are seeing the lock
problems as follows :
btpool0-11554 runnable
btpool0-11597 is waiting on this thread
btpool0-11614 is waiting on this thread
"btpool0-11554" prio=1 tid=0x0000002c0275f7c0 nid=0x4b62 runnable
[0x0000000041f4a000..0x0000000041f4dab0]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
- locked <0x0000002b0835ddf0> (a java.io.BufferedInputStream)
at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
There are many instances of such thread lock areas in the thread dump.
Any pointers/help appreciated.
Regards,
Ruchi