From: Christian C. <chr...@gr...> - 2003-10-15 00:43:50
|
So I have taken the one example I have working (Pie Chart) and tried to render it in SVG format. I took the SVG jars from jCharts-0.7.4\lib and plunked them into Tomcat's shared/lib and now then changed my call from: ServletEncoderHelper.encodePNG(chart, context.getResponse()); to: ServletEncoderHelper.encodeServlet(chart, context.getResponse()); Kabowie: error encoding chart:org.apache.batik.svggen.SVGGraphics2DIOException: Connection reset by peer: socket write error org.apache.batik.svggen.SVGGraphics2DIOException: Connection reset by peer: socket write error at org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) at org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) at org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEncoderHelper .java:76) Anyone have any suggestions here? I am running on Win2k, j2sdk1.4.2_01, with Tomcat 4.1. tia, Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" |