I tried to edit the geowebcache-diskquota.xml adding the xml code for a
layer disk quota as in
<layerQuotas>
<layerQuota>
<layer>NaturalEarth:10m_railroads</layer>
<expirationPolicyName>LRU</expirationPolicyName>
<quota>
<value>100</value>
<units>MiB</units>
</quota>
</layerQuota>
</layerQuotas>
but it does not seem as a good idea.
Restarting GeoServer it trhows error in the log
2012-10-01 17:37:18,592 ERROR [diskquota.ConfigLoader] - Error loading
DiskQuota configuration from /opt/gwc/geowebcache-diskquota.xml: layerQuota
: layerQuota : layerQuota : layerQuota
---- Debugging information ----
message : layerQuota : layerQuota
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : layerQuota : layerQuota
class : org.geowebcache.diskquota.DiskQuotaConfig
required-type : java.util.ArrayList
line number : 13
-------------------------------. Deferring to a default (disabled)
configuration
com.thoughtworks.xstream.converters.ConversionException: layerQuota :
layerQuota : layerQuota : layerQuota
---- Debugging information ----
message : layerQuota : layerQuota
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : layerQuota : layerQuota
class : org.geowebcache.diskquota.DiskQuotaConfig
required-type : java.util.ArrayList
line number : 13
-------------------------------
Am I doing something really stupid?
Regards
Stefano
---------------------------------------------------
41.95581N 12.52854E
http://www.linkedin.com/in/stefanoiacovella
http://twitter.com/#!/Iacovellas
2012/10/1 Stefano Iacovella <[email protected]>
> Hi all
>
> The 2.2 user documentation states that "Individual layer quotas can be set
> in the layer’s
> *properties*<http://ubuntu1204x64vm:8080/geoserver_docs/user/webadmin/data/layers.html#webadmin-layers>page."
> I can't find the point, in the layer properties interface, where this can
> be done.
> Is it me or per layer disk quota is something yet under development?
>
> Thank you for your attention
>
> Regards
>
> Stefano
> ---------------------------------------------------
> 41.95581N 12.52854E
>
>
> http://www.linkedin.com/in/stefanoiacovella
>
> http://twitter.com/#!/Iacovellas
>
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users