cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RV: ResourceReader problem
Date Wed, 12 Nov 2003 15:06:10 GMT
More info:
 
With the caching pipeline, it always fails the first time and works ok for sub-sequent times.
Any idea of the cause?
 
--------
David
 
-----Mensaje original-----
De: Carmona Perez, David [mailto:DPerezCar@fcc.es]
Enviado el: miércoles, 12 de noviembre de 2003 15:53
Para: Cocoon (E-mail)
Asunto: RV: ResourceReader problem
 
If I change the <pipeline type="noncaching"> to <pipeline type="caching"> it works.
 This seems to be a Cocoon bug.  I'm going to enter this into bugzilla
 
 
--------
David
 
-----Mensaje original-----
De: Carmona Perez, David 
Enviado el: miércoles, 12 de noviembre de 2003 15:41
Para: Cocoon (E-mail)
Asunto: ResourceReader problem
 
Hi all,
 
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.
Please, does anyone know the cause?
Maybe some HTTP header is sent incorrectly.
Log files show nothing.
 
##########################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>
 
 
--------
David
 

Mime
View raw message