Discussion:
[Geoserver-users] 400: Problem communicating with Geoserver
Chris Buckmaster
2017-05-09 14:27:21 UTC
Permalink
I am using Geoserver 2.11 and have a pre seeded ImageMosaic layer containing multiple GeoTIFFs that I am having issues with trying to access at its most detailed zoom level which is not seeded via WMTS. On trying to access, it is giving me an error:
400: Problem communicating with GeoServer
I have included some of the report from the Geoserver log below - I have changed my gwc directory to the D: drive and changed this in the config file - all of my other non-raster ImageMosaic layers are caching fine, it is just this one that is throwing an issue.


org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to create reader from file://D:\data\rasters\aerials\2008 and hints Hints:
COMPARISON_TOLERANCE = 1.0E-8
FILTER_FACTORY = FilterFactoryImpl
EXECUTOR_SERVICE = ***@15a6853[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
FORCE_AXIS_ORDER_HONORING = http
STYLE_FACTORY = StyleFactoryImpl
LENIENT_DATUM_SHIFT = true
FEATURE_FACTORY = ***@c55f60
GRID_COVERAGE_FACTORY = GridCoverageFactory
TILE_ENCODING = null

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1495)
at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1396)
at org.geoserver.catalog.impl.CoverageInfoImpl.getGridCoverageReader(CoverageInfoImpl.java:164)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
at com.sun.proxy.$Proxy15.getGridCoverageReader(Unknown Source)
at org.geoserver.wms.MapLayerInfo.getCoverageReader(MapLayerInfo.java:333)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:504)
... 103 more
2017-05-09 14:53:18,233 ERROR [geowebcache.GeoWebCacheDispatcher] - Problem communicating with GeoServer http://localhost:8081/geoserver/gwc/service/wmts
Andrea Aime
2017-05-09 15:08:12 UTC
Permalink
On Tue, May 9, 2017 at 4:27 PM, Chris Buckmaster <
Post by Chris Buckmaster
Caused by: java.io.IOException: Failed to create reader from
COMPARISON_TOLERANCE = 1.0E-8
FILTER_FACTORY = FilterFactoryImpl
EXECUTOR_SERVICE = java.util.concurrent.
queued tasks = 0, completed tasks = 0]
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
FORCE_AXIS_ORDER_HONORING = http
STYLE_FACTORY = StyleFactoryImpl
LENIENT_DATUM_SHIFT = true
FEATURE_FACTORY = org.geotools.feature.
GRID_COVERAGE_FACTORY = GridCoverageFactory
TILE_ENCODING = null
at org.geoserver.catalog.ResourcePool.
getGridCoverageReader(ResourcePool.java:1495)
at org.geoserver.catalog.ResourcePool.
getGridCoverageReader(ResourcePool.java:1396)
at org.geoserver.catalog.impl.CoverageInfoImpl.
getGridCoverageReader(CoverageInfoImpl.java:164)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.catalog.impl.ModificationProxy.invoke(
ModificationProxy.java:147)
at com.sun.proxy.$Proxy15.getGridCoverageReader(Unknown Source)
at org.geoserver.wms.MapLayerInfo.getCoverageReader(
MapLayerInfo.java:333)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(
GetMapKvpRequestReader.java:504)
... 103 more
So the above error is GeoServer not able to create a imag emosaic reader
from the D:\data\rasters\aerials\2008 directory.
Anything changed there? Like, don't know, file access permissions and the
like?
Or maybe the directory is not writable? (2.11 will try to replace the
sample_image with a new implementation that does not
cause memory leaks).

Generally speaking, try to get WMS on that layer working first, and then go
back to GWC.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
Chris Buckmaster
2017-05-10 08:31:00 UTC
Permalink
Hi Andrea

Nothing has changed within the 2008 directory – I recently installed version 2.11 of Geoserver so I don’t know if I need to grant it read / write permissions to my D: drive?

Saying that, I have enabled caching for other layers (mostly accessed via PostGIS) and Geoserver is creating cached tiles on the D: drive so it should have the necessary write permissions.

My previous Geoserver version was 2.5 so has anything changed between 2.5 and 2.11 in relation to the ImageMosaic format that I might need to tweak?

Thanks, Chris



From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Andrea Aime
Sent: 09 May 2017 16:08
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Tue, May 9, 2017 at 4:27 PM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
Caused by: java.io.IOException: Failed to create reader from file://D:\data\rasters\aerials\2008<file:///D:\data\rasters\aerials\2008> and hints Hints:
COMPARISON_TOLERANCE = 1.0E-8
FILTER_FACTORY = FilterFactoryImpl
EXECUTOR_SERVICE = ***@15a6853[Running<mailto:***@15a6853[Running>, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true
FORCE_AXIS_ORDER_HONORING = http
STYLE_FACTORY = StyleFactoryImpl
LENIENT_DATUM_SHIFT = true
FEATURE_FACTORY = ***@c55f60<mailto:***@c55f60>
GRID_COVERAGE_FACTORY = GridCoverageFactory
TILE_ENCODING = null

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1495)
at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1396)
at org.geoserver.catalog.impl.CoverageInfoImpl.getGridCoverageReader(CoverageInfoImpl.java:164)
at sun.reflect.GeneratedMethodAccessor347.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:147)
at com.sun.proxy.$Proxy15.getGridCoverageReader(Unknown Source)
at org.geoserver.wms.MapLayerInfo.getCoverageReader(MapLayerInfo.java:333)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:504)
... 103 more

