CABI Server showing errors and excessive logging

Document ID : KB000121585
Last Modified Date : 10/12/2018
Show Technical Document Details
Issue:
The CABI Tomcat logs are growing and show this error repeatedly.

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

The files that are growing are:
cabusinessintelligencetomcat-stdout.<date>.log   1GB+
localhost.<date>.log     200MB+

There are days and days of these logs and they aren't automatically cleaned up.  The drive eventually fills up.
Environment:
CABI 6.3
Cause:
The entries in the logs are benign.  However, Tomcat isn't cleaning up the large files being created.
Resolution:
Scripts can be written to remove older files preventing the disk filling up.
Additional Information:
Here are some examples of how these files can be cleaned up:
https://stackoverflow.com/questions/2772021/how-to-delete-tomcat-access-log-after-n-days