Use MultiThreadHttpConnectionManager
Closed this issue · 0 comments
KoyaContentService.list() method crashed :
2014-05-16 09:58:01,046 WARN [commons.httpclient.SimpleHttpConnectionManager] [http-bio-7070-exec-27] SimpleHttpConnectionManager being used incorrectly. Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time.
2014-05-16 09:58:01,049 ERROR [sd.controllers.ContentBean] [http-bio-7070-exec-26] org.springframework.web.client.ResourceAccessException: I/O error: Bad chunk size: "message" : "04catoScpannip "except-00 focoeps,
"callstack" [
"" ,"org.springframework.extensions.webscripts.WebScrii ce/t ,"org.alfresco.repo.wetCt ,"org.sprinAcrn ,"org.tntbrtirij ,"org.spriv(2 ,"javax.servS ,"oanFit ,"org.apta ,"org.alfrc ,"org.apaAro ,"org.apachehaj: ,"org.apacheioev2 ,"org.apache. ,"ocutt ,"org.apacheitvH ,"org.apache.oj ,"org.apache.. ,"org.apaaa" ,"org.apachya
,"org.cb5 ,"po ,"java.utilr.4 ,"java.utilueeTd ,"javT
],
"ser os "time" : "16 mai }
0
HTTP/. UnhServer: Apache-Coyote/1.1
WWW-Authenticate: Basic realm="Alfresco"
Cache-Control: naExpires: Thu, 01 Jan 1970 00:0:0GPragma: no-cache
ConttTransfer-Encoding: chunkDate: Fri, 16 May 2014 07:58:00 GMT
b8c
{
"status" :
{
"code" : 401,
"name" : "Unauthorized",
"description" : "The request requires HTTP authentication."
},
"mess"8letot "exception" : "org.sprAnd
"callstack
"" ,"ogc08rk ,"org.alfrestttn.v ,"org.sprn.s ,"org.springframework.exnser ,"org.springframework.extwseServa: ,"javax.servlet.http.HttpServlr ,"org.apacr(ni ,"org.apacheinlr. ,"org.alfresaconibLozav ,"org.apache.catalina.oreaoFil24 ,"org.apache.catalin.cpFr(p
ve(dWrpale ,"org.apache.catalina.cor.ae ,"org.apache.Aelv ,"org.apache.catalina(taj ,"org.apache.catalinaoCyoev ,"org.apache.coyote.tcs104 ,"org.apache.coyote.AbtPtdrotocol. ,"org.apache.tomcat.uti.ecs(J ,"java.util.concurrentohePo1 ,"java.util.concurreeha ,"java.lang.Threadr ],
"server" : "Community v4.2.0 (r56674-b4848) schema 6��033",
"time" : "16 mai 2014 09:58:01"
}; nested exception is java.io.IOException: Bad chunk size: "message" : "04catoScpannip "except-00 focoeps,
"callstack" [
"" ,"org.springframework.extensions.webscripts.WebScrii ce/t ,"org.alfresco.repo.wetCt ,"org.sprinAcrn ,"org.tntbrtirij ,"org.spriv(2 ,"javax.servS ,"oanFit ,"org.apta ,"org.alfrc ,"org.apaAro ,"org.apachehaj: ,"org.apacheioev2 ,"org.apache. ,"ocutt ,"org.apacheitvH ,"org.apache.oj ,"org.apache.. ,"org.apaaa" ,"org.apachya
,"org.cb5 ,"po ,"java.utilr.4 ,"java.utilueeTd ,"javT
],
"ser os "time" : "16 mai }
0
HTTP/. UnhServer: Apache-Coyote/1.1
WWW-Authenticate: Basic realm="Alfresco"
Cache-Control: naExpires: Thu, 01 Jan 1970 00:0:0GPragma: no-cache
ConttTransfer-Encoding: chunkDate: Fri, 16 May 2014 07:58:00 GMT
b8c
{
"status" :
{
"code" : 401,
"name" : "Unauthorized",
"description" : "The request requires HTTP authentication."
},
"mess"8letot "exception" : "org.sprAnd
"callstack
"" ,"ogc08rk ,"org.alfrestttn.v ,"org.sprn.s ,"org.springframework.exnser ,"org.springframework.extwseServa: ,"javax.servlet.http.HttpServlr ,"org.apacr(ni ,"org.apacheinlr. ,"org.alfresaconibLozav ,"org.apache.catalina.oreaoFil24 ,"org.apache.catalin.cpFr(p
ve(dWrpale ,"org.apache.catalina.cor.ae ,"org.apache.Aelv ,"org.apache.catalina(taj ,"org.apache.catalinaoCyoev ,"org.apache.coyote.tcs104 ,"org.apache.coyote.AbtPtdrotocol. ,"org.apache.tomcat.uti.ecs(J ,"java.util.concurrentohePo1 ,"java.util.concurreeha ,"java.lang.Threadr ],
"server" : "Community v4.2.0 (r56674-b4848) schema 6��033",
"time" : "16 mai 2014 09:58:01"
}
http://stackoverflow.com/questions/3088568/simplehttpconnectionmanager-being-used-incorrectly