tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Update of "FAQ/Troubleshooting_and_Diagnostics" by KonstantinKolinko
Date Mon, 02 Oct 2017 15:02:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "FAQ/Troubleshooting_and_Diagnostics" page has been changed by KonstantinKolinko:

Add a section on RECYCLE_FACADES

    *  A good place for a breakpoint is `org.apache.catalina.connector.CoyoteAdapter.service()`
method. That is the entry point from Tomcat connectors and into the Servlet engine. At that
place your request has already been received and its processing starts.
+ == Troubleshooting Response State Problems ==
+ If you encounter problems that manifest themselves as accessing a request / response that
is an inconsistent state. 
+ E.g. [[|61289]], [[|58457]]
+ The main suspect is your own web application keeping a reference to Request / Response objects
outside of their life cycle.
+  1. Set the following [[|system
property]] in Tomcat configuration:
+     {{{org.apache.catalina.connector.RECYCLE_FACADES=true}}}
+  This flag instructs Tomcat to recycle facades to its internal objects, so that it is easier
to spot illegal access when it happens, instead of waiting until internal state of referenced
object becomes corrupted from concurrent access.
+  2. Read about [[FAQ/KnownIssues#ImageIOIssues|Java ImageIO]] issue.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message