Hi Tam,
I've had similar. For whatever reason GeoServer was unable to render one of
the tiles within the rendering time (12,000 seconds!!).
>From this line:

> allowed and has been forcefully stopped. Max rendering time is 12000.0s


When this happens, the entire tiling thread that called that request then
gets cancelled and thus GeoServer doesn't even bother trying. That's what
this line means:

> Problem communicating with GeoServer



So the real question is - why is one of your tiles failing to render in
12,000 seconds (3.3hrs!).
I suspect this is the root cause:

> Caused by:

org.geotools.referencing.operation.projection.ProjectionException: Latitude

90°10.5'S is too close to a pole.


You've got a value slightly larger than 90 for your North/South. Looking at
your BBOX, you have:

> BBox: -180 -91 180 91


Try using just 90. In fact, you shouldn't even need to declare a BBOX if
you're doing the entire planet so just leave it blank.

Cheers,
Jonathan

On 15 February 2014 01:59, tt5430 <[email protected]> wrote:

> Hi,
>
> I have a PostGIS tiled layer that contains north-america OSM data.  I tried
> to seed it using GeoWebCache.  Below are the seeding parameters:
>
> Number of tasks: 4
> Type of operation: Reseed
> Gridset: EPSG:4326 (Dataset SRS: EPSG:3857)
> Format: png8
> Zoom start: 0
> Zoom stop: 15
> Style : polygon
> BBox: -180 -91 180 91
>
> MetaTilingFactor: 6x6
> WMS Max Redening Time: 12000 (anticipate the seeding will take long)
>
>
> After I entered submit, I saw this in Tomcat log:
> 14 Feb 13:18:49 INFO [seed.SeedTask] - GWC Seeder Thread-5 begins seeding
> layer : osm:north_america_polygon
> 14 Feb 13:18:49 INFO [seed.SeedTask] - GWC Seeder Thread-6 begins seeding
> layer : osm:north_america_polygon
> 14 Feb 13:18:49 INFO [seed.SeedTask] - GWC Seeder Thread-8 begins seeding
> layer : osm:north_america_polygon
> 14 Feb 13:18:49 INFO [seed.SeedTask] - GWC Seeder Thread-7 begins seeding
> layer : osm:north_america_polygon
>
> Did not see anything showed up on the log until after about 3 hours, the
> following messages showed up:
>
> 14 Feb 16:34:06 ERROR [geoserver.ows] -
> org.geoserver.platform.ServiceException: This requested used more time than
> allowed and has been forcefully stopped. Max rendering time is 12000.0s
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:499)
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:251)
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123)
>         at org.geoserver.wms.GetMap.executeInternal(GetMap.java:521)
>         at org.geoserver.wms.GetMap.run(GetMap.java:253)
>         at org.geoserver.wms.GetMap.run(GetMap.java:124)
>         at
>
> org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:328)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> ...
>
> 14 Feb 16:34:06 ERROR [seed.MTSeeder] - Problem communicating with
> GeoServer
> org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer
>         at
>
> org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:517)
>         at
>
> org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:706)
>         at
> org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136)
>         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:262)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got
> null
>         at
>
> org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:570)
>         at
>
> org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:512)
>         ... 9 more
>
> ....
>
> Caused by:
> org.geotools.referencing.operation.projection.ProjectionException: Latitude
> 90°10.5'S is too close to a pole.
>         at
>
> org.geotools.referencing.operation.projection.Mercator$Spherical.transformNormalized(Mercator.java:209)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:883)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:924)
>         at
>
> org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.java:237)
>         at org.geotools.referencing.CRS.transform(CRS.java:1319)
>         at org.geotools.referencing.CRS.transform(CRS.java:1385)
>         at
>
> org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:678)
>         at
>
> org.geotools.renderer.crs.ProjectionHandler.getQueryEnvelopes(ProjectionHandler.java:133)
>         at
>
> org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1048)
>         ... 47 more
> 14 Feb 16:34:06 ERROR [geotools.rendering] - Error transforming bbox
> java.lang.Exception: Error transforming bbox
>         at
>
> org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1068)
>         at
>
> org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2009)
>         at
>
> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:837)
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:481)
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:251)
>         at
>
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123)
>         at org.geoserver.wms.GetMap.executeInternal(GetMap.java:521)
>         at org.geoserver.wms.GetMap.run(GetMap.java:253)
>         at org.geoserver.wms.GetMap.run(GetMap.java:124)
>
> Caused by:
> org.geotools.referencing.operation.projection.ProjectionException: Latitude
> 90°10.5'S is too close to a pole.
>         at
>
> org.geotools.referencing.operation.projection.Mercator$Spherical.transformNormalized(Mercator.java:209)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:883)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:924)
>         at
>
> org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.java:237)
>         at org.geotools.referencing.CRS.transform(CRS.java:1319)
>         at org.geotools.referencing.CRS.transform(CRS.java:1385)
>         at
>
> org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:678)
>         at
>
> org.geotools.renderer.crs.ProjectionHandler.getQueryEnvelopes(ProjectionHandler.java:133)
>         at
>
> org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1048)
>         ... 47 more
> 14 Feb 16:34:06 WARN [geotools.rendering] - Got a tranform exception while
> trying to de-project the current envelope, falling back on full data
> loading
> (no bbox query)
> org.geotools.referencing.operation.projection.ProjectionException: Latitude
> 90°10.5'S is too close to a pole.
>         at
>
> org.geotools.referencing.operation.projection.Mercator$Spherical.transformNormalized(Mercator.java:209)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:883)
>         at
>
> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:924)
>         at
>
> org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.java:237)
>         at org.geotools.referencing.CRS.transform(CRS.java:1319)
>         at org.geotools.referencing.CRS.transform(CRS.java:1385)
>         at
>
> org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:678)
>         at
>
> org.geotools.renderer.crs.ProjectionHandler.getQueryEnvelopes(ProjectionHandler.java:133)
>
> I have no ideas what went wrong and appreciate someone can tell what I did
> wrong.  I need to be able to seed the layer.  Otherwise, the performance
> will be unacceptable.
>
> Many thanks in advance.
>
> Regards,
> Tam
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GeoWebCache-seeding-tp5103935.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED 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 transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to