org.apache.catalina.connector.CoyoteAdapter checkRecycled
信息:Encountered a non-recycled response and recycled it forcedly.
org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:592)
at org.apache.coyote.http11.AbstractHttp11Processor.recycle(AbstractHttp11Processor.java:1814)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.release(Http11NioProtocol.java:218)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:703)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1753)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1712)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
写服务器的时候在本地测试没有问题,但是发布后,请求出现这样的问题,服务器结果出来了,但是客服端一直没有响应,仔细看错误: Encountered a non-recycled response and recycled it forcedly.(百度翻译:遇到不可回收的反应并强制回收),
所以检查了我服务器使用response的地方,问题出在:客服端向服务器发送请求,然后服务器可能又向另一个服务器发送请求,这时用到了两个response,问题就在这里,我也不知道啥错误,就改改就行了。