2012/7/30 Michele Mase' <michele.m...@gmail.com>:
> IE 6.x on my test pc, but also IE8 with other pcs.
> Acrobat is 9.x, 9.5.1 version, a lot of clients have this version, an
> upgrade is not possible for now.
> I've reviewed the apache access log (when the doc is served by a web server
> apache connected with ajp with the tomcat), the only thing I see is an http
> 206 and a X showing that the client has closed the connection before the
> server "%X : X connection aborted before the response completed."

1. "206 Partial Content",
so it was a request containing a Range header.

Using an HTTPD in front of Tomcat, you would be using the AJP
connector (which differs from your original configuration of "http
bio"). So the issue is reproducible in that configuration as well?

%X is a feature in HTTPD access log format. Tomcat does not implement it.

What is in Tomcat's own access log? The same request?

2. I my test (connecting to Tomcat directly over http with Adobe
Reader 10.1.3), the only access log line is "200", transferring the
whole document.

So why a ranged request comes? A feature of Acrobat 9? I wonder what
range headers are in it.

> The security zone is "internet".
> To reproduce the issue:
> Utilize the acrobat integrated in the browser
> Install a new tomcat 7.x on a linux machine, not windows with tar zxf
> apache-tomcat-7.x.tar.gz
> Put the pdf in any webapp, the ROOT is enough.
> Obviously use a recent jvm, I use latest version of 1.6 (.33)
> Start the tomcat (sh catalins.sh run or what you prefer)
> Point the browser to the url.
> Every time you want to retry, just empty the browser's cache and kill the
> explorer process.
> Tomcat >= 7.0.27 the error occurs
> Tomcat < 7.0.27 the error has gone.
> Michele Masè
>
> On Mon, Jul 30, 2012 at 12:45 PM, Konstantin Kolinko <knst.koli...@gmail.com
>> wrote:
>
>> 2012/7/30 Michele Mase' <michele.m...@gmail.com>:
>> > I've the following problem: the server is running tomcat 7.0.27 (but also
>> > with 7.0.28 and 7.0.29) and from the client (ie + acrobat 9) when opening
>> > some pdf docs I receive an error complaining about a network error:
>> >
>> > "A network error occured while accessing this document on interntet.
>> Would
>> > you like to close the document or reload it?"
>> >
>> > Reverting back to 7.0.26 the problem disappears ...
>> >
>> > The connector is the http bio
>> >
>> >
>> > This is one public pdf that caused me the error when i put it on a tomcat
>> >>=7.0.27
>> >
>> >
>> http://www.regione.fvg.it/rafvg/export/sites/default/RAFVG/formazione-lavoro/agenzia-regionale-lavoro/allegati/joblab_2.0_scheda_tematica_1_FR.pdf
>> >
>> >
>> > What happened to the bio connector under the 7.0.27 version that could
>> > cause the issue?
>> >
>> > The connector uses the standard roles, for example:
>> >
>> > <Connector port="8080" protocol="HTTP/1.1"
>> >                connectionTimeout="20000"
>> >                redirectPort="8443" compression="off"/>
>> >
>>
>> 1. Why acrobat 9? The current version of acrobat reader (adobe reader)
>> is 10,  10.1.3 to be precise. Aren't there security issues with
>> acrobat 9?
>>
>> I tried to reproduce your issue by placing your document in the
>> default configuration of 7.0.29 + you connector configuration, but the
>> problem does not show itself. Using the said version of Adobe Reader +
>> IE 8, on WinXP.
>>
>> What version of IE you are using?
>>
>> 2. Is your document protected by security constraints?
>>
>> If it is, then Tomcat adds some headers to the response to prevent
>> caching. It might interfere.
>>
>> If you could inspect the response headers...
>>
>> 3. What is in access log? Is Tomcat delivering the content?
>>
>> Is acrobat (or IE) re-requesting the document when you agree to
>> "reload" (I mean what is mentioned in that error message)?
>>
>> Is there difference in access logs entries between 7.0.29 and 7.0.26?
>>
>> 4. To what security zone (in IE) your web site belongs? Is it internet
>> or local network?
>>


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