cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24647] New: - ResourceReader and non-caching pipelines
Date Wed, 12 Nov 2003 14:57:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647

ResourceReader and non-caching pipelines

           Summary: ResourceReader and non-caching pipelines
           Product: Cocoon 2
           Version: 2.1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: dperezcar@fcc.es


I have a strange problem with the minimal sitemap shown below.  With Internet
Explorer 6, I receive the following error:

            Internet Explorer cannot download t.pdf from localhost.

            Internet Explorer was not able to open this Internet site. The
request site is either unavailable or cannot be found.  Please try again later.

 

when I enter the following URL:

http://localhost:8080/t.pdf (Cocoon is the root servlet)
 
With Mozilla 1.4 is OK.

I´m using Cocoon 2.1.2 under Tomcat 4.1.18.

It used to work the same sitemap under Cocoon 2.0.4.

Maybe some HTTP header is sent incorrectly.

Log files show nothing interesting.

This behaviour disappears when I use a caching pipeline.
 

##########################SITEMAP:

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

      <!--############Componentes-->

      <!--Para mas informacion sobre cualquier componente, consultar su JavaDoc-->

      <map:components>

            <map:readers default="resource">

                  <map:reader logger="sitemap.reader.resource" name="resource"

                        pool-max="32"
src="org.apache.cocoon.reading.ResourceReader"/>

            </map:readers>

            <map:matchers default="wildcard">

                  <map:matcher logger="sitemap.matcher.wildcard" name="wildcard"

                        src="org.apache.cocoon.matching.WildcardURIMatcher"/>

            </map:matchers>

            <map:pipes default="noncaching">

                  <map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">

                  </map:pipe>

                  <map:pipe name="noncaching"

                       
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline">

                  </map:pipe>

            </map:pipes>

      </map:components>

      <!--############Pipelines-->

      <map:pipelines>

            <map:pipeline>

              <map:match pattern="*.pdf">

                 <map:read mime-type="application/pdf" src="c:/u/tmp/{1}.pdf"/>

              </map:match>

            </map:pipeline>

      </map:pipelines>

</map:sitemap>

Mime
View raw message