Sorry about taking so long to respond.  I'd hoped to find some time to look
into it in a bit of depth but I've been rather busy. I can't think of
anything in particular that would cause this beyond, as Andrea said, the
setLayer method not being called or the state of the filter being cleared
after having been set.  Figuring out why that's happening (or not
happening) would require replicating it and doing some debugging.

On 26 March 2015 at 09:36, Andrea Aime <andrea.a...@geo-solutions.it> wrote:

> On Thu, Mar 26, 2015 at 4:15 PM, Johannes Engel <johannes.en...@gmx.de>
> wrote:
>
>> 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.
>>
>
> This is actually an exception throw by the StyleParameterFilter class, it
> seems the setLayer method
> never got called... but I don't know why. Kevin, do you have any clue?
>
> Cheers
> Andrea
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 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
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> -------------------------------------------------------
>



-- 

Kevin Smith

Software Engineer | Boundless <http://boundlessgeo.com/>

ksm...@boundlessgeo.com

+1-778-785-7459

@boundlessgeo <http://twitter.com/boundlessgeo/>


<http://twitter.com/boundlessgeo/>

[image: http://boundlessgeo.com/]
<http://boundlessgeo.com/>
------------------------------------------------------------------------------
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