google-code-export / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
1 stars 1 forks source link

upgrade from HttpClient 3.1 to HttpClient 4.0 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Patch attached.

Original issue reported on code.google.com by sean%sea...@gtempaccount.com on 21 Oct 2009 at 5:25

Attachments:

GoogleCodeExporter commented 9 years ago

Do you need any help applying the patch to Typica?   I would be happy to assist.

Original comment by sean%sea...@gtempaccount.com on 15 Feb 2010 at 8:53

GoogleCodeExporter commented 9 years ago
OK, finally getting to this!

Original comment by dkavan...@gmail.com on 24 Mar 2010 at 12:49

GoogleCodeExporter commented 9 years ago
This touches a lot of stuff. Going to take some time.

Original comment by dkavan...@gmail.com on 24 Mar 2010 at 4:42

GoogleCodeExporter commented 9 years ago
All the code has been touched. Getting this error. I'm posting here, incase 
someone's 
seen it before I get my answer on my own.

     [java] Exception in thread "main" java.lang.ClassCastException: java.lang.Integer 
cannot be cast to org.apache.http.conn.params.ConnPerRoute
     [java]     at 
org.apache.http.conn.params.ConnManagerParams.getMaxConnectionsPerRoute(Con
nManagerParams.java:117)
     [java]     at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute.newRouteSpecificPool(ConnPoolBy
Route.java:142)
     [java]     at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getRoutePool(ConnPoolByRoute.ja
va:180)
     [java]     at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getEntryBlocking(ConnPoolByRout
e.java:270)
     [java]     at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute$1.getPoolEntry(ConnPoolByRoute.
java:228)
     [java]     at 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1.getConnection(Th
readSafeClientConnManager.java:172)
     [java]     at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirecto
r.ja
va:390)
     [java]     at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:6
41)
     [java]     at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:5
76)
     [java]     at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:5
54)
     [java]     at 
com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnec
tion.java:463)

Original comment by dkavan...@gmail.com on 25 Mar 2010 at 2:06

GoogleCodeExporter commented 9 years ago
OK, I got this thing. I've sorted out the HttpPost issues with HttpClient 4. 
It's commited 
in SVN r318

Original comment by dkavan...@gmail.com on 25 Mar 2010 at 5:53