Hello Paul,
Your reply was a good surprise. I didn’t get my original message back to my inbox from the geoserver user list so I thought it wasn’t delivered.
Many thanks for the information, it was enough to fix the situation.
What I did:
- Created a folder for cache, inside geoserver data folder (/var/lib/tomcat6/geoserver/data/cache)
- Granted tomcat6 permission to the cache folder
- Inserted into ../WEB-INFO/web.xml file :
“<context-param>
<param-name>GEOWEBCACHE_CACHE_DIR</param-name>
<param-value>/var/lib/tomcat6/geoserver/data/cache</param-value>
</context-param>”
- Restarted tomcat
Cheers,
Rodrigo
Em 30/09/2013 05:17, Paul Meems escreveu:
Hi Rodrigo,
I had the same problem. By default the tiles are stored in the temp folder of Tomcat, which gets flushed on a restart.
You have to setGEOWEBCACHE_CACHE_DIR to another folder.
Here's my thread with some additional info:
http://osgeo-org.1560.x6.nabble.com/Re-bulk-Location-of-geowebcache-folder-td5012180.html
Met vriendelijke groet,
Paul Meems
*Paul Meems
*Senior GIS consultant
06-53989481
TopX Geo-ICT <http://www.topx-geo-ict.nl>
<http://topx-group.nl/topx-geo-ict>Wij bieden ondersteuning
voor MapWindow GIS <http://www.mapwindow.org/>
2013/9/27 Rodrigo Nascimento Hernandez <rodrigo@anonymised.com <mailto:rodrigo@anonymised.com>>
Hello there,
I’m new to geoserver and to this user list as well. I tried to
find answers to my problem in the list archives and google but
can’t find any, maybe I’m not looking into the right direction.
Every time I stop and start (or simply restart), tomcat, the disk
quota option becomes disabled and all the cached tiles are gone
away. There’s anything I can do to prevent this? There’s any
option to graceful shutoff geoserver before stopping tomcat?
This geoserver installation is running on Linux Debian 6.
Geoserver version:
"Version 2.4.0
Git Revision 6ca656addbb3fa3b47cc409b6d035f90e04c11f9
Build Date 18-Sep-2013 20:42
GeoTools Version 10.0 (rev 115fd1004418702455df7bae10e90f7c14d8fa64)
GeoWebCache Version 1.5.0 (rev
1.5.x/f981cafd349886bb2a1ef45067f26b1aa8e4aff4)"
English is not my native language, sorry for any bad grammar in here.
Salute,
Rodrigo
-- Rodrigo Nascimento Hernandez MinasAmbiente Eng. LTDA
http://www.minasambiente.com.br (31) 2551-5452
<tel:%2831%29%202551-5452> (31) 9188-4986
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get
the most from
the latest Intel processors and coprocessors. See abstracts and
register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Rodrigo Nascimento Hernandez MinasAmbiente Eng. LTDA http://www.minasambiente.com.br (31) 2551-5452 (31) 9188-4986