<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Missing tiles from cached server : Content-lenght mismatch : AJP and load balancer in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-tiles-from-cached-server-content-lenght/m-p/681471#M25947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed ArcGIS Server 10.3 Pre-release, which ships with Tomcat 7.0.54. &lt;/P&gt;&lt;P&gt;The problem is still there.&amp;nbsp; More noticeable in Firefox.&amp;nbsp; Does not appear so much in Chrome or IE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall document, report to support, and if I find anything, post to let people know the outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the box, ArcGIS Server uses the HTTP connector (not the AJP), so this is why people are probably not seeing this as an issue.&amp;nbsp; Our ICT staff are keen to continue using AJP (but alas they may have to change).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 01:05:37 GMT</pubDate>
    <dc:creator>MarkChilcott</dc:creator>
    <dc:date>2014-10-22T01:05:37Z</dc:date>
    <item>
      <title>Missing tiles from cached server : Content-lenght mismatch : AJP and load balancer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-tiles-from-cached-server-content-lenght/m-p/681470#M25946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen issues with ArcGIS Server 10.2.2, specifically in relation to load balancers and cached image services that appear to be missing tiles when returned via REST?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A quick summary of our architecture.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have two instances of ArcGIS Server 10.2.2 running.&amp;nbsp; We have a load balancer in the DMZ that is configured to communicate with ArcGIS server via our reverse proxies through AJP.&lt;/P&gt;&lt;P&gt;We are using cached image services for our base maps, which include an aerial photo layer, topographic base map, and scanned images of our topographic map series.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If we connect directly to the REST end points of our ArcGIS Servers, and view in ArcGIS JavaScript, the services work fine.&amp;nbsp; No problem.&lt;/P&gt;&lt;P&gt;If we connect via the Load Balancer to the REST end point, as we zoom in and pan around, tiles are missing.&amp;nbsp; If we turn Fiddler on, we obtain a Protocol Violation Report, with Content-Length mismatch errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did not see this in ArcGIS Server 10.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Further investigation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Looking further into this, we discovered the content-length header is extremely important. If it is present and non-zero, the container assumes that the request has a body (a POST request, for example), and immediately reads a separate packet off the input stream to get that body.&amp;nbsp; There appears to be a bug fix for a security flaw in the 7.0.47 release of Tomcat specifically to do with the Content-Length. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be a coincidence, but ArcGIS Server 10.2.2 ships with Tomcat 7.0.47, while 10.1 ships with 7.0.27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue seems to be specific to the AJP protocol.&amp;nbsp; If we swap to using HTTP, the issue seems to be fixed.&amp;nbsp; We could do this, but that is going to cause us some grief with DMZ, fire walls, existing systems etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We think this is due to the version of Tomcat that ships with ArcGIS Server 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else seen this?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Anyone know which version of Tomcat 10.3 ships with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;P&gt;&lt;A href="http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.47"&gt;http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.47&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://confluence.atlassian.com/display/CONFKB/How+to+Determine+Your+Version+of+Tomcat+and+Java"&gt;https://confluence.atlassian.com/display/CONFKB/How+to+Determine+Your+Version+of+Tomcat+and+Java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html"&gt;http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wellho.net/mouth/1549_http-https-and-ajp-comparison-and-choice.html"&gt;http://www.wellho.net/mouth/1549_http-https-and-ajp-comparison-and-choice.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-tiles-from-cached-server-content-lenght/m-p/681470#M25946</guid>
      <dc:creator>MarkChilcott</dc:creator>
      <dc:date>2014-10-08T05:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Missing tiles from cached server : Content-lenght mismatch : AJP and load balancer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-tiles-from-cached-server-content-lenght/m-p/681471#M25947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed ArcGIS Server 10.3 Pre-release, which ships with Tomcat 7.0.54. &lt;/P&gt;&lt;P&gt;The problem is still there.&amp;nbsp; More noticeable in Firefox.&amp;nbsp; Does not appear so much in Chrome or IE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall document, report to support, and if I find anything, post to let people know the outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the box, ArcGIS Server uses the HTTP connector (not the AJP), so this is why people are probably not seeing this as an issue.&amp;nbsp; Our ICT staff are keen to continue using AJP (but alas they may have to change).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 01:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-tiles-from-cached-server-content-lenght/m-p/681471#M25947</guid>
      <dc:creator>MarkChilcott</dc:creator>
      <dc:date>2014-10-22T01:05:37Z</dc:date>
    </item>
  </channel>
</rss>

