Hi list,
I have a question about manipulating Geoserver config through the REST
plugin, and having a JBoss cluster underneath.
If we use the Geoserver data dir from a shared disk, will this work
automatically? In other words, if the configuration is changed on node1,
will Geoserver on node2 automatically pick up new layers etc?
If not, what would be a possible workaround?
TIA.
Best regards,
Bart
On Wed, Oct 27, 2010 at 9:13 AM, Bart van den Eijnden (OSGIS)
<bartvde@anonymised.com> wrote:
Hi list,
I have a question about manipulating Geoserver config through the REST
plugin, and having a JBoss cluster underneath.
If we use the Geoserver data dir from a shared disk, will this work
automatically? In other words, if the configuration is changed on node1,
will Geoserver on node2 automatically pick up new layers etc?
Nope.
If not, what would be a possible workaround?
Restconfig has a "reload" resource that you can hit with a POST or a PUT
to force a GeoServer to reload its entire configuration from the file system.
Mind, that might take a long time if you have many many layers (thousands).
Cheers
Andrea
-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-----------------------------------------------------