Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 35645 invoked by uid 500); 23 May 2001 17:31:57 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 35486 invoked from network); 23 May 2001 17:31:39 -0000 Date: Wed, 23 May 2001 13:31:35 -0400 (EDT) From: Donald Ball X-X-Sender: To: Subject: [c2] svg samples fail to work Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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