cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dewar <mi...@nag.co.uk>
Subject Problems serving pdf files
Date Mon, 15 Apr 2002 15:23:49 GMT
I've just installed cocoon 2.0.2 under tomcat 3.3.1 on Redhat Linux.  I
am trying to serve pdf files with the following pipeline added to the
standard sitemap.xmap that came with the (binary) distribution:

  <map:pipeline>
    <map:match pattern="foo/**.pdf">
      <map:read mime-type="application/pdf" src="foo/{1}.pdf"/>
    </map:match>
  </map:pipeline>

For small files this works fine, but larger pdf files get truncated to
122880 bytes.  Can anybody tell me what I'm doing wrong and suggest a
fix?

Thanks, Mike. 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message