On Thu, May 26, 2011 at 5:00 PM, web <[email protected]> wrote: > Hi Andrea, > > thanks for the inputs. I did not notice it into the first mail but we use 1 > admin. I told about many users, but it is not referring at Geoserver itself. > In some words, we have a servlet (our application) in front of Geoserver. > This servlet can create featuretypes and layers via REST for our CMS users > (Joomla). But it always authenticate to Geoserver with the admin account to > do this. > Each CMS user owns a namespace, a datastore and db postgis schema, so they > never access to ressources from eachother. > > So data inconcitency may not occur in this case.The issue will be more, as > you noticed, if a user creates a new layer on instance 1 and then the page > reloads on instance 2, even if the shared config is up-to-date, he won't be > able to see this layer because the cache has not been realoaded. > > Then like you said I have to reload the cache after every change on all > servers. Is it also possible to configure GS not to use cache at all?!
Nope, not possible. Not simple either. > You mean we can reload only a namespace. Do you mean instead of calling: > > http://localhost:8080/geoserver/rest/reload > we can use something like: > http://localhost:8080/geoserver/rest/workspaces/acme/reload ? Yeah, it would be nice to have something like that (it's not there, but it can be created). > If we use the db config plugin to store the config in a database, then this > config will remain cached in memory of all instances anyway or no more cache > will be used? I honestly don't know 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 ------------------------------------------------------- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
