On Fri, 19 Apr 2002, Mike Dewar wrote: > Thanks but I don't think that I'm using FOP. All I'm doing is trying to > serve an existing pdf file: > <map:pipeline> > <map:match pattern="foo/**.pdf"> > <map:read mime-type="application/pdf" src="foo/{1}.pdf"/> > </map:match> > </map:pipeline> > > As an experiment I changed the mime type to text/plain and got the same > result. > > Mike. > I have had the same problem once serving jpeg files. They were truncated at 8192 byes, no matter what jpeg file I tried. On the other hand, there were no problems with gif files (bigger than 8kb).
I solved this by stopping Tomcat/Cocoon, cleaning the Tomcat work directory and restarting Tomcat/Cocoon. Magic? Some randomly occurring bug (since I am not the only one having had this problem)? I hope this solution solves this problem, only one way to find out. Erwin. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>