[GeoNetwork-users] Data directory

Hi all,

Is it possible to configure the 'data' directory, where uploaded data is stored to a different one than <GN-installation>/data or is the best way just to symlink it to somewhere else?

Cheers,
    Michael

--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia

Hi Michael,

Have a look to the config.xml file in
your <GN-installation>/web/geonetwork/WEB-INF/ repository, there is an
"uploadDir" parameter in the first fives lines.
Feel free to change it and to re-launch your GN instance.

ciao,

Mathieu

On Wed, Jan 13, 2010 at 10:50 AM, <Michael.Stegherr@anonymised.com> wrote:

Hi all,

Is it possible to configure the 'data' directory, where uploaded data is
stored to a different one than <GN-installation>/data or is the best way
just to symlink it to somewhere else?

Cheers,
   Michael

--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

and also in the same config file you have a parameter dataDir such as below
...

<appHandler class="org.fao.geonet.Geonetwork">
       <param name="luceneDir" value="WEB-INF/lucene" />
       <param name="htmlCacheDir" value="schematronCache" />
       <param name="schemaMappings" value="schema-mappings.xml" />
       <param name="dataDir" value="../../data" />
       ...
</appHandler>

ciao,

Mathieu

On Wed, Jan 13, 2010 at 12:53 PM, Mathieu Coudert <
mathieu.coudert@anonymised.com> wrote:

Hi Michael,

Have a look to the config.xml file in
your <GN-installation>/web/geonetwork/WEB-INF/ repository, there is an
"uploadDir" parameter in the first fives lines.
Feel free to change it and to re-launch your GN instance.

ciao,

Mathieu

On Wed, Jan 13, 2010 at 10:50 AM, <Michael.Stegherr@anonymised.com> wrote:

Hi all,

Is it possible to configure the 'data' directory, where uploaded data is
stored to a different one than <GN-installation>/data or is the best way
just to symlink it to somewhere else?

Cheers,
   Michael

--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Mathieu Coudert

Camptocamp France SAS
18 Avenue de l'Europe
31520 Ramonville Saint Agne

Tel: +33 (0)5 16 57 01 03
http://www.camptocamp.com

Hi Mathieu,

Great, thanks for the info!

I'm assuming both directories have to be write-accessible by Tomcat (or any other servlet engine you're running)?

Cheers,
   Michael

-----Original Message-----
From: Mathieu Coudert [mailto:mathieu.coudert@anonymised.com]
Sent: Wednesday, 13 January 2010 7:56 PM
To: Stegherr, Michael (CESRE, Kensington)
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Data directory

and also in the same config file you have a parameter dataDir
such as below ...

<appHandler class="org.fao.geonet.Geonetwork">
       <param name="luceneDir" value="WEB-INF/lucene" />
       <param name="htmlCacheDir" value="schematronCache" />
       <param name="schemaMappings" value="schema-mappings.xml" />
       <param name="dataDir" value="../../data" />
       ...
</appHandler>

ciao,

Mathieu

On Wed, Jan 13, 2010 at 12:53 PM, Mathieu Coudert
<mathieu.coudert@anonymised.com> wrote:

  Hi Michael,

  Have a look to the config.xml file in your
<GN-installation>/web/geonetwork/WEB-INF/ repository, there
is an "uploadDir" parameter in the first fives lines.
  Feel free to change it and to re-launch your GN instance.

  ciao,

  Mathieu

  On Wed, Jan 13, 2010 at 10:50 AM,
<Michael.Stegherr@anonymised.com> wrote:
  
    Hi all,
    
    Is it possible to configure the 'data'
directory, where uploaded data is stored to a different one
than <GN-installation>/data or is the best way just to
symlink it to somewhere else?
    
    Cheers,
       Michael
    
    --
    Michael Stegherr, Computer Scientist
    CSIRO Exploration and Mining | Phone 08 6436 8572
    AARC, 26 Dick Perry Av, Kensington WA 6151, Australia
    
--------------------------------------------------------------
----------------
    This SF.Net email is sponsored by the Verizon
Developer Community
    Take advantage of Verizon's best-in-class app
development support
    A streamlined, 14 day to market process makes
app distribution fast and easy
    Join now and get one step closer to millions of
Verizon customers
    http://p.sf.net/sfu/verizon-dev2dev
    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
    
--
Mathieu Coudert

Camptocamp France SAS
18 Avenue de l'Europe
31520 Ramonville Saint Agne

Tel: +33 (0)5 16 57 01 03
http://www.camptocamp.com

Hi Mickeal,

On Thu, Jan 14, 2010 at 5:06 AM, <Michael.Stegherr@anonymised.com> wrote:

Hi Mathieu,

Great, thanks for the info!

I'm assuming both directories have to be write-accessible by Tomcat (or any
other servlet engine you're running)?

You're right.

ciao,
Mathieu

Cheers,
  Michael

> -----Original Message-----
> From: Mathieu Coudert [mailto:mathieu.coudert@anonymised.com]
> Sent: Wednesday, 13 January 2010 7:56 PM
> To: Stegherr, Michael (CESRE, Kensington)
> Cc: geonetwork-users@lists.sourceforge.net
> Subject: Re: [GeoNetwork-users] Data directory
>
> and also in the same config file you have a parameter dataDir
> such as below ...
>
> <appHandler class="org.fao.geonet.Geonetwork">
> <param name="luceneDir" value="WEB-INF/lucene" />
> <param name="htmlCacheDir" value="schematronCache" />
> <param name="schemaMappings" value="schema-mappings.xml" />
> <param name="dataDir" value="../../data" />
> ...
> </appHandler>
>
>
> ciao,
>
>
> Mathieu
>
>
> On Wed, Jan 13, 2010 at 12:53 PM, Mathieu Coudert
> <mathieu.coudert@anonymised.com> wrote:
>
>
> Hi Michael,
>
> Have a look to the config.xml file in your
> <GN-installation>/web/geonetwork/WEB-INF/ repository, there
> is an "uploadDir" parameter in the first fives lines.
> Feel free to change it and to re-launch your GN instance.
>
> ciao,
>
> Mathieu
>
>
> On Wed, Jan 13, 2010 at 10:50 AM,
> <Michael.Stegherr@anonymised.com> wrote:
>
>
> Hi all,
>
> Is it possible to configure the 'data'
> directory, where uploaded data is stored to a different one
> than <GN-installation>/data or is the best way just to
> symlink it to somewhere else?
>
> Cheers,
> Michael
>
> --
> Michael Stegherr, Computer Scientist
> CSIRO Exploration and Mining | Phone 08 6436 8572
> AARC, 26 Dick Perry Av, Kensington WA 6151, Australia
>
>
> --------------------------------------------------------------
> ----------------
> This SF.Net email is sponsored by the Verizon
> Developer Community
> Take advantage of Verizon's best-in-class app
> development support
> A streamlined, 14 day to market process makes
> app distribution fast and easy
> Join now and get one step closer to millions of
> Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>