You can just use JVM properties like

-DGEOWEBCACHE_CACHE_DIR=<path_to_tile_cache>

and

-DGEOSERVER_DATA_DIR=<path_to_geoserver_config_dir>

in order to move your folders somewhere else in the system.


Best 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
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

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 Wed, Sep 7, 2016 at 6:05 PM, Paolo Pasquali <[email protected]>
wrote:

> Ralph,
> the GWC documentation says so. I guess that if I want to set a different
> folder for the cached tiles I have to add this to the web.xml:
>
> <context-param>
>    <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
>    <param-value>/my/new/gwc/folder/</param-value>
> </context-param>
>
> By default it is not set in web.xml. And if it is not set, according to
> the documentation, the gwc tiles folder should be in the geoserver/data
> folder. But it is not.
> I have a lot of cached tiles somewhere and I want to move them but I
> cannot find them.
>
>
>
>
>
> On Wed, Sep 7, 2016 at 5:40 PM, Ralph Dell <[email protected]>
> wrote:
>
>> I am not familiar with geonode so this may or may not be helpful. A quick
>> web search indicates to me the when setting up geoserver for geonode
>> geoserver runs under tomcat. If your geoserver is running under tomcat gwc
>> is set up in /webapps/geoserver/WEB_INF/web.xml and will look something
>> like this
>>
>> <context-param>
>>    <param-name>GEOSERVER_DATA_DIR</param-name>
>>    <param-value>C:\geoserver\data_dir</param-value>
>> </context-param>
>>
>> -----Original Message-----
>> From: Paolo Pasquali [mailto:[email protected]]
>> Sent: Wednesday, September 07, 2016 11:23 AM
>> To: [email protected]
>> Subject: [Geoserver-users] GeoWebCache configuration in GeoNode
>>
>> I have a GeoNode 2.4.x running with a GeoServer 2.7-snapshot.
>>
>> Since there is no gwc folder inside the GeoServer data folder I wonder
>> where GWC stores the cached tiles. In addition I can't find the
>> geowebcache.xml file.
>>
>> Thanks in advanced for your help.
>>
>> Best,
>>
>> Paolo
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/GeoWebCache-configuration-in-GeoNode-tp5284549.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------
>> ------------------
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to