From: Chris H. <ch...@op...> - 2004-12-28 16:02:43
|
> Dear friends > Firt of all, I don't know it this is the correct forum, so excuse me it > not. > I'm configuring geoserver 1.2.4. This forum is fine. geoserver-users might be a bit better, but we are not strict about what goes where. > I can see images in png or x-png. > If i request an image with format SVG i get an error (error 500) and in > the console: > > " 797672 [FINA] org.vfny.geoserver.ServiceException - java.io.IOException: > UNCAUGHT exception: No SVG Feature writer > defined for class com.vividsolutions.jts.geom.Geometry" Are you by chance using oracle? It's kind of incompatible with the SVG writer at the moment, as it does a poor job of reporting its type. Basically the SVG writer should be rewritten to better deal with this (and to deal with styles, as it is limited there as well). > If i request jpeg i get also error 500 and in the console: > > 3886906 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an > undefined error: The provided image cannot be encode > d using: com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter > 3886969 [FINA] org.vfny.geoserver.ServiceException - > javax.imageio.IIOException: The provided image cannot be encoded us > ing: com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter This sounds like an jai/imageio problem. Which version of those libraries are you using? Are you using the release candidate (rc), one? I remember it having some problems. You may try the older ones, as I definitely have had success getting jpeg images with those. best regards, Chris > > Where can be the problem? > > Thank you in advance > > Jesús de Diego > > -- |