Arne, Jukka,

my directory setting is:
  <context-param>
    <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
    <param-value>/geocache/gwc</param-value>
  </context-param>

The symlink is set to 777 and user:group tomcat6:tomcat6

The target directory is set to 777 and user:group tomcat6:tomcat6

When I restart geoserver in the Tomcat Web Application Manager I find:
----- 
Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[org.geowebcache.storage.metastore.jdbc.JDBCMetaBackend]: Constructor threw 
exception; nested exception is org.geowebcache.storage.StorageException: Unable 
to create /data/geoserver/data/gwc/meta_jdbc_h2 for H2 database.
-----
In the tomcat log.

When I try the same with a directory on the same physical drive, this works. It 
sounds crazy, but I do not find the point with the mistake.

Hope you have some further hints for me

Wolfgang

-----Original Message-----
From: Rahkonen Jukka [mailto:[email protected]] 
Sent: Saturday, December 11, 2010 2:43 PM
To: Arne Kepp; Wolfgang Wasserburger
Cc: [email protected]
Subject: Re: [Geoserver-users] GeoWebCache - Additional Volume

Hi,

No need to move the whole data dir. I have in a file
D:\Program Files\Tomcat 6.0\webapps\geoserver\WEB-INF\web.xml additional lines

  <context-param>
               <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
               <param-value>F:\data\gwc_data</param-value>
     </context-param> 

This is on Windows XP, Geoserver 2.0.2.

-Jukka Rahkonen-

> -----Alkuperäinen viesti-----
> Lähettäjä: Arne Kepp [mailto:[email protected]] 
> Lähetetty: 11. joulukuuta 2010 14:15
> Vastaanottaja: Wolfgang Wasserburger
> Kopio: [email protected]
> Aihe: Re: [Geoserver-users] GeoWebCache - Additional Volume
> 
> You have to set GEOSERVER_DATA_DIR and move the entire data directory.
> 
> What error messages do you get if you symlink the gwc directory? It 
> should work, there's nothing in GWC that tests whether it's a 
> symlink or 
> not. Make sure the permissions are correct.
> 
> -Arne
> 
> 
> On 12/11/10 12:58 PM, Wolfgang Wasserburger wrote:
> > Hi,
> >
> > I am using GeoServer 2.0.2 and the bundled GeoWebCache. 
> Since I want to seed a huge area, I mounted an additional 
> disk where the cache should reside. I tried to set the path 
> via web.xml; this didn't work and I knew from the mailing 
> list, that this is really not working, but tried the 
> described workaround to create a symbolic link under linux. 
> This worked as long as the target directory is on the same 
> volume as the installation, but GeoServer could not be 
> restarted, when I changed the link to a directory residing on 
> the new disk.
> > Does anyone know a further workaround or will my new disk 
> stay useless?
> >
> > Thx in advance and greetings from Vienna
> >
> > Wolfgang
> >
> >
> > 
> --------------------------------------------------------------
> ----------------
> > Oracle to DB2 Conversion Guide: Learn learn about native 
> support for PL/SQL,
> > new data types, scalar functions, improved concurrency, 
> built-in packages,
> > OCI, SQL*Plus, data movement tools, best practices and more.
> > http://p.sf.net/sfu/oracle-sfdev2dev
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> --------------------------------------------------------------
> ----------------
> Oracle to DB2 Conversion Guide: Learn learn about native 
> support for PL/SQL,
> new data types, scalar functions, improved concurrency, 
> built-in packages, 
> OCI, SQL*Plus, data movement tools, best practices and more.
> http://p.sf.net/sfu/oracle-sfdev2dev 
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 



------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to