Hi,

after upgrade to GeoServer 2.7.0 (running under Tomcat
6.0.41-2+squeeze6, Oracle Java 1.7.0.76, Linux Debian 64bit) I have
problems with a layer that used to work with 2.6.2.

The layer is accessed using the global /gwc/service/gmaps Service.
Example:
http://<server>/geoserver/gwc/service/gmaps?layers=naturpark:v_np_border&zoom=9&x=267&y=178&format=image/png8

Shortly after a restart of Tomcat everything is working as expected.
After some time (30min) a status 400-Page (text/html) is returned:
> GeoWebCache
> 400: Current styles of layer not available.

The error persists until the next server restart.

This is what is in the log for a failed request (DEBUG Logging):
> 2015-03-26 14:40:21,917 DEBUG [ows.OWSHandlerMapping] - Matching patterns for 
> request [/gwc/service/gmaps] are [/gwc/service/**]
> 2015-03-26 14:40:21,917 DEBUG [ows.OWSHandlerMapping] - URI Template 
> variables for request [/gwc/service/gmaps] are {}
> 2015-03-26 14:40:21,918 DEBUG [ows.OWSHandlerMapping] - Mapping 
> [/gwc/service/gmaps] to HandlerExecutionChain with handler 
> [org.geoserver.ows.Dispatcher@330860c5] and 1 interceptor
> 2015-03-26 14:40:21,928 ERROR [geowebcache.GeoWebCacheDispatcher] - Current 
> styles of layer not available. http://<server>/geoserver/gwc/service/gmaps
> 2015-03-26 14:40:21,928 DEBUG [geowebcache.GeoWebCacheDispatcher] - Current 
> styles of layer not available.
> 2015-03-26 14:40:21,935 DEBUG [geoserver.filters] - Compressing output for 
> mimetype: text/html
> 2015-03-26 14:40:21,937 DEBUG 
> [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder 
> now cleared, as request processing completed
> 2015-03-26 14:40:21,987 TRACE [ows.OWSHandlerMapping] - No handler mapping 
> found for [/gwc/rest/web/geowebcache_logo.png]
> 2015-03-26 14:40:21,990 DEBUG [geoserver.filters] - Not compressing output 
> for mimetype: image/png
> 2015-03-26 14:40:21,992 DEBUG 
> [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder 
> now cleared, as request processing completed

For comparison, this is the log of a successfull request:
> 2015-03-26 14:42:28,719 DEBUG [ows.OWSHandlerMapping] - Matching patterns for 
> request [/gwc/service/gmaps] are [/gwc/service/**]
> 2015-03-26 14:42:28,720 DEBUG [ows.OWSHandlerMapping] - URI Template 
> variables for request [/gwc/service/gmaps] are {}
> 2015-03-26 14:42:28,720 DEBUG [ows.OWSHandlerMapping] - Mapping 
> [/gwc/service/gmaps] to HandlerExecutionChain with handler 
> [org.geoserver.ows.Dispatcher@336cb83c] and 1 interceptor
> 2015-03-26 14:42:28,726 DEBUG [geotools.util] - InterpolationConverterFactory 
> can be applied from Strings to Interpolation  only.
> 2015-03-26 14:42:28,762 DEBUG [geoserver.filters] - Not compressing output 
> for mimetype: image/png
> 2015-03-26 14:42:28,764 DEBUG 
> [filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder 
> now cleared, as request processing completed

Anybody got a clue whats the problem here?

Regards,
Johannes


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to