Hi Andrea,
Thanks for the reply, is there a good place for me to start looking i.e. a part
of the source code which defines the process of setting up the table etc?
I don’t know why but I still can’t quite get my head round where the source
code for plugins is actually stored?
I’m still no help at all when it comes to development work as I still keep
meaning to come along to an event or code sprint of some sort to get my head
around the processes. Sorry about that, the kids are still very young and so
there is very little time outside of work to learn new scripting languages.
Cheers,
Paul
From: Andrea Aime [mailto:[email protected]]
Sent: 29 May 2018 16:09
To: Paul Wittle <[email protected]>
Cc: GeoServer Mailing List List <[email protected]>
Subject: Re: [Geoserver-users] Image Mosaic failing to create reader again
Hi Paul,
rasters failing to load do not report any error to GeoServer, just a null. This
is a 10+ years old design mistake that's expensive to fix today (idea, add a
flag to make them throw an exception, retrofit each and every one of them to do
so).
As Daniele suggested, currently the way is to switch to gt Dev logging and hunt
into the many messages (some of which are red herrings).
The mosaic is especially hard because during init it creates tables, config
files and the like, won't revert them on failure, and won't proceed further in
the next setup if it finds them... So you have to know what to look for and
delete manually.
I hope one day we can setup a code Sprint with a few devs, for a few days, to
actually start returning meaningful info out if failures.
Cheers
Andrea
Il mar 29 mag 2018, 14:21 Paul Wittle via Geoserver-users
<[email protected]<mailto:[email protected]>>
ha scritto:
Hi,
I’m struggling with the same image mosaic error I had a while ago but in a
different context.
I’m trying to create an image mosaic using a local PostGIS database (running on
localhost to the GeoServer) but I’m getting:
Could not list layers for this store, an error occurred retrieving them: Failed
to create reader from file:Raster/Test2 and hints Hints: EXECUTOR_SERVICE =
java.util.concurrent.ThreadPoolExecutor@4a5e4345[Running<mailto:java.util.concurrent.ThreadPoolExecutor@4a5e4345[Running>,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
REPOSITORY =
org.geoserver.catalog.CatalogRepository@6b89df6e<mailto:org.geoserver.catalog.CatalogRepository@6b89df6e>
System defaults: LENIENT_DATUM_SHIFT = true FILTER_FACTORY = FilterFactoryImpl
FEATURE_FACTORY =
org.geotools.feature.LenientFeatureFactoryImpl@3f4e036a<mailto:org.geotools.feature.LenientFeatureFactoryImpl@3f4e036a>
FORCE_AXIS_ORDER_HONORING = http STYLE_FACTORY = StyleFactoryImpl
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true COMPARISON_TOLERANCE = 1.0E-8
GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = null
The store I’m using to connect appears to work and I’ve even managed to create
the whole database using the GeoServer; all looks fine. However when I go to
create an image mosaic I get the error above and no table is created within the
schema.
My question is simple enough, does anyone know if the error is really caused by
issues connecting to the database or could it actually be caused by issues with
the location of the image directory?
The system was working but I was trying to rebuild it from scratch on a later
version of Windows Server (2016 I think) and the data directory is now on a
network drive. Despite the number of times I’ve looked at this error message I
still find it confusing to identify what the GeoServer is actually trying to
do, is it trying to read the files, write to the database, create a table or
index?
Alternatively are there preparedStatements missing on my version of PostGIS or
something like that?
As usual I would be really grateful for any hints but of course I know everyone
is very busy.
Best Regards,
Paul Wittle
GIS Developer
County Hall
Dorchester
Dorset. DT1 1XJ
Tel: 01305 228473
E mail: [email protected]<mailto:[email protected]>
"This e-mail is intended for the named addressee(s) only and may contain
information about individuals or other sensitive information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly disregard the
content of the message and notify the sender immediately. Please be aware that
all email may be subject to recording and/or monitoring in accordance with
relevant legislation."
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
"This e-mail is intended for the named addressee(s) only and may contain
information about individuals or other sensitive information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly disregard the
content of the message and notify the sender immediately. Please be aware that
all email may be subject to recording and/or monitoring in accordance with
relevant legislation."
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users