On Wed, Oct 27, 2010 at 9:13 AM, Bart van den Eijnden (OSGIS)
<[email protected]> 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

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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to