On Fri, Oct 4, 2013 at 10:04 AM, Gabriel Vatin <
[email protected]> wrote:
> I switched from GS 2.3.0 to 2.4.0 yesterday evening, and here is the
> situation :
> - my WMS layers are still queryable, I can display it layer by layer on my
> web app or GS layer preview
> - the WMS GetCapabilities is still not working, this time due to a Timeout
> :
>
>
> 2013-10-04 10:00:04,142 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/ows]
> 2013-10-04 10:00:04,143 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/ows]
> 2013-10-04 10:00:04,143 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
> Mapping [/ows] to HandlerExecutionChain with handler
> [org.geoserver.ows.Dispatcher@4ef93a2a] and 1 interceptor
> 2013-10-04 10:00:04,144 INFO [org.geoserver.wms] -
> Request: getServiceInfo
> 2013-10-04 10:00:04,149 INFO [org.geoserver.wms] -
> Request: getCapabilities
> (...)
> 2013-10-04 10:00:10,381 TRACE [org.geoserver.ows.OWSHandlerMapping] - No
> handler mapping found for [/web/]
> 2013-10-04 10:00:10,382 DEBUG [org.geoserver] - Thread 92 locking in mode
> WRITE
> 2013-10-04 10:00:10,382 DEBUG [org.geoserver] - Thread 92 got the lock in
> mode WRITE
> 2013-10-04 10:00:10,390 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/css/blueprint/screen.cssto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,391 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/css/blueprint/print.cssto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,393 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/css/geoserver.cssto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,394 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/css/blueprint/ie.cssto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,396 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/js/jquery-1.2.6.min.jsto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,397 DEBUG [org.geoserver.web] - cannot convert url:
> jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/web-core-2.4.0.jar!/org/geoserver/web/js/jquery.inline-info.jsto
> file (URI is not hierarchical), falling back to the inputstream for
> polling
> 2013-10-04 10:00:10,486 DEBUG [org.geoserver] - Thread 92 releasing the
> lock in mode WRITE
> 2013-10-04 10:00:10,486 DEBUG [org.geoserver.filters] - Compressing output
> for mimetype: text/html;charset=UTF-8
> 2013-10-04 10:00:10,492 DEBUG
> [org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1]
> - SecurityContextHolder now cleared, as request processing completed
> 2013-10-04 10:00:21,797 INFO [org.geoserver.wms] - Failed to determin if
> the layer is queryable, assuming it's not
> org.apache.commons.httpclient.ConnectTimeoutException: The host did not
> accept the connection within timeout of 30000 ms
>
Hum... this an attempt to connect to a remote (cascaded) wms server, which
failed, but it used up to 30s to try doing that, slowing down
the generation of the capabilities document (this is done to see if the
remote server allows getfeatureinfo on the layers, and using
which formats)
You can either reduce the timeout (should be a parameter in the wms config
dialog), or disable that cascaded wms server.
Or sponsor a code change that allows GeoServer to cache such information,
so that it does not try to determine it every time a caps
document is generated.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users