CF2016: java.lang.IllegalStateException: Cannot create a session after the response has been committed
It appears that Adobe still has not addressed this issue, a year later?
We just upgraded from CF9 to CF2016 on linux and ran into this issue tonight.
A template that serves up a large sitemap with a lot of output created the error when Bingbot hit it tonight. Note that this template does NOTHING with sessions. It queries a datasource and spits out some XML. That's it.
"Error","ajp-nio-8016-exec-1","07/20/17","19:16:17","THECFAPP","Cannot create a session after the response has been committed null
The error occurred on line -1. : The specific sequence of files included or processed is: /sitemaps/sitemap.cfm
Frustrating bug because it doesn't appear to have any solution. It does appear to be a Tomcat related issue.
Apart from the suggestion in the old thread below to turn J2EE session variables off (which I'd rather not resort to), does anyone know of a way to fix this?
Re: java.lang.IllegalStateException: Cannot create a session after the response has been committed
Red hat 7, Apache, CF2016. Everything fully updated and patched.
