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.css to 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.css to 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.css to 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.css to 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.js to 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.js to 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
(...)


Gabriel

Le 03/10/2013 16:12, Andrea Aime a écrit :
On Thu, Oct 3, 2013 at 10:29 AM, Gabriel Vatin <[email protected] <mailto:[email protected]>> wrote:

Despite the error being cut, the issue is here:

    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
         at
    
org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayerGroup(Capabilities_1_3_0_Transformer.java:1061)
         at
    
org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayerGroups(Capabilities_1_3_0_Transformer.java:1001)
         at
    
org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleLayers(Capabilities_1_3_0_Transformer.java:667)
         at
    
org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.handleCapability(Capabilities_1_3_0_Transformer.java:430)
         at
    
org.geoserver.wms.capabilities.Capabilities_1_3_0_Transformer$Capabilities_1_3_0_Translator.encode(Capabilities_1_3_0_Transformer.java:265)
         at
    
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:977)
         at
    
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:671)
         at
    
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:740)
         ... 85 more


That is, it blows up when dealing with layer groups.
Do you have nested layer groups in your configuration?
There was a bug in the 2.3.x series that resulted, I believe, in an error similar to the one you're experiencing:
http://jira.codehaus.org/browse/GEOS-5847

I believe Mauro (cc'ed) fixed it by 2.4.0, I don't think there is a 2.3.x release with the fix

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

Reply via email to