[Geoserver-users] id changed in style's XML file

I have the problem that occasionally a style’s id is changed in its XML file, leaving many layers without a default style and hence unusable.

For example, I will find that in this raster.xml file:

StyleInfoImpl-4e0b98bf:12475d46fdd:-7fe2 raster raster.sld

suddenly the has changed for no apparent reason. Since the used in layer.xml does not exist anymore, the layer cannot be displayed.

What triggers the change of the ? Is there any way to prevent that other than making the file read-only?

Thanks, Felix

Usually his happens when some manual process outside of GeoServer is modifying the data directory or something like that. Is there any of that going on?

···

On Tue, Dec 4, 2012 at 10:01 AM, Felix Mayer <Felix.Mayer@anonymised.com> wrote:

I have the problem that occasionally a style’s id is changed in its XML file, leaving many layers without a default style and hence unusable.

For example, I will find that in this raster.xml file:

StyleInfoImpl-4e0b98bf:12475d46fdd:-7fe2 raster raster.sld

suddenly the has changed for no apparent reason. Since the used in layer.xml does not exist anymore, the layer cannot be displayed.

What triggers the change of the ? Is there any way to prevent that other than making the file read-only?

Thanks, Felix


LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

To the best of my knowledge no external process is changing those files. Also the changed id has the same format, so I would assume it comes from GeoServer.

From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: Wednesday, December 05, 2012 10:10 AM
To: Felix Mayer
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] id changed in style’s XML file

Usually his happens when some manual process outside of GeoServer is modifying the data directory or something like that. Is there any of that going on?

On Tue, Dec 4, 2012 at 10:01 AM, Felix Mayer <Felix.Mayer@anonymised.com> wrote:

I have the problem that occasionally a style’s id is changed in its XML file, leaving many layers without a default style and hence unusable.

For example, I will find that in this raster.xml file:

StyleInfoImpl-4e0b98bf:12475d46fdd:-7fe2 raster raster.sld

suddenly the has changed for no apparent reason. Since the used in layer.xml does not exist anymore, the layer cannot be displayed.

What triggers the change of the ? Is there any way to prevent that other than making the file read-only?

Thanks, Felix


LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


Geoserver-users mailing list
Geoserver-users@anonymised.comet
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira

OpenGeo - http://opengeo.org

Enterprise support for open source geospatial.

On Wed, Dec 5, 2012 at 10:54 PM, Felix Mayer <Felix.Mayer@anonymised.com> wrote:

To the best of my knowledge no external process is changing those files. Also the changed id has the same format, so I would assume it comes from GeoServer.

How are you modifying the configuration?
GUI, REST config?

Also, which version of GeoServer are you talking about?
This page contains hints on what context information is usually helpful in figuring out a problem:
http://geoserver.org/display/GEOS/GeoServer+user+list+posting+guidelines

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it