My web application runs using Tomcat 7
, Windows Server 2008R2
, Java
, JSP
, SQL Server 2012
The .out log file has thousands of rows with just the words "writing...."
I used NotePad++ to search the entire application (including JARs etc.) for "Writing." and and nowhere can I find any code that is the culprit.
Although it does seem that .jar files are zip files - and thus this search wouldn't work as I am searching for plaintext (see comments on Fast way to update text in a Jar file ) when I edit the .jar files in NotePad++ they all seem to have plaintext in them such as org/saxpath/XPathHandler.class
I had the same problem when the application ran under Oracle and Oracle Application Server.
Any ideas?
It was caused by the following in web.xml
<filter>
<filter-name>Compress</filter-name>
<filter-class>com.jspbook.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>