Re: [Geoserver-users] possible reasons for "does not have a properly configured datastore"-error
On Thu, Jul 5, 2012 at 3:53 PM, Max Stephan wrote: > Thank you for the quick response. But why are some layers based on the same > datastore available and working properly then, some not? And how could a > datastore based on spatial files on the harddrive be unavailable while the > others that rely on the same folder are unavailable. Is there anything else > I could do or any additional information I could provide for finding a > solution for this? That's a very interesting question, but I have no idea... IDE + source code + debugger are your friend 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 mob:+39 339 8844549 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] possible reasons for "does not have a properly configured datastore"-error
Hi Andrea, Thank you for the quick response. But why are some layers based on the same datastore available and working properly then, some not? And how could a datastore based on spatial files on the harddrive be unavailable while the others that rely on the same folder are unavailable. Is there anything else I could do or any additional information I could provide for finding a solution for this? Best regards Max Stephan From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 05 July 2012 14:09 To: Max Stephan Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] possible reasons for "does not have a properly configured datastore"-error On Thu, Jul 5, 2012 at 12:35 PM, Max Stephan mailto:max.step...@gmx.net>> wrote: Hello list, on our 2.1.3.-geoserver we recently got problems with the layers based on one specific datastore (which is a directory of spatial files). We didn´t apply any obvious changes to the layers based on this store (apart from activating and deactivating a few layers a few weeks ago). Following behavior is observed: First all pointbased layers based on the datastore were disabled by geoserver automatically . The log showed the following message for them: "featureType: GVP:GVP_socioeconomics_household-farm-distance_atankwidi-ghana_2006_pnt does not have a properly configured datastore" This means the datastore was not available when GeoServer started. If you can enable the store/layers later and that works, it can be that the store is starting up after GeoServer: to avoid issues with the capabilities document generation GeoServer automatically disables all stores that fail a connection check on startup, this behavior is not configurable although we are looking for ways to make it un-necessary on the 2.2.x series (work not finished though) 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 mob:+39 339 8844549 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] possible reasons for "does not have a properly configured datastore"-error
On Thu, Jul 5, 2012 at 12:35 PM, Max Stephan wrote: > Hello list, > > on our 2.1.3.-geoserver we recently got problems with the layers based on > one specific datastore (which is a directory of spatial files). We didn´t > apply any obvious changes to the layers based on this store (apart from > activating and deactivating a few layers a few weeks ago). > > Following behavior is observed: First all pointbased layers based on the > datastore were disabled by geoserver automatically . The log showed the > following message for them: > "featureType: > GVP:GVP_socioeconomics_household-farm-distance_atankwidi-ghana_2006_pnt > does > not have a properly configured datastore" > This means the datastore was not available when GeoServer started. If you can enable the store/layers later and that works, it can be that the store is starting up after GeoServer: to avoid issues with the capabilities document generation GeoServer automatically disables all stores that fail a connection check on startup, this behavior is not configurable although we are looking for ways to make it un-necessary on the 2.2.x series (work not finished though) 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 mob:+39 339 8844549 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] possible reasons for "does not have a properly configured datastore"-error
Hello list, on our 2.1.3.-geoserver we recently got problems with the layers based on one specific datastore (which is a directory of spatial files). We didn´t apply any obvious changes to the layers based on this store (apart from activating and deactivating a few layers a few weeks ago). Following behavior is observed: First all pointbased layers based on the datastore were disabled by geoserver automatically . The log showed the following message for them: "featureType: GVP:GVP_socioeconomics_household-farm-distance_atankwidi-ghana_2006_pnt does not have a properly configured datastore" We didn´t find anything wrong within the configuration of the datastore though. Deactivating each layer and reactivating them again afterwards made them work again. But when we restarted Geoserver the same problem occured. I also tried to alter the configfiles for the layers in the workspace manually (setting "enabled" in the featuretype.xml to "true"). That helped in case of some layers but not for all. We are kind of lost what the deeper reason for this errors could be and how we could solve them in a sustainable manner (i.e. not having to deactivate/reactivate all layers after restart or having to recreate all layers). Best regards and thanks in advance Max Stephan -- View this message in context: http://osgeo-org.1560.n6.nabble.com/possible-reasons-for-does-not-have-a-properly-configured-datastore-error-tp4986227.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users