hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas <dihedr...@yahoo.de>
Subject Incompatibility httpclient4 & Introscope?
Date Sat, 29 Nov 2008 15:05:22 GMT
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?


Thomas Effing 


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

View raw message