You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sean Dawson <se...@gmail.com> on 2015/01/14 21:06:12 UTC

Catalina INFO: Encountered a non-recycled request and recycled it forcedly

I'm seeing this...

Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter
checkRecycled
INFO: Encountered a non-recycled request and recycled it forcedly.
org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
 at
org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:590)
 at
org.apache.coyote.http11.AbstractHttp11Processor.recycle(AbstractHttp11Processor.java:1792)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.release(Http11AprProtocol.java:245)
 at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:694)
 at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
 at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:745)

which looks similar to...

https://issues.apache.org/bugzilla/show_bug.cgi?id=57011

The thing is, I'm using 7.0.57 (on Windows64).

Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sean,

On 1/14/15 3:06 PM, Sean Dawson wrote:
> I'm seeing this...
> 
> Jan 14, 2015 2:56:32 PM
> org.apache.catalina.connector.CoyoteAdapter checkRecycled INFO:
> Encountered a non-recycled request and recycled it forcedly. 
> org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
>
> 
at
> org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:590)
>
> 
at
> org.apache.coyote.http11.AbstractHttp11Processor.recycle(AbstractHttp11Processor.java:1792)
>
> 
at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.release(Http11AprProtocol.java:245)
>
> 
at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:694)
>
> 
at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
>
> 
at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
>
> 
at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> 
at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> 
at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>
> 
at java.lang.Thread.run(Thread.java:745)
> 
> which looks similar to...
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=57011
> 
> The thing is, I'm using 7.0.57 (on Windows64).

Interesting. Are you using servlet async?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUts7OAAoJEBzwKT+lPKRYANMP/31Sg7xmrg0t3UPeTQ2FCd80
XEjgaZNWSPZujLpLLoi9t3VRZIhAsccZCU58wzu46pyCNhA39+ypaJ/TX+ib+xxv
ihs9MY9S7k8KzZgQLWeLtdwr/ZYap4hxx9khJWFgOW/OaxEHkz6XoWfEDcWzG7zr
Ws2bwcNOxGyo/iJHIHOdD6+64mzR4gK2u+kXwZG9Am1X4hj+yj5QmhSlCqDOgAkm
RcW/3ejEwxruBQsx3IiEXqUTxJZu+9MaRnnXGd3rDlXiVeL30lckXEbvduP2lkDq
u2OOMrYCNBjTSAX4/RCz+hBGCsGUC+jstV1rBrWFaCD9pDkeeYUfic2S7SNRITqZ
JtsZYNxPOc/WBJk8CQ74Vryris1/yeBIik2kFF6FSWP6lfk12/OoPlt3RH/4ljwJ
Ad4P5mDK1hqW36kToMBdefIkZlLJ3+xC7hdo0cyImLh1BarHuNKMdU2UQm7/FkOf
FwT0Ij7nsoV9NkaLoioAN9kgmFe58vb84/NRU3/FZlVcIIAK+OMe2NWrj/dwgym+
lgjzCYdOLeFVAIA7pYiUdbN5/WGP2N5iQlUPSBTZ179YE8d2Ve2/MiobbhGFYYDU
8XrQB89VbnEHS+9n4pVMlyXs+uWNlYDDjhy+W4GNSK8mpWaSG+wOK6dNe02l4Qyj
GcUlneyHpdwzRqVV7hgs
=sLQt
-----END PGP SIGNATURE-----

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


Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

Posted by Sean Dawson <se...@gmail.com>.
I am - could try to simplify up a testcase and see if it always happens.

Thanks.


On Wed, Jan 14, 2015 at 3:40 PM, Mark Thomas <ma...@apache.org> wrote:

> On 14/01/2015 20:06, Sean Dawson wrote:
> > I'm seeing this...
> >
> > Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter
> > checkRecycled
> > INFO: Encountered a non-recycled request and recycled it forcedly.
> > org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
> >  at
> >
> org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:590)
> >  at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.recycle(AbstractHttp11Processor.java:1792)
> >  at
> >
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.release(Http11AprProtocol.java:245)
> >  at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:694)
> >  at
> >
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
> >  at
> >
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
> >  at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >  at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >  at
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> >  at java.lang.Thread.run(Thread.java:745)
> >
> > which looks similar to...
> >
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=57011
> >
> > The thing is, I'm using 7.0.57 (on Windows64).
>
> There are lots of edge cases in the connector code, particularly around
> async so I'm not entirely surprised you have found one that isn't
> handled correctly.
>
> Are you able to reproduce this reliably? If yes, it should be a
> relatively easy fix.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Catalina INFO: Encountered a non-recycled request and recycled it forcedly

Posted by Mark Thomas <ma...@apache.org>.
On 14/01/2015 20:06, Sean Dawson wrote:
> I'm seeing this...
> 
> Jan 14, 2015 2:56:32 PM org.apache.catalina.connector.CoyoteAdapter
> checkRecycled
> INFO: Encountered a non-recycled request and recycled it forcedly.
> org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
>  at
> org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:590)
>  at
> org.apache.coyote.http11.AbstractHttp11Processor.recycle(AbstractHttp11Processor.java:1792)
>  at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.release(Http11AprProtocol.java:245)
>  at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:694)
>  at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
>  at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
>  at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745)
> 
> which looks similar to...
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=57011
> 
> The thing is, I'm using 7.0.57 (on Windows64).

There are lots of edge cases in the connector code, particularly around
async so I'm not entirely surprised you have found one that isn't
handled correctly.

Are you able to reproduce this reliably? If yes, it should be a
relatively easy fix.

Mark

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