After digging on this for a while, I found that my system was configured oddly - I have a custom hostname but it wasn’t registered in my /etc/hosts file, leading to some weird errors in a few places in the Java standard library. (I have encountered related issues where “localhost” wasn’t properly registered, or else I would probably still be investigating!)
Anyway, I ended up more time than seems necessary because of some exceptions being silently swallowed in GeoTools code. I issued a pull request against the new Github repo: https://github.com/geotools/geotools/pull/3
I also made a patch against GeoServer. Even though it wasn’t causing my failure, it seems like there are some places in GeoServer where we rely on a directory containing a single image being used as a single-tile imagemosaic instead of using a more specific coveragestore. I think it makes things a bit cleaner to use the more specific type where it’s known: https://github.com/geoserver/geoserver/pull/4
I also beefed up the error reporting when setting up coverages - I don’t think this is changing API or behavior much so I went ahead and put it in the master branch. https://github.com/geoserver/geoserver/commit/f8711050b3c308a046e4c432b004737fc674efb9
–
David Winslow
OpenGeo - http://opengeo.org/
On Tue, Jul 10, 2012 at 11:33 AM, David Winslow <dwinslow@anonymised.com1…> wrote:
Hi all,
I’m seeing some build failures on master now. After sniffing around a bit, I see that the “usa” coverage dataset that is used in several tests is not being configured properly on my machine.
I dug into it a bit further and found that “usa” is a worldimage dataset stored in a ZIP archive and unpacked automatically when setting up for tests. I would expect that the WorldImage coverage reader would be used for this, but because of the way the MockData class is implemented we pass the directory as the path to the coverage data instead of the path to the image file (a PNG in this case.) But WorldImage requires that the file extension correspond to one of the image file types it supports and doesn’t take directories.
So I’m not sure how this is supposed to be working - is it possible that ImageMosaic is being used for this? I don’t see why it would fail on (just) my machine in that case though. Any thoughts on what I should do next in terms of troubleshooting would be appreciated.
–
David Winslow
OpenGeo - http://opengeo.org/