So the above error is GeoServer not able to create a imag emosaic reader from the D:\data\rasters\aerials\2008 directory.
Anything changed there? Like, don't know, file access permissions and the like?
Or maybe the directory is not writable? (2.11 will try to replace the sample_image with a new implementation that does not
cause memory leaks).

Generally speaking, try to get WMS on that layer working first, and then go back to GWC.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
Andrea Aime
2017-05-10 09:14:48 UTC
Permalink
On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <
Post by Chris Buckmaster
My previous Geoserver version was 2.5 so has anything changed between 2.5
and 2.11 in relation to the ImageMosaic format that I might need to tweak?
Heh... 2.5 series is 3 years old and by now image mosaic code has been
deeply modified since
then (I see 161 commits in that module alone since March 2014), long story
short,
I have no clue as to what might have changed that is specific to your case,
sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a
look, or else,
you could try bisecting the release history and see when it stops working
(e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get
to a specific
release in which it worked, and the next one in which it stopped working,
that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
Chris Buckmaster
2017-05-10 09:32:52 UTC
Permalink
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Andrea Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply modified since
then (I see 161 commits in that module alone since March 2014), long story short,
I have no clue as to what might have changed that is specific to your case, sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a look, or else,
you could try bisecting the release history and see when it stops working (e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to a specific
release in which it worked, and the next one in which it stopped working, that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
Andrea Aime
2017-05-10 12:51:20 UTC
Permalink
Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk,
configured and displayed it without any issue:

[image: Inline image 1]

I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)

Cheers
Andrea



On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster <
Post by Chris Buckmaster
Hi Andrea
I have found I can add the individual GeoTIFFs using the GeoTIFF store,
but for some reason the ImageMosaic is not liking them.
I have uploaded a file containing four GeoTIFF samples which I am trying
to use as an ImageMosaic which is causing problems.
https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA
Thanks, Chris
Of *Andrea Aime
*Sent:* 10 May 2017 10:15
*To:* Chris Buckmaster
*Subject:* Re: [Geoserver-users] 400: Problem communicating with Geoserver
On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <
My previous Geoserver version was 2.5 so has anything changed between 2.5
and 2.11 in relation to the ImageMosaic format that I might need to tweak?
Heh... 2.5 series is 3 years old and by now image mosaic code has been
deeply modified since
then (I see 161 commits in that module alone since March 2014), long story short,
I have no clue as to what might have changed that is specific to your case, sorry! :-)
If you can share a sample mosaic that replicates the issue we might have a look, or else,
you could try bisecting the release history and see when it stops working (e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to a specific
release in which it worked, and the next one in which it stopped working, that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.
Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
Chris Buckmaster
2017-05-10 12:58:27 UTC
Permalink
Hi Andrea

Thanks very much for giving it a go really appreciate it, I will see if I have any more success.

Chris


From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Andrea Aime
Sent: 10 May 2017 13:51
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk, configured and displayed it without any issue:

[Inline image 1]

I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)

Cheers
Andrea



On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: ***@gmail.com<mailto:***@gmail.com> [mailto:***@gmail.com<mailto:***@gmail.com>] On Behalf Of Andrea Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net<mailto:geoserver-***@lists.sourceforge.net>
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply modified since
then (I see 161 commits in that module alone since March 2014), long story short,
I have no clue as to what might have changed that is specific to your case, sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a look, or else,
you could try bisecting the release history and see when it stops working (e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to a specific
release in which it worked, and the next one in which it stopped working, that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313<tel:+39%200584%20962313>
fax: +39 0584 1660272<tel:+39%200584%20166%200272>
mob: +39 339 8844549<tel:+39%20339%20884%204549>

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
Chris Buckmaster
2017-05-11 13:39:57 UTC
Permalink
Hi Andrea / list

Trying to re-save my raster data store which contains the GeoTIFFs I am trying to run as an ImageMosaic, I now receive the below exception error:

Failed to create reader from file://D:\data\rasters\aerials\2008 and hints Hints: STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING = http LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8 GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = null FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY = FilterFactoryImpl EXECUTOR_SERVICE = ***@1c3ed9a[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] FEATURE_FACTORY = ***@1212018<mailto:***@1212018>

I cannot decode this but might provide more details on why I am having issues?

Chris


From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Andrea Aime
Sent: 10 May 2017 13:51
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk, configured and displayed it without any issue:

[Inline image 1]

I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)

