>Have you tried connecting to Tomcat directly and not via Apache to confirm >that the problem is related to the streaming via AJP?
I've tried it now on a stand alone tomcat instance and am having the same trouble. It makes me even more confused that this isn't a more publicised problem on the internet. I would have thought many people dynamically generate large PDF's through tomcat (although writing that it does sound less likely with all those stipulations). So, it seems like its tomcat's problem more than the connection between apache and tomcat. Graeme Woodhouse Software Engineer ProQuest Direct-Line: +44 (0) 1223 271 264 Fax: +44 (0) 1223 215 513 -----Original Message----- From: Manuel Mall [mailto:[EMAIL PROTECTED] Sent: 08 April 2008 08:41 To: '[email protected]' Subject: RE: Large PDF's files fail to stream correctly > -----Original Message----- > From: Woodhouse, Graeme [mailto:[EMAIL PROTECTED] > Sent: Monday, 7 April 2008 10:41 PM > To: '[email protected]' > Subject: RE: Large PDF's files fail to stream correctly > > Hi Jeremias, > > Your right - having no problems with smaller PDF's. > > I think it all has to do with the setup I have with tomcat connecting to > apache and the way data chunks are sent. This is a long standing problem > in my company - I'm amazed it isn't a well known problem. Have you tried connecting to Tomcat directly and not via Apache to confirm that the problem is related to the streaming via AJP? Have you tried writing the PDF to a file on the server but serve it via the Apache/Tomcat combination? Does that still fail? For further isolation testing you could use a tool like wget to save the stream at the client to a file. Then compare that to a copy of the PDF saved on the server and see if there is a pattern to when / where the corruption occurs. Manuel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
