Hey all, this question relates to the stand alone geowebcache, not the
integrated one but hoping someone here can help as i've not heard anything
from the geowebcache mailing list.
I’m using the current release of geoserver and a stand alone geowebcache
along with the mapbox vector tile extension on tomcat 8.5.
I want to seed the tile cache for the
application/x-protobuf;type=mapbox-vector format but geowebcache errors when
I attempt to seed with this format. Other formats including png8 and geojson
work fine. Seeding in this format also works ok using the integrated
geowebcache in geoserver.
With logging set to debug I see the following stack trace when I initiate
the seed…
18 Apr 03:43:33 (GWC Seeder Thread-2) INFO [seed.SeedTask] - GWC Seeder
Thread-2 begins seeding layer : POLES
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG
[httpclient.MultiThreadedHttpConnectionManager] -
HttpConnectionManager.getConnection: config =
HostConfiguration[host=https://xxxxx, timeout = 0
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG
[httpclient.MultiThreadedHttpConnectionManager] - Getting free connection,
hostConfig=HostConfiguration[host=https://xxxx]
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - >> "GET
/wms?EXCEPTIONS=application%2Fvnd.ogc.se_xml&REQUEST=GetMap&FORMAT=application%2Fx-protobuf%3Btype%3Dmapbox-vector&SRS=EPSG%3A3857&BBOX=15512436.268307%2C-4808806.323477%2C95662469.628307%2C75341227.036523&VERSION=1.1.1&STYLES=&SERVICE=WMS&WIDTH=512&HEIGHT=512&TRANSPARENT=TRUE&LAYERS=map-insights%3APOLES
HTTP/1.1[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [httpclient.HttpMethodBase] -
Adding Host request header
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - >> "User-Agent:
Jakarta Commons-HttpClient/3.1[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - >> "Host:
xxxxxx[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - >> "[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "HTTP/1.1 200
[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "HTTP/1.1 200
[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - <<
"Cache-Control: max-age=43000, must-revalidate[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - <<
"Content-Disposition: inline; filename=map-insights-POLES[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - <<
"Content-Type: application/x-protobuf; type=mapbox-vector[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "Date: Tue,
18 Apr 2017 08:02:08 GMT[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "Expires:
Tue, 18 Apr 2017 19:58:48 GMT[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "Server:
nginx/1.10.1[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - <<
"X-Control-flow-delay-ms: 0[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - <<
"Content-Length: 0[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "Connection:
keep-alive[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [wire.header] - << "[\r][\n]"
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [httpclient.HttpMethodBase] -
Should NOT close connection in response to directive: keep-alive
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [httpclient.HttpConnection] -
Releasing connection back to connection manager.
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG
[httpclient.MultiThreadedHttpConnectionManager] - Freeing connection,
hostConfig=HostConfiguration[host=https://xxxxxx]
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG [util.IdleConnectionHandler] -
Adding connection at: 1492487013358
18 Apr 03:43:33 (GWC Seeder Thread-2) DEBUG
[httpclient.MultiThreadedHttpConnectionManager] - Notifying no-one, there
are no waiting threads
18 Apr 03:43:33 (GWC Seeder Thread-2) INFO [seed.GWCTask] - Thread group
finished SEED task after 0.122 seconds
18 Apr 03:43:33 (GWC Seeder Thread-2) ERROR [seed.MTSeeder] - All backends
(1) failed. Last request: 'https://xxxxx/wms?‘.
org.geowebcache.GeoWebCacheException: All backends (1) failed. Last request:
'https://xxxx/wms?’.
at
org.geowebcache.layer.wms.WMSHttpHelper.makeRequest(WMSHttpHelper.java:142)
at
org.geowebcache.layer.wms.WMSSourceHelper.makeRequest(WMSSourceHelper.java:88)
at
org.geowebcache.layer.wms.WMSLayer.doNonMetatilingRequest(WMSLayer.java:512)
at
org.geowebcache.layer.wms.WMSLayer.getNonMetatilingReponse(WMSLayer.java:473)
at
org.geowebcache.layer.wms.WMSLayer.seedTile(WMSLayer.java:326)
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:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
18 Apr 03:43:33 (http-nio-8080-exec-6) DEBUG [servlet.DispatcherServlet] -
Null ModelAndView returned to DispatcherServlet with name 'geowebcache':
assuming HandlerAdapter completed request handling
The requests hit geoserver and look fine so i'm expecting it's an issue
writing them to disk?
Anyone got any ideas? Sorry if this is OT.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geowebcache-mapbox-vetor-format-tp5317721.html
Sent from the GeoServer - User mailing list archive at Nabble.com.