You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thierry Kormann <tk...@ilog.fr> on 2001/07/17 10:39:16 UTC

Re: problem with batik/svg serializer

On Tuesday 17 July 2001 05:50, Donald Ball wrote:
> hey guys. after a solid few hours of people banging on one of my sites
> with heavy duty use of svg's, the svg serializer starts failing to
> respond. i find this exception scattered through cocoon.log:
>
> [2001/07/16 23:43:47] null
> java.lang.NoClassDefFoundError
>         at
> org.apache.batik.gvt.renderer.StaticRendererFactory.getRenderContext(Static
>RendererFactory.java:69) at
> org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder
>.java:151) at
> org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTran
>scoder.java:126) at
> org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java:210
>) at
> org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:107)
>
> i'm using batik-libs.jar from c2's cvs repository. i'd refresh it straight
> from batik's cvs but no one's responded to my query about how the jar file
> is created (batik's build.xml has no task to build it). anyway, does
> anyone have a clue as to what's going on?
>
> oh, and it appears that once this error starts happening, it doesn't ever
> stop until the servlet engine is restarted. just fyi.

It seems that it's a thread issue. I highly recommend you to upgrade your 
version of batik (thread issue solve, performance enhancements...).

For your previous answer, sorry about that. We got tons of emails and it is 
sometimes hard to not skip one and answer all.

The rule to produce all jars with batik 1.0 (except all-jar.jar - the jar 
that includes all jars) is jars (the option may be not documented). So by 
typing:

build jars

You will produce all the jars from batik.
Hope this helps,
Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org