Hi,
I just get the new stable version of geoserver 1.7.5 (because i read that
this version comes with "a new extension providing chart rendering in WMS
maps").
After download it, i modified the style (copy & paste the one form the blog
page) of the example in order to make it work (topp:states), trying to
follow the example
http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ but i think
i'm doing something wrong because i dont see the charts and it shows in the
console the following error:
15 jun 16:53:47 WARN [geotools.factory] - Error en la inicialización de un
servicio de categoría "ExternalGraphicFactory". La causa es
"NoClassDefFoundError: org/geotools/renderer/style/ExternalGraphicFactory".
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
Maybe i'm forgetting to set something or add some jar files? The problem
seems to be a jar file that couldn't be found by geoserver.
If any one could tell me what could be wrong i would be very happy 
Thanks, Santiago.
PD: Sorry for my english 
--
View this message in context: http://www.nabble.com/Chart-extension-not-working-in-geoserver-1.7.5---tp24042080p24042080.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Santiago Montico ha scritto:
Hi,
I just get the new stable version of geoserver 1.7.5 (because i read that
this version comes with "a new extension providing chart rendering in WMS
maps").
After download it, i modified the style (copy & paste the one form the blog
page) of the example in order to make it work (topp:states), trying to
follow the example
http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ but i think
i'm doing something wrong because i dont see the charts and it shows in the
console the following error:
15 jun 16:53:47 WARN [geotools.factory] - Error en la inicialización de un
servicio de categoría "ExternalGraphicFactory". La causa es
"NoClassDefFoundError: org/geotools/renderer/style/ExternalGraphicFactory".
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
Maybe i'm forgetting to set something or add some jar files? The problem
seems to be a jar file that couldn't be found by geoserver.
I think you're mixing up different jar versions. If you're using
GS 1.7.5 you should use the chart extension that's shipping with it
(see the download page).
I've just downloaded 1.7.5 bin version, and its associated chart
extension. Extracted the chart jars into geoserver/webapps/geoserver/WEB-INF/lib,
created a "pies" style copying verbatim the style included in the
blog post, and went and displayed a preview of topp:states changing
the style in the request to pies. Worked as advertised for me.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea,
I just did what you mentioned and voila ! it works!
I was mixing up the jar files like you say
I will try this in my example now....
Thank you for the fast reply!
Cheers, Santiago.
Andrea Aime-4 wrote:
Santiago Montico ha scritto:
Hi,
I just get the new stable version of geoserver 1.7.5 (because i read that
this version comes with "a new extension providing chart rendering in WMS
maps").
After download it, i modified the style (copy & paste the one form the
blog
page) of the example in order to make it work (topp:states), trying to
follow the example
http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ but i
think
i'm doing something wrong because i dont see the charts and it shows in
the
console the following error:
15 jun 16:53:47 WARN [geotools.factory] - Error en la inicialización de
un
servicio de categoría "ExternalGraphicFactory". La causa es
"NoClassDefFoundError:
org/geotools/renderer/style/ExternalGraphicFactory".
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
15 jun 16:53:47 ERROR [shape.StyledShapePainter] - ShapePainter has been
asked to paint a null style!!
Maybe i'm forgetting to set something or add some jar files? The problem
seems to be a jar file that couldn't be found by geoserver.
I think you're mixing up different jar versions. If you're using
GS 1.7.5 you should use the chart extension that's shipping with it
(see the download page).
I've just downloaded 1.7.5 bin version, and its associated chart
extension. Extracted the chart jars into
geoserver/webapps/geoserver/WEB-INF/lib,
created a "pies" style copying verbatim the style included in the
blog post, and went and displayed a preview of topp:states changing
the style in the request to pies. Worked as advertised for me.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Chart-extension-not-working-in-geoserver-1.7.5---tp24042080p24054117.html
Sent from the GeoServer - User mailing list archive at Nabble.com.