Hello everybody,

I'm running Geoserver 2.11.2 on Java 1.8.0_144 32 bits on Amazon Linux
together with Tomcat 9. The plugins I have installed are imagemosaic,
imagepyramid, GeowebCache (internal) and Geofence.

Raster datasources are configured via the imagemosaic plugin and uses the
JNDI connection pooling. Granules are stored in a PostgreSQL database. All
raster granules have a time dimension.

When I start seeding a layer which only contains a single tiff in the
imagemosaic, seeding works fine and all tiles are created at the selected
zoomlevels. However when I apply the same method to an imagemosiac that
contains multiple tiffs, only tiles until zoomlevel 6 are generated. After
that the seeding stops with the following error:

2017-09-26 09:22:26,133 INFO [seed.GWCTask] - Thread group finished SEED
> task after 1.919 seconds
> 2017-09-26 09:22:26,133 ERROR [seed.MTSeeder] - Problem communicating with
> GeoServer
> org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer
> at
> org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:611)
> at
> org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:800)
> at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:141)
> at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)
> at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)
> at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException
> at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2344)
> at javax.media.jai.RenderedOp.copyData(RenderedOp.java:2299)
> at
> org.geoserver.gwc.layer.GeoServerMetaTile.createTile(GeoServerMetaTile.java:194)
> at
> org.geoserver.gwc.layer.GeoServerMetaTile.writeTileToStream(GeoServerMetaTile.java:100)
> at org.geowebcache.layer.TileLayer.saveTiles(TileLayer.java:679)
> at
> org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:608)
> ... 9 more



Is the imagemosaic plugin with multiple tiffs not compatible with
GeowebCache seeding?

I have also tried the imagepyramid plugin using the data format as
generated with gdal_retile. Seeding then also works for multiple tiffs.
However with the imagepyramid plugin I do not seem to be able to use a DB
for storing the granules or add a time dimension (which is essential). Is
this true or am I missing something?

Thank you for your help.

Kind regards,
Darell
------------------------------------------------------------------------------
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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to