Cheers
Andrea



On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
Hi Andrea

I have found I can add the individual GeoTIFFs using the GeoTIFF store, but for some reason the ImageMosaic is not liking them.

I have uploaded a file containing four GeoTIFF samples which I am trying to use as an ImageMosaic which is causing problems.

https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA

Thanks, Chris



From: ***@gmail.com<mailto:***@gmail.com> [mailto:***@gmail.com<mailto:***@gmail.com>] On Behalf Of Andrea Aime
Sent: 10 May 2017 10:15
To: Chris Buckmaster
Cc: geoserver-***@lists.sourceforge.net<mailto:geoserver-***@lists.sourceforge.net>
Subject: Re: [Geoserver-users] 400: Problem communicating with Geoserver

On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <***@runnymede.gov.uk<mailto:***@runnymede.gov.uk>> wrote:
My previous Geoserver version was 2.5 so has anything changed between 2.5 and 2.11 in relation to the ImageMosaic format that I might need to tweak?

Heh... 2.5 series is 3 years old and by now image mosaic code has been deeply modified since
then (I see 161 commits in that module alone since March 2014), long story short,
I have no clue as to what might have changed that is specific to your case, sorry! :-)

If you can share a sample mosaic that replicates the issue we might have a look, or else,
you could try bisecting the release history and see when it stops working (e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to a specific
release in which it worked, and the next one in which it stopped working, that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.

Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313<tel:+39%200584%20962313>
fax: +39 0584 1660272<tel:+39%200584%20166%200272>
mob: +39 339 8844549<tel:+39%20339%20884%204549>

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------
Andrea Aime
2017-05-11 13:47:52 UTC
Permalink
Not really,
this is a 10+ years old issue with readers, the initial grid coverage API
was designed in such a way that GeoServer
does not get any error message when creation fails, and we never had
sponsoring to fix that (large work, need to change
each and every reader to start doing so, but only if a certain parameter
asking for an error is passed down).

Suggestion, try to setup the logging in "GEOTOOLS_DEVELOPER" mode, and then
check the logs generated during
the failed attempt to create the reader, that _should_ provide some useful
information.

Cheers
Andrea


On Thu, May 11, 2017 at 3:39 PM, Chris Buckmaster <
Post by Chris Buckmaster
Hi Andrea / list
Trying to re-save my raster data store which contains the GeoTIFFs I am
Failed to create reader from file://D:\data\rasters\aerials\2008 and
hints Hints: STYLE_FACTORY = StyleFactoryImpl FORCE_AXIS_ORDER_HONORING =
http LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-8
GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = null
FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FILTER_FACTORY =
FilterFactoryImpl EXECUTOR_SERVICE = java.util.concurrent.
queued tasks = 0, completed tasks = 0] FEATURE_FACTORY =
I cannot decode this but might provide more details on why I am having issues?
Chris
Of *Andrea Aime
*Sent:* 10 May 2017 13:51
*To:* Chris Buckmaster
*Subject:* Re: [Geoserver-users] 400: Problem communicating with Geoserver
Hi,
I threw those tiles at a 2.11.0 (official release) sitting on my disk,
[image: Inline image 1]
I'm attaching the config files that GeoServer generated, you might get some
luck comparing them with yours (I called the directory "mosaic_not_working"
so all the files got that name, sorry :-p)
Cheers
Andrea
On Wed, May 10, 2017 at 11:32 AM, Chris Buckmaster <
Hi Andrea
I have found I can add the individual GeoTIFFs using the GeoTIFF store,
but for some reason the ImageMosaic is not liking them.
I have uploaded a file containing four GeoTIFF samples which I am trying
to use as an ImageMosaic which is causing problems.
https://drive.google.com/open?id=0B2aZYtDBFeWpSFJ6aTlUN09zSTA
Thanks, Chris
Of *Andrea Aime
*Sent:* 10 May 2017 10:15
*To:* Chris Buckmaster
*Subject:* Re: [Geoserver-users] 400: Problem communicating with Geoserver
On Wed, May 10, 2017 at 10:31 AM, Chris Buckmaster <
My previous Geoserver version was 2.5 so has anything changed between 2.5
and 2.11 in relation to the ImageMosaic format that I might need to tweak?
Heh... 2.5 series is 3 years old and by now image mosaic code has been
deeply modified since
then (I see 161 commits in that module alone since March 2014), long story short,
I have no clue as to what might have changed that is specific to your case, sorry! :-)
If you can share a sample mosaic that replicates the issue we might have a look, or else,
you could try bisecting the release history and see when it stops working (e.g., try
2.8, if it fails try 2.6 and 2.7, otherwise try 2.9 and 2.10, until you get to a specific
release in which it worked, and the next one in which it stopped working, that would
help reduce the history of changes to a smaller set).
Personally I'd go for the sample mosaic.
Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
Loading...