Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel,

On 8/22/12 4:26 PM, Miguel González Castaños wrote:
> On 22/08/2012 18:06, Christopher Schultz wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> Miguel,
>> 
>> On 8/21/12 10:24 AM, Miguel Gonzalez wrote:
>>> Our webapp worked fine under Tomcat 5.5. We decided to migrate
>>> to Tomcat 7 to get better performance and get support from the 
>>> community in case something goes wrong as suggested in this
>>> mailing list.
>>> 
>>> I installed tomcat 7.0.29 from the Apache website. I had
>>> issues downloading PDFs from IE, but not from Firefox or
>>> Chrome.
>>> 
>>> I googled a little bit and some people suggested to downgrade
>>> to 7.0.26. But still having issues with it under IE while it
>>> works under Firefox and Chrome.
>>> 
>>> Any ideas?
>> http://www.catb.org/esr/faqs/smart-questions.html
>> 
>> Your question is "I had an app that was working and then I
>> upgraded and it doesn't work. What might be the problem?".
> Not exactly, I said problems downloading PDFs in IE. It reported
> an error when tried to download like it couldn't finish off the
> downloading (it takes forever).
>> 
>> Well, the problem might be that the power isn't connected to
>> your server. But you haven't provided any information that
>> suggests what "had issues downloading PDFs from IE" means. What
>> issues? What did you try? What happened when you did that? What
>> have you attempted to do so far to "fix" the "issue" and what
>> have you discovered?
> In the end downgrading to 7.0.26 has solved the issue. The person
> that reported that he had also issues with 7.0.26 and IE8
> recognized it might be his install since it happened just with a
> particular file, not all PDF files. I couldn't reproduced the issue
> with IE8

