Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below an configuration example (archiveServerConfig.xml) is shown.

Code Block
<arc:archiveServer xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/archiveServer.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <archiveEnvironmentName>My environment</archiveEnvironmentName>
    <catalogueIndexFolder>d:\archive\cataloguefolder</catalogueIndexFolder>
    <arc:baseUrlFileServer>http://localhost:8080/thredds/fileServer/Archive</arc:baseUrlFileServer>
    <arc:baseUrlArchiveRootFolder>file:///d:\fews\archive</arc:baseUrlArchiveRootFolder>
</arc:archiveServer>

 

The tag catalogueIndexFolder can be used to configure a custom location for storing the archive data.

The following steps are required to apply solution 2:

  • stop the archive server,
  • remove the old catalogue folder (root folder/catalogue),
  • configure a custom (local) location for the catalogue folder,
  • create the folder which is configured in the archiveServerConfig.xml and check that the user which runs the archive server (tomcat) has sufficient access rights to access this folder,
  • start the archive server,
  • start the clean catalogue task,
  • rebuild the archive build by running the harvester.