After upgrading from Tomcat 8.0.15 to Tomcat 8.017 our web software was not 
loading completely in the end users web browser.  The server side was 
processing everything but never fully getting to end user.  We see that the 
response is not complete via Developer mode in IE.

After much research through the Tomcat 8.0.17/8.016 Change Log we could not 
find anything specific on this nor anything on the web.

After some trial and error we came up with a solution, but not an acceptable 
solution for all our customers.

If I add the following to either our web.xml or Tomcats default web.xml for the 
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> we 
are working again:

        <init-param>
            <param-name>output</param-name>
            <param-value>64000</param-value>
        </init-param>

Basically we are looking for why we have to increase the output buffer for 
8.0.17 and if there is something else we can do to not specify the output 
buffer size.  Why the default output buffer size is no longer working with 
Tomcat 8.0.17.
This is the first time we have ran into this issue with Tomcat.   

80% of our customers use Tomcat and it is what we recommend from a business 
standpoint.

We also think but can't be 100% that this is causing the issue when the .java 
is getting complied:
} catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) 
_jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

If we add this to our .jsp it fixes it: 
out.flush();

OS: Windows 2008R2, Windows 2012, Windows 2012R2, Windows 8.1 (all 64Bit)
Java: JDK 8u25, JDK 8u5, JDK 7u17, JDK 7u11
Browser: IE 10 and IE11 (only browser we support)
Tomcat: 8.0.17 (Tomcat 8.0.15 was completely uninstalled and directory deleted 
before install of 8.0.17)

I apologize up front as I am new to this support email group.

Shaun Morton

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to