Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • Set the setting settings.common.database.class to dk.netarkivet.harvester.datamodel.MySQLSpecifics
  • Set the setting settings.common.database.url correctly: jdbc:mysql://localhost/fullhddb?user=root&password=secret (substitute the server host for localhost, and username/password for root/secret)
    Since NAS Version 4.0 you need to add zeroDateTimeBehavior=convertToNull to the Connection-String: jdbc:mysql://localhost/fullhddb?user=root&password=secret&zeroDateTimeBehavior=convertToNull (cf.
    Jira Legacy
    serverSBForgeSystem JIRA
    serverId327e372c81c76265-baf0cab2-3de43ba5-afa1b74d-7694d9fcf12bee7cd9a2765e
    keyNAS-2188
    )
  • Install the MySQL database (v. 5.0.X) on a machine of your choice
  • Download a mysql-connector-java-5.0.X-bin.jar from http://dev.mysql.com/downloads/connector/j/5.0.html
  • Add a permission to the policy file used by your installation, if you use security. The following will allow NetarchiveSuite to access MySQL on localhost on the default port 3306.

    Code Block
    grant {
      permission java.net.SocketPermission "127.0.0.1:3306",
        "connect, resolve";
    };
    

...

For description of how to configure the JMS broker, please refer to the JMS section in Installation Manual.

Firewall note: The machine that runs the JMS broker must be accessible from all machines in the installation on not only port 7676, but also port 33700 (from RMI).

...