Closed VsevolodGolovanov closed 4 months ago
@VsevolodGolovanov Can you create a PR for the suggested changes?
I prepped a PR for 4.0.
Feel free to backport for 2.3.
I don't know if someone can help... AFAYK:
Does this also apply to Tomcat?
Can this create a race condition with ajax requests backed by ViewScoped beans?
I'm experiencing some very strange hanging threads on POST (ajax) requests on Tomcat with no visible UI error and no exceptions on the server log.
Mojarra synchronizes on the session object in some places, but at least Undertow 2.0.15.Final returns a different instance (wrapper) from
HttpServletRequest#getSession
for every request in the same session. A simple text search of "synchronized (ses" in mojarra-2.3.21-RELEASE sources yields:This is issue is a follow up to this.