On Wed, Jul 20, 2011 at 1:37 PM, Tilo Wütherich <[email protected]> wrote: > Hi Andrea, > > [DMAX_FILTER_RULES] >> That flag has been added in October 2009 so it should be there. However >> I don't exactly remember how to add it to the windows service version >> of GeoServer, >> there is a file to change that has all the JVM configuration options >> for the service I think > > I have made some tests: > > - inserting a "wrapper.java.additional."-parameter in wrapper.conf > > - inserting a "...<param-name>MAX_FILTER_RULES</param-name>..." in web.xml > > - inserting a system-variable "MAX_FILTER_RULES" in the windows-server > environment-vars (this is what geoserver-doc recommends). > > Nothing of this helped. On a second view, this is not surprising. As Thomas > Klein wrote on Thursday, 14.7.2011: > >>The geoserver stops passing through filters which are longer than 20 >>elements (which is defined by the default value in >>org.geotools.renderer.lite.StreaingRenderer). The value could be passed to >>the StreamingRenderer by the DefaultRasterMapProducer but it always adds >>null to the renderinghints so the default value of 20 is used > > If he is right, wouldn't it mean that every config-value will be modified or > overwritten? So it seems to be a bug. May I open a bugticket?
This is undocumented behavior so I'm not surprised it might got broken in the meantime. Feel free to open a ticket, thought there is something odd in the above explanation, the default max filters in StreamingRenderer is 5, not 20, which is instead the geoserver default value, if null was set we'd see 5 as the limit. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
