On Sun, Sep 4, 2011 at 6:00 PM, Tom (JDi Solutions)
<[email protected]> wrote:
> Hi all,
>
> When style files are modified outside of geoserver the new configuration is
> not reflected in newly rendered tiles until geoserver is restarted,
> presumably because it is cached in memory.  I have found the "configuration
> reload" tool in the API here:
> http://docs.geoserver.org/latest/en/user/restconfig/rest-config-api.html
> (near bottom) but this seems like a bit of a sledgehammer to crack a nut
> when all I want to reload is one style.  The styles are being modified in an
> external application so I can't use the admin console, it has to be an API
> call or similar.
>
> Any ideas?

Go though the REST api to update the style instead of hitting the disk.
Direct modification of config files on the disk is not supported, we can't keep
tabs on them and it's just too easy to render them inconsistent with each other.

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to