Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have problems setting up a clustered Geoserver. So far got four instances (version 2.2.4) running on a ubuntu linux box with a shared data directory behind HAProxy. I use one of the geoservers to configure the cluster (master) and reload configuration in the other instances (slaves). In practice I often get errors when reloading configuration on the slaves. Only restarting each instance in the cluster distributed the configuration to all instances. It seems that i am doing something wrong. Has anyone made some experiences in clustering geoserver?


Thank you Brad and sorry for getting back so late. Here I provide you with some details: the cluster was set up according to After installation a directory /var/lib/geoserver_data was added and in the startup scripts I set CATALINA_OPTS DGEOSERVER_DATA_DIR=/var/lib/geoserver_data -DGWC_DISKQUOTA_DISABLED=true -DGWC_METASTORE_DISABLED=true

So all instances share the same data directory.

So far so good. Until additional data is added: For adding data only one of the geoserver instances is used. Adding - lets say a postgis layer - works fine. I can see the layer in the preview and use it as expected. But when i go to the admin interface in of the other instances, hitting 'reload configuration' an error message greets me, saying:

java.lang.IllegalArgumentException: Settings already exist for workspace 'abc'

Removing workspace 'abc' leads to

"Settings already exist for workspace 'def'"

and so on.

share|improve this question
Sven: welcome to gis.SE. Your question at the end isn't very specific - I'm sure there are a few people with experience in this area, but I guess you want to know about the specific problem you're describing - not reloading configuration correctly? Can you tell us the exact error message? Can you describe whether the configuration is shared (i.e. is on a common directory). Does the not-reloading problem occur every time, or only sometimes? You can edit your question (just click edit above) to make it more specific and add details. – BradHards Mar 3 '13 at 22:00
hi Sven Axt can you help me in geoserver clustering ? here is link to my problem… – Abhijit Gujar Nov 20 '15 at 12:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.