[Geoserver-devel] Error while rendering ImagePyramid layer

Dear all,

I have properly configured Image Pyramid datastore. When I am trying to see layer preview I am able to see all 12 levels, except 13th level. It is the biggest one. It has over 4000*4000 granules. I know it is too big and it is not good, but I need to deal with this amount of tiles.

So in log I have:

11 Nov 16:16:41 DEBUG [data.shapefile] - Mapping and caching /var/lib/vz/geoserver/data/0/0.shx
11 Nov 16:16:41 ERROR [data.shapefile] - The following locker still has a lock: read on file:/var/lib/vz/geoserver/data/0/0.shp by org.geotools.data.shapefile.shp.ShapefileReader
11 Nov 16:16:41 ERROR [data.shapefile] - The following locker still has a lock: read on file:/var/lib/vz/geoserver/data/0/0.shx by org.geotools.data.shapefile.shp.IndexFile
11 Nov 16:16:41 DEBUG [data.shapefile] - Removed mapping for /var/lib/vz/geoserver/data/0/0.shx
11 Nov 16:16:41 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast path
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:335)

Caused by: org.geoserver.platform.ServiceException: org.geotools.data.DataSourceException: java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:898)

Caused by: org.geotools.data.DataSourceException: java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE
at org.geotools.gce.imagemosaic.ImageMosaicReader.(ImageMosaicReader.java:581)

Caused by: org.geotools.data.DataSourceException: java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE
at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:797)


Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE
at org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.(GTDataStoreGranuleCatalog.java:235)


Caused by: java.lang.IllegalArgumentException: Size exceeds Integer.MAX_VALUE
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:789)

If needed I can send full log.

I have Geoserver v. 2.3
Can I do something with it? Can you advice some code modification to make it works?

Hope to get some response. Thank you.

Best regards,
Agasha