Thanks for the hint. After adding 
<context-param>
            <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
            <param-value>Z:\data\gwc_data</param-value>
</context-param> 
to the web.xml it works.


-------- Original-Nachricht --------
> Datum: Mon, 31 Jan 2011 15:45:15 +0200
> Von: "Rahkonen Jukka" <[email protected]>
> An: "Matthias Ludwig" <[email protected]>, [email protected]
> Betreff: Re: [Geoserver-users] (no subject)

> Hi,
> 
> I was adviced to use a context parameter inside the web.xml document for
> controlling the cache location. Full path of the file in my installation is
> 
> D:\Program Files\Tomcat 6.0\webapps\geoserver\WEB-INF\web.xml
> and the context parameter section is like
> 
>    <context-param>
>                <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
>                <param-value>Z:\data\gwc_data</param-value>
>    </context-param> 
> 
> Geowebcache.xml is located at Z:\data\gwc_data. Tomcat restart was needed.
> And this in on Windows.
> 
> -Jukka Rahkonen-
>  
>     
> 
> > -----Alkuperäinen viesti-----
> > Lähettäjä: Matthias Ludwig [mailto:[email protected]] 
> > Lähetetty: 31. tammikuuta 2011 15:24
> > Vastaanottaja: [email protected]
> > Aihe: [Geoserver-users] (no subject)
> > 
> > Hello,
> > 
> > i have a problem with Geoserver 2.1-RC1 on top of Tomcat6 and 
> > GeoWebCache. GWC seems to work correct with the standard 
> > settings, but i can't find the cached tiles on harddrive. 
> > There is no gwc directory inside geoservers data dir. Also 
> > after creating the gwc folder it stayed empty. With the Jetty 
> > version it works like it should.
> > Where is gwc saving its tiles in a Tomcat environment? Where 
> > did I have to place the geowebcache.xml file to use a own 
> > coordinate system?
> > 
> > Here is my geowebcache.xml:
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> > 
> > <gwcConfiguration 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> > 
> >                   
> > xsi:noNamespaceSchemaLocation="http://geowebcache.org/schema/1
> > .2.2/geowebcache.xsd" 
> > 
> >                   xmlns="http://geowebcache.org/schema/1.2.2";>
> > 
> > <version>1.2.2</version>
> > 
> > <backendTimeout>120</backendTimeout>
> > 
> > 
> > 
> > <gridSets>
> > 
> >   <gridSet>
> > 
> >     <name>EPSG:26713</name>
> > 
> >     <srs><number>26713</number></srs>
> > 
> >     <extent>
> > 
> >       <coords>
> > 
> >         <double>589425</double>
> > 
> >         <double>4913959</double>
> > 
> >         <double>609519</double>
> > 
> >         <double>4928083</double>
> > 
> >       </coords>
> > 
> >     </extent>
> > 
> >     <scaleDenominators>
> > 
> >       <double>250000</double>
> > 
> >       <double>100000</double>
> > 
> >       <double>25000</double>
> > 
> >       <double>10000</double>
> > 
> >       <double>5000</double>
> > 
> >     </scaleDenominators>
> > 
> >     <tileHeight>200</tileHeight>
> > 
> >     <tileWidth>200</tileWidth>
> > 
> >   </gridSet>
> > 
> > </gridSets>
> > 
> > 
> > 
> > <layers>
> > 
> > 
> > 
> >   <wmsLayer>
> > 
> >     <name>spearfish</name>
> > 
> >     <gridSubsets>
> > 
> >       <gridSubset>
> > 
> >         <gridSetName>EPSG:26713</gridSetName>
> > 
> >       </gridSubset>
> > 
> >     </gridSubsets>  
> > 
> >     
> > <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
> > 
> >   </wmsLayer>
> > 
> >  
> > 
> > </layers>
> > 
> > </gwcConfiguration>
> > -- 
> > Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
> > Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
> > 
> > 
> > -- 
> > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> > 
> > --------------------------------------------------------------
> > ----------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even 
> > better price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> > February 28th, so secure your free ArcSight Logger TODAY! 
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > 

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to