• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF2016: java.lang.IllegalStateException: Cannot create a session after the response has been committed

Community Beginner ,
Jul 20, 2017 Jul 20, 2017

Copy link to clipboard

Copied

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.

Views

653

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 03, 2017 Aug 03, 2017

Copy link to clipboard

Copied

LATEST

Do you have something on that page performing a redirect?  Perhaps something at a higher level attempting to block bots or crawlers?  Pretty sure this is merely an annoyance, where the connection is closed before the content can be returned or the user has been redirected before the thread has been processed.  Either way, unless they are DDoS-ing you, it shouldn't be a cause for concern.

Nic

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation