On Tue, 2010-05-25 at 16:31 -0400, Brooks, Kenneth S wrote:
> Oleg,
> 
> 22-May-2010:07:56:19.310      scd2ntb215      main    EXCEPTION       
> AbunchOfOurInfo...      ltu068_scd2ntb215_-1c64b48c:128bb71b989:-73d0   
> SYSTEM_EXCEPTION[Error making call[Error executing Remote 
> Method=[addIncentive] for Service Url=[http://mymachine:9810/myurl] 
> Exception=[java.lang.IllegalStateException: Connection already open.
>       at 
> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:135)
>       at 
> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
>       at 
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
>       ....our code here
> ]]]
> com.mycompany.SystemException: Error making call[Error executing Remote 
> Method=[addIncentive] for Service Url=[ http://mymachine:9810/myurl] 
> Exception=[java.lang.IllegalStateException: Connection already open.
>       at 
> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:135)
>       at 
> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
>       at 
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
>       ....our code here
> ------------Wrapped Exception-----------
> com.mycompany.RemoteServiceException: Error executing Remote 
> Method=[addIncentive] for Service Url=[ http://mymachine:9810/myurl] 
> Exception=[java.lang.IllegalStateException: Connection already open.
>       at 
> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:135)
>       at 
> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
>       at 
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
>       at 
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
>       ....our code here
> 
> Can't reproduce it right now because we only saw it a couple of times (during 
> a performance test).
> I do have wire traces on, didn't see anything in there.. 
> But I don't think I have context logging for connection management / request 
> execution turned on.
> I'll see if I can get those on for the next test.
> 
> -ken

Hi Ken

There is likely to be a race condition in the AbstractPoolEntry class,
triggered by a combination of the IdleConnectionMonitorThread and heavy
load. I will be trying to pinpoint it. A connection management / request
execution context log would be very helpful, though.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to