2015-01-22 0:23 GMT+03:00 Shaun Morton <sh...@legalfiles.com>:
> 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.
>

[...]

A simple test for delivery of files with DefaultServlet - I see no issues.

My test:
1) Remove all files from ROOT webapp and put the following into
ROOT/WEB-INF/web.xml  to enable listings in DefaultServlet:

[[[
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
....
-->
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
                      http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd";
  version="3.1"
  metadata-complete="true">

  <display-name>Welcome to Tomcat</display-name>
  <description>
     Welcome to Tomcat
  </description>

  <servlet>
      <servlet-name>default</servlet-name>
      <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
      <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
      </init-param>
      <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
  </servlet>
</web-app>
]]]

2) Copy Tomcat v8.0.17  files into the ROOT webapp to use them as
payload for the test.
(It was an svn checkout of v8.0.17 directory from dist.a.o)

3) Configure connectors in conf/server.xml

Uncomment HTTPS connector, create server certificate with Java.

Set protocol attribute on Connectors to select their implementations.

I had to add the following attribute to HTTPS connecor:
 sslEnabledProtocols="TLSv1,SSLv2Hello"
My wget version is old and won't connect unless SSLv2Hello is enabled.

4)
wget -r --no-parent -e robots=off --level inf http://localhost:8080/
wget -r --no-parent -e robots=off --level inf --no-check-certificate
https://localhost:8443/

5)
Check *.md5 checksums for downloaded files.

Result: all downloads are OK.
I am using 32-bit JDK 7u72 on Windows 7.
I tested HTTP+(BIO,NIO,APR),  HTTPS+(BIO,NIO).
I have not tested HTTPS+APR and AJP+anything.


Best regards,
Konstantin Kolinko

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

Reply via email to