[GeoNode-users] GeoWebCache in GeoNode 2.6

Annalisa Schiavon annalisa.schiavon at gmail.com
Thu Sep 14 01:40:18 PDT 2017


I've already setted the disk quota, but I was using H2 based Disk Quota.
How set another disk quota storage? Can I use Postgresql? The same DB of
geonode or of the data?
Here my uncomplete settings:


   - Disk Quota
      - Enable disk quota
      - Disk quota check frequency: Seconds
      (Last run: 5 s ago.)
      - Maximum tile cache size  MiB GiB TiB
      Using 33.62 MB of a maximum 500.0 GB
      - When enforcing disk quota limits, remove tiles that are:
         - Least frequently used
         - Least recently used
      - Disk quota store type In process database (H2) External database
         - Target database type Sceglierne uno H2 PostgreSQL Oracle
         - JDBC data source JNDI Data Source GeoServer managed connection
         pool
         -
            -
               - JDBC Driver class name
               - JDBC connection URL
               - User name
               - Password
               - Min. connections
               - Max. connections
               - Connection time out (ms)
               - Validation query
               - Max open prepared statements


   - SubmitCancel




I see this
http://geowebcache.org/docs/current/configuration/diskquotas.html#disk-quota-storage
but I don't know geowebcache, how to compile for geonode?

Thanks
Annalisa


2017-08-25 10:23 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it
>:

> By the way, it is highly recommended to *not* use H2 based Disk Quota on
> production systems.
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:     +39 0584 1660272 <+39%200584%20166%200272>
> mob:   +39 331 6233686 <+39%20331%20623%203686>
>
> 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.
>
> On Fri, Aug 25, 2017 at 10:22 AM, Alessio Fabiani <alessio.fabiani at geo-
> solutions.it> wrote:
>
>> Can you maybe try to set the Disk Quota of GWC.
>>
>> See here http://docs.geoserver.org/latest/en/user/geowebcache/
>> using.html#disk-quota
>>
>> and here http://docs.geoserver.org/latest/en/user/geowebcache/
>> webadmin/diskquotas.html#gwc-webadmin-diskquotas
>>
>> Regards,
>>
>> Alessio Fabiani
>>
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> 55054  Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>> (LU)
>> Italy
>> phone: +39 0584 962313 <0584%20962313>
>> fax:     +39 0584 1660272 <0584%20166%200272>
>> mob:   +39 331 6233686 <331%20623%203686>
>>
>> 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.
>>
>> On Thu, Jul 27, 2017 at 3:04 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> Hi Annalisa, I'm facing this issue as well, it may be similar to the
>>> layer preview issue. Could it @afabiani?
>>>
>>> 2017-07-24 13:46 GMT+02:00 Annalisa Schiavon <
>>> annalisa.schiavon at gmail.com>:
>>>
>>>> Hi all,
>>>> I tried to seed some cached layers from tile layers page of Geoserver
>>>> for some raster, but I always receive this error:
>>>>
>>>> Unknown or malformed request. Please try again, somtimes the form is not properly received. This frequently happens on the first POST after a restart. The POST was to /geoserver/gwc/rest/seed/geonode:Ortofoto2012
>>>>
>>>>
>>>> I restarted tomcat and apache, I tried with different layers, but I get
>>>> always the same error.
>>>> It may depend to the new "Blobstores" feature? Where I can get
>>>> documentation?
>>>>
>>>> My layers were cached, but I want to recreate tiles because I had an
>>>> error in the old disk-quota db.
>>>> I've created an xml for each layer in geoserver_data/gwc-layers dir and
>>>> browsing my maps, I see that tiles are created in geoserver_data/gwc dir,
>>>> but I can't create them manually.
>>>>
>>>> Thanks
>>>> Annalisa
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170914/89437793/attachment-0001.html>


More information about the geonode-users mailing list