Hi Justin,
Well, I hope not to reproduce this problem! (Just joking, of course).
I don't know exactly when it broke. Here is what I was doing around the
time it broke, though.
I was working with templates and comparing results from my Dev server and
our production server. In both instances, I was just using the Demo
features in GeoServer to view the layer in Google Earth.
Even though I had loaded data on both servers from the same source (and both
reside in different instances of postgreSQL/PostGIS), the template had a
different "primary field" (for lack of a better word) on the two different
servers (e.g. one of the templates displayed the feature name at the top of
the information window for the feature in GE, while the other displayed the
feature ID). To get to the bottom of this (or so I hoped), I went into edit
Feature Type for this particular layer to see if there was any setting in
there that was different between the two. To the best of my knowledge, I
didn't change anything--if I did, it was on accident. Sometime soon after,
I noticed the problem.
Thanks,
Todd Fagin
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com
-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: Wednesday, January 14, 2009 5:56 PM
To: Todd Fagin
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Feature Types Disappeared
Hi Todd,
Unfortunately this issue has popped up before with some users but the
cause has been very elusive. It happens at random and noone seems able
to reproduce it.
Do you know what you were doing at the moment you discovered that all
your feature types disappeared? Were you loading, saving, or applying
configuration? Or only playing with templates? Any chance you can
reproduce the problem?
Todd Fagin wrote:
This is exceptionally odd and I hope someone get help me out here. I was
working in GeoServer on my local dev machine for the first time in
probably
a month. In fact, the only thing I was doing was experimenting with
creating description.ftl files. One minute everything in GeoServer was
working great, the next thing I know all my feature types were gone
When I investigated further, here's what I discovered:
1. Every single subdirectory in my Feature Types directory had disappeared
accept for the .bak folders.
2. None of my styles were available in GeoServer . However, they are
still
in the Styles directory
3. As would be expected, given the other issues, everything in my Previews
window is gone
Anyone have any idea of how this happened?
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.