On 2024/06/20 12:18:15 Konstantin Kolinko wrote:
> чт, 20 июн. 2024 г. в 13:25, Francesco Chicchiriccò <ilgro...@apache.org>:
> >
> > Hi there,
> > at Syncope we usually use the latest Tomcat versions to run a large chunk 
> > of our integration tests.
> >
> > In our master branch we relay on Tomcat 10.1.x, and upgrading to 10.1.25 
> > from 10.1.24 went smooth as usual.
> >
> > In our 3_0_X branch we relay on Tomcat 9.0.x; with 9.0.89 everything goes 
> > as expected, but with 9.0.90 we are getting the exception [1].
> >
> > Any idea of what could be changed in 9.0.90 within this regard? Thank you.
> >
> > [1] https://gist.github.com/ilgrosso/be1fb1f2ea205eef60fb221973f87b34
> >
> 
> The "java.lang.IllegalStateException: The request object has been
> recycled and is no longer associated with this facade" message means
> that a Request object has been (illegally) stored and is accessed
> outside of its lifecycle - when the underlying structures and buffers
> have already been recycled and may have been reused to process
> subsequent requests.
> 
> Mark wrote:
> > You could try explicitly setting discardFacades to false.
> 
> In general, not recommended.
> https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html#Connectors
> 
> Calling getScheme() might be safe (as IIRC the info will come from a
> connector configuration), but anything beyond that may lead to either
> false results or to security issues. It would be better to identify
> and fix the underlying cause.

Are you suggesting there is something to fix on Syncope's or CXF's code? Or 
rather on Tomcat?

As I am writing above, we have no issues with Tomcat 9.0.89 nor with Tomcat 
10.1.25.

Regards.

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

Reply via email to