:(

Obviously reproducability is a key ingredient to proper analysis. If
you and he are willing to do some targeted testing, you could
instrument the client and see what the difference is -- likely in the
headers -- in the response coming from the server.

It might come down to a combination of Pragma, eTag, and other headers
coming from Tomcat (or an intermediate proxy). There have been reports
of weirdness with Adobe Acrobat Reader and "Range" headers recently:
it appears that the client is only partially spec-compliant because
the server is not required to return the exact range(s) the client
requested.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA2YZMACgkQ9CaO5/Lv0PABBQCfYKYDydwXBKRa9Y/R/BJhIs0H
L+0AnjZeVD4nHgvTg1SlSh2dOK9c7xcO
=dip4
-END PGP SIGNATURE-

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



RE: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Martin Gainty

too many permutations of component versions to point to any one culprit
start with a rock solid environment 
put in a ROOT.WAR that will demonstrate the aberrant
Replace each component one at a time with a test version
i would start with Tomcat APR/native connector something like this should work
working version is _  test version is ___

save the $TOMCAT_HOME\logs output for 
working environment
each component delta 
diff the catalina.*.log from test environment with working set 
diff the localhost.*.log from test environment with working set

Finally are you CERTAIN the adobe plugin is correct for the version of your 
Browser?
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Naote de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> Date: Wed, 22 Aug 2012 23:31:28 +0200
> From: ste...@mayr-stefan.de
> To: users@tomcat.apache.org
> Subject: Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin
> 
> Am 22.08.2012 23:04, schrieb Kari Scott:
> >
> > On Aug 22, 2012, at 3:55 PM, Stefan Mayr wrote:
> >
> > Am 22.08.2012 22:31, schrieb Miguel González Castaños:
> > We are having what sounds like a similar problem (although 7.0.26
> > works for us) and can provide our details.
> >
> > We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35
> > and Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our
> > production environment. We are using the same except for the latest
> > Tomcat 7.0.29 in our test environment.
> >
> > Recently one of our testers found that when using IE8 against our test
> > environment she could not download PDFs (available as links on web
> > pages) and would instead see the error "A network error occurred while
> > accessing this document on the Internet" but it worked fine on the
> > older Tomcat in production.  Indeed if I roll our testing environment
> > back to Tomcat 7.0.26, this problem does not occur.  It also doesn't
> > occur in any other browser we tried (IE9, FireFox 14.0.1 and Safari
> > 5.1.7).
> >
> > I had remembered that something similar had been discussed on this
> > list, but the archived thread looks like it went stale when it
> > couldn't be reproduced:
> > PDF Download problem tomcat >= 7.0.27
> > (http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)
> >
> >
> > A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and
> > we have a number of PDF documents available for download so I'm hoping
> > perhaps our different configuration to the ones previously reported
> > might eventually lead to a fix.
> >
> > As I have answered to Chris, it came down that the downgrade to 7.0.26
> > fixed it. Only a person reports problems that with a particular PDF file
> > so we have assumed it's an issue with his setup. I couldn't reproduce
> > the issue as I did with 7.0.29, so it seems there is something wrong
> > with that version.
> >
> > Is your setup using tcnative? Version 7.0.27 introduced an update
> >
> > Changelog: Update the native component of the Tomcat APR/native connector 
> > to 1.1.23 and take advantage of the simplified distribution. (mturk)
> >
> > Maybe you could change your HTTP connector from protocol="http" (has some 
> > autodetection for apr) to 
> > protocol="org.apache.coyote.http11.Http11Protocol" and retest with 7.0.29.
> >
> > Bye,
> >
> > Stefan
> >
> >
> > No, we are using the AJP connector.
> >
> >   > maxParameterCount="1" maxThre
> > ads="400" redirectPort="8443" />
> 
> Same same but different: this one is also using autodetection.
> 
> So you should test protocol="org.apache.coyote.ajp.AjpProtocol"
> 
>   Stefan
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
  

Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Stefan Mayr

Am 22.08.2012 23:04, schrieb Kari Scott:


On Aug 22, 2012, at 3:55 PM, Stefan Mayr wrote:

Am 22.08.2012 22:31, schrieb Miguel González Castaños:
We are having what sounds like a similar problem (although 7.0.26
works for us) and can provide our details.

We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35
and Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our
production environment. We are using the same except for the latest
Tomcat 7.0.29 in our test environment.

Recently one of our testers found that when using IE8 against our test
environment she could not download PDFs (available as links on web
pages) and would instead see the error "A network error occurred while
accessing this document on the Internet" but it worked fine on the
older Tomcat in production.  Indeed if I roll our testing environment
back to Tomcat 7.0.26, this problem does not occur.  It also doesn't
occur in any other browser we tried (IE9, FireFox 14.0.1 and Safari
5.1.7).

I had remembered that something similar had been discussed on this
list, but the archived thread looks like it went stale when it
couldn't be reproduced:
PDF Download problem tomcat >= 7.0.27
(http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)


A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and
we have a number of PDF documents available for download so I'm hoping
perhaps our different configuration to the ones previously reported
might eventually lead to a fix.

As I have answered to Chris, it came down that the downgrade to 7.0.26
fixed it. Only a person reports problems that with a particular PDF file
so we have assumed it's an issue with his setup. I couldn't reproduce
the issue as I did with 7.0.29, so it seems there is something wrong
with that version.

Is your setup using tcnative? Version 7.0.27 introduced an update

Changelog: Update the native component of the Tomcat APR/native connector to 
1.1.23 and take advantage of the simplified distribution. (mturk)

Maybe you could change your HTTP connector from protocol="http" (has some autodetection 
for apr) to protocol="org.apache.coyote.http11.Http11Protocol" and retest with 7.0.29.

Bye,

Stefan


No, we are using the AJP connector.

 


Same same but different: this one is also using autodetection.

So you should test protocol="org.apache.coyote.ajp.AjpProtocol"

Stefan

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



Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Kari Scott

On Aug 22, 2012, at 3:55 PM, Stefan Mayr wrote:

Am 22.08.2012 22:31, schrieb Miguel González Castaños:
We are having what sounds like a similar problem (although 7.0.26
works for us) and can provide our details.

We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35
and Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our
production environment. We are using the same except for the latest
Tomcat 7.0.29 in our test environment.

Recently one of our testers found that when using IE8 against our test
environment she could not download PDFs (available as links on web
pages) and would instead see the error "A network error occurred while
accessing this document on the Internet" but it worked fine on the
older Tomcat in production.  Indeed if I roll our testing environment
back to Tomcat 7.0.26, this problem does not occur.  It also doesn't
occur in any other browser we tried (IE9, FireFox 14.0.1 and Safari
5.1.7).

I had remembered that something similar had been discussed on this
list, but the archived thread looks like it went stale when it
couldn't be reproduced:
PDF Download problem tomcat >= 7.0.27
(http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)


A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and
we have a number of PDF documents available for download so I'm hoping
perhaps our different configuration to the ones previously reported
might eventually lead to a fix.

As I have answered to Chris, it came down that the downgrade to 7.0.26
fixed it. Only a person reports problems that with a particular PDF file
so we have assumed it's an issue with his setup. I couldn't reproduce
the issue as I did with 7.0.29, so it seems there is something wrong
with that version.

Is your setup using tcnative? Version 7.0.27 introduced an update

Changelog: Update the native component of the Tomcat APR/native connector to 
1.1.23 and take advantage of the simplified distribution. (mturk)

Maybe you could change your HTTP connector from protocol="http" (has some 
autodetection for apr) to protocol="org.apache.coyote.http11.Http11Protocol" 
and retest with 7.0.29.

Bye,

Stefan


No, we are using the AJP connector.




_
Kari Scott
Senior Programmer
kari.sc...@cdw.com

CDW
5520 Research Park Drive
Madison, WI 53711
Office: 608 298 1223
Fax: 608 288 3007








Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Stefan Mayr

Am 22.08.2012 22:31, schrieb Miguel González Castaños:

We are having what sounds like a similar problem (although 7.0.26
works for us) and can provide our details.

We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35
and Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our
production environment. We are using the same except for the latest
Tomcat 7.0.29 in our test environment.

Recently one of our testers found that when using IE8 against our test
environment she could not download PDFs (available as links on web
pages) and would instead see the error "A network error occurred while
accessing this document on the Internet" but it worked fine on the
older Tomcat in production.  Indeed if I roll our testing environment
back to Tomcat 7.0.26, this problem does not occur.  It also doesn't
occur in any other browser we tried (IE9, FireFox 14.0.1 and Safari
5.1.7).

I had remembered that something similar had been discussed on this
list, but the archived thread looks like it went stale when it
couldn't be reproduced:
PDF Download problem tomcat >= 7.0.27
(http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)


A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and
we have a number of PDF documents available for download so I'm hoping
perhaps our different configuration to the ones previously reported
might eventually lead to a fix.


As I have answered to Chris, it came down that the downgrade to 7.0.26
fixed it. Only a person reports problems that with a particular PDF file
so we have assumed it's an issue with his setup. I couldn't reproduce
the issue as I did with 7.0.29, so it seems there is something wrong
with that version.


Is your setup using tcnative? Version 7.0.27 introduced an update

Changelog: Update the native component of the Tomcat APR/native 
connector to 1.1.23 and take advantage of the simplified distribution. 
(mturk)


Maybe you could change your HTTP connector from protocol="http" (has 
some autodetection for apr) to 
protocol="org.apache.coyote.http11.Http11Protocol" and retest with 7.0.29.


Bye,

Stefan

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



Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Miguel González Castaños

We are having what sounds like a similar problem (although 7.0.26 works for us) 
and can provide our details.

We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35 and 
Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our production 
environment. We are using the same except for the latest Tomcat 7.0.29 in our 
test environment.

Recently one of our testers found that when using IE8 against our test environment she 
could not download PDFs (available as links on web pages) and would instead see the error 
"A network error occurred while accessing this document on the Internet" but it 
worked fine on the older Tomcat in production.  Indeed if I roll our testing environment 
back to Tomcat 7.0.26, this problem does not occur.  It also doesn't occur in any other 
browser we tried (IE9, FireFox 14.0.1 and Safari 5.1.7).

I had remembered that something similar had been discussed on this list, but 
the archived thread looks like it went stale when it couldn't be reproduced:
PDF Download problem tomcat >= 7.0.27 
(http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)

A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and we have 
a number of PDF documents available for download so I'm hoping perhaps our 
different configuration to the ones previously reported might eventually lead 
to a fix.


As I have answered to Chris, it came down that the downgrade to 7.0.26 
fixed it. Only a person reports problems that with a particular PDF file 
so we have assumed it's an issue with his setup. I couldn't reproduce 
the issue as I did with 7.0.29, so it seems there is something wrong 
with that version.


Thanks!

Miguel

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



Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Miguel González Castaños

On 22/08/2012 18:06, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel,

On 8/21/12 10:24 AM, Miguel Gonzalez wrote:

Our webapp worked fine under Tomcat 5.5. We decided to migrate to
Tomcat 7 to get better performance and get support from the
community in case something goes wrong as suggested in this mailing
list.

I installed tomcat 7.0.29 from the Apache website. I had issues
downloading PDFs from IE, but not from Firefox or Chrome.

I googled a little bit and some people suggested to downgrade to
7.0.26. But still having issues with it under IE while it works
under Firefox and Chrome.

Any ideas?

http://www.catb.org/esr/faqs/smart-questions.html

Your question is "I had an app that was working and then I upgraded
and it doesn't work. What might be the problem?".
Not exactly, I said problems downloading PDFs in IE. It reported an 
error when tried to download like it couldn't finish off the downloading 
(it takes forever).


Well, the problem might be that the power isn't connected to your
server. But you haven't provided any information that suggests what
"had issues downloading PDFs from IE" means. What issues? What did you
try? What happened when you did that? What have you attempted to do so
far to "fix" the "issue" and what have you discovered?
In the end downgrading to 7.0.26 has solved the issue. The person that 
reported that he had also issues with 7.0.26 and IE8 recognized it might 
be his install since it happened just with a particular file, not all 
PDF files. I couldn't reproduced the issue with IE8


Thanks,

Miguel

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



Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Kari Scott



On Aug 22, 2012, at 11:06 AM, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel,

On 8/21/12 10:24 AM, Miguel Gonzalez wrote:
I installed tomcat 7.0.29 from the Apache website. I had issues
downloading PDFs from IE, but not from Firefox or Chrome.

I googled a little bit and some people suggested to downgrade to
7.0.26. But still having issues with it under IE while it works
under Firefox and Chrome.

Any ideas?

http://www.catb.org/esr/faqs/smart-questions.html

Your question is "I had an app that was working and then I upgraded
and it doesn't work. What might be the problem?".

Well, the problem might be that the power isn't connected to your
server. But you haven't provided any information that suggests what
"had issues downloading PDFs from IE" means. What issues? What did you
try? What happened when you did that? What have you attempted to do so
far to "fix" the "issue" and what have you discovered?

We are having what sounds like a similar problem (although 7.0.26 works for us) 
and can provide our details.

We are using Solaris 10, Tomcat 7.0.26, Apache/2.2.16, mod_jk/1.2.35 and 
Java(TM) SE Runtime Environment (build 1.6.0_30-b12) in our production 
environment. We are using the same except for the latest Tomcat 7.0.29 in our 
test environment.

Recently one of our testers found that when using IE8 against our test 
environment she could not download PDFs (available as links on web pages) and 
would instead see the error "A network error occurred while accessing this 
document on the Internet" but it worked fine on the older Tomcat in production. 
 Indeed if I roll our testing environment back to Tomcat 7.0.26, this problem 
does not occur.  It also doesn't occur in any other browser we tried (IE9, 
FireFox 14.0.1 and Safari 5.1.7).

I had remembered that something similar had been discussed on this list, but 
the archived thread looks like it went stale when it couldn't be reproduced:
PDF Download problem tomcat >= 7.0.27 
(http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3CCAC=HunuF5zqKf5s_D9syTZ1J2nFXdCjEWKj=zq+hc8bgnn1...@mail.gmail.com%3E)

A good portion of our visitors use IE8 with the 9.5.1 Adobe Reader and we have 
a number of PDF documents available for download so I'm hoping perhaps our 
different configuration to the ones previously reported might eventually lead 
to a fix.

Thank you,
-Kari


_
Kari Scott
Senior Programmer
kari.sc...@cdw.com

CDW
5520 Research Park Drive
Madison, WI 53711
Office: 608 298 1223
Fax: 608 288 3007








Re: Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel,

On 8/21/12 10:24 AM, Miguel Gonzalez wrote:
> Our webapp worked fine under Tomcat 5.5. We decided to migrate to 
> Tomcat 7 to get better performance and get support from the
> community in case something goes wrong as suggested in this mailing
> list.
> 
> I installed tomcat 7.0.29 from the Apache website. I had issues 
> downloading PDFs from IE, but not from Firefox or Chrome.
> 
> I googled a little bit and some people suggested to downgrade to 
> 7.0.26. But still having issues with it under IE while it works
> under Firefox and Chrome.
> 
> Any ideas?

http://www.catb.org/esr/faqs/smart-questions.html

Your question is "I had an app that was working and then I upgraded
and it doesn't work. What might be the problem?".

Well, the problem might be that the power isn't connected to your
server. But you haven't provided any information that suggests what
"had issues downloading PDFs from IE" means. What issues? What did you
try? What happened when you did that? What have you attempted to do so
far to "fix" the "issue" and what have you discovered?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA1A3sACgkQ9CaO5/Lv0PCchACeOpjj29k4FVQgs1dTSdy9sCqh
eYYAnjQlZv16wzAH1HrzObrrZC/rsHei
=1xQU
-END PGP SIGNATURE-

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



Tomcat 7.x and Internet Explorer Adobe Reader plugin

2012-08-21 Thread Miguel Gonzalez
Dear all,

  Our webapp worked fine under Tomcat 5.5. We decided to migrate to Tomcat 7 to 
get better performance and get support from the community in case something 
goes wrong as suggested in this mailing list.

  I installed tomcat 7.0.29 from the Apache website. I had issues downloading 
PDFs from IE, but not from Firefox or Chrome.

  I googled a little bit and some people suggested to downgrade to 7.0.26. But 
still having issues with it under IE while it works under Firefox and Chrome.

  Any ideas?

  Regards,

  Miguel

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