cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] svg samples fail to work
Date Wed, 23 May 2001 17:31:35 GMT
i just did a clean checkout of c2, built the webapp, cleaned up jakarta,
installed cocoon.war, tried to view /cocoon/hello.svg and got an empty
response. i checked cocoon.log and there's nothing strange there. hmm. i
requested it again and got another empty response. i checked cocoon.log
and noticed this snippet:

DEBUG   77339   [cocoon  ] (HttpProcessor[8080][2]): Found cached response
for '
hello.svg'.
DEBUG   77340   [cocoon  ] (HttpProcessor[8080][2]): Compared cached
validity 'TimeStampCacheValidity: 990638003000' with new validity
'TimeStampCacheValidity:
990638003000' : valid
DEBUG   77340   [cocoon  ] (HttpProcessor[8080][2]): Compared cached
validity 'TimeStampCacheValidity: 990638003000' with new validity
'TimeStampCacheValidity:
990638003000' : valid
DEBUG   77341   [cocoon  ] (HttpProcessor[8080][2]): Compared cached
validity 'NOPCacheValidity' with new validity 'NOPCacheValidity' : valid
DEBUG   77341   [cocoon  ] (HttpProcessor[8080][2]): Using valid cached
content
for 'hello.svg'.
DEBUG   77341   [cocoon  ] (HttpProcessor[8080][2]): Cached content is
invalid for 'hello.svg'.
DEBUG   77341   [cocoon  ] (HttpProcessor[8080][2]): Caching content for
further
 requests of 'hello.svg'.

well, that's strange - all components says the cached response is valid,
so we decide the cached response is invalid, and cache it again for future
use. ?!?!?!

i'm on linux-2.4.4, jdk blackdown-1.3.0-fcs, tomcat-4.0b5. can someone on
a similar platform try out the svg samples and see what they get?

oh, wait, i just noticed this in catalina.out:

java.lang.NoSuchMethodError
        at
org.apache.batik.bridge.CSSUtilities.convertVisibility(CSSUtilities.j
ava:283)
        at
org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVG
ElementBridge.java:49)
        at
org.apache.batik.bridge.ConcreteGVTBuilder.build(ConcreteGVTBuilder.j
ava:78)
        at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTran
scoder.java:190)
        at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstra
ctTranscoder.java:122)
        at
org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.ja
va:210)
        at
org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:107)
        at
org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTree
Handler.java:193)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1251)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3070)
        at java.lang.Thread.run(Thread.java:484)

any idea what's up with that? also, shouldn't the SVGSerializer have noted
this exception, tossed it out to the cocoon servlet, and told the cache
engine not to cache anything?

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message