hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Incompatibility httpclient4 & Introscope?
Date Sun, 30 Nov 2008 13:07:45 GMT
thomas wrote:
> We are getting the following stacktrace with httpclient4.0Beta1:
> 
> java.lang.IllegalArgumentException: Socket not created by this factory.
>         at org.apache.http.conn.scheme.PlainSocketFactory.isSecure(PlainSocketFactory.java:153)
>         at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:136)
> 
>         at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
> 
> Although the Socket has been created by PlainSocketFactory it seems Introscope does some
magic and change it to a
> com.wily.introscope.agent.probe.net.ManagedSocket so that we get
> sock.getClass() != Socket.class  .
> 
> 
> Is this strict check really necessary?
> 

No, it does not. Please open a JIRA for this issue and I'll get it fixed.

Oleg


> Regards,
> 
> Thomas Effing 
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message