[Geoserver-users] KML reflector - Path too long

Hi,

I’ve run in to an issue with a long list of layer names being passed to the KML reflector (the URL is about 2000 characters long with all the layer names). I keep getting a response “Failed – Path too long”. I couldn’t find any docs on the the path limit, does anyone know if there is a hard limit?

I did update the maxHeaderSize in tomcat to 64k, but it keeps failing. Does anyone know if there’s a way to just pull all the layers for a workspace without passing a list of layers? Would this work with POST?

Thanks,
Wayne

Hi Graham,
I doubt this is a GeoServer specific thing.
http://stackoverflow.com/questions/1051485/what-is-the-character-limit-on-url - might help?

In short - generally speaking URL’s are restricted to about 2000 characters it seems.

Jonathan

On 13 March 2013 15:13, Graham, Wayne (wsg4w) <wsg4w@anonymised.com> wrote:

Hi,

I’ve run in to an issue with a long list of layer names being passed to the KML reflector (the URL is about 2000 characters long with all the layer names). I keep getting a response “Failed – Path too long”. I couldn’t find any docs on the the path limit, does anyone know if there is a hard limit?

I did update the maxHeaderSize in tomcat to 64k, but it keeps failing. Does anyone know if there’s a way to just pull all the layers for a workspace without passing a list of layers? Would this work with POST?

Thanks,
Wayne


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Wayne,

you're right, unlike the GET request the POST request has no such
restriction.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/KML-reflector-Path-too-long-tp5040146p5040496.html
Sent from the GeoServer - User mailing list archive at Nabble.com.