Skip to content
François Prunayre edited this page Feb 23, 2015 · 17 revisions

Changes

Download

Download latest WAR http://file.titellus.net/eea-catalogues.tar.gz

Migration

Backup databases first:

  • Backup in pgadmin using Tar format
  • Create new db
  • Load plpgsql language using 'createlang plpgsql dbname'
  • Load backup using pgadmin

Backup webapps.

Backup data directory.

Tomcat configuration check

  • server.xml
  • URIEncoding="UTF-8" should be defined for connector used
  • Add JAVA_OPTS to /etc/sysconfig/tomcat
CATALOGUE_DATA_DIR=/var/local/gn_data
JAVA_OPTS="$JAVA_OPTS -Xms3g -Xmx3g -XX:MaxPermSize=512m"
JAVA_OPTS="$JAVA_OPTS -Dinternal-catalogue.data.dir=$CATALOGUE_DATA_DIR/internal-catalogue"
JAVA_OPTS="$JAVA_OPTS -Deditor-catalogue.data.dir=$CATALOGUE_DATA_DIR/editor-catalogue"
JAVA_OPTS="$JAVA_OPTS -Dcatalogue.data.dir=$CATALOGUE_DATA_DIR/catalogue"
JAVA_OPTS="$JAVA_OPTS -Dmap-catalogue.data.dir=$CATALOGUE_DATA_DIR/map-catalogue"

Db migration

Run the migration script manually before starting the application (See https://github.com/eea/geonetwork-eea/blob/eea-develop/web/src/main/webapp/WEB-INF/classes/setup/sql-eea/db-migrate-201502.sql).

Data dir migration

The data directory content changed:

rm catalogue-props.xml
rm -fr index
rm -fr config/codelist
rm -fr config/schemaplugin-uri-catalog.xml
rm -fr data/resources/images/statTmp

After application startup

Harvesting

  • Recreate harvester configuration from admin interface.
  • Internal harvester
  • filter to apply:
anonymizer?protocol=EEA&[email protected]&thesaurus=EEA

Virtual CSW

  • Create virtual CSW from admin page (optional)
   <service name="csw-inspire">
        <class name=".services.main.CswDiscoveryDispatcher">
          <param name="filter" value="+inspirerelated:on"/>
        </class>
      </service>
      
      <service name="csw-geoss">
        <class name=".services.main.CswDiscoveryDispatcher">
          <param name="filter" value="+_cat:geodatacore"/>
        </class>
      </service>