Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2030

Both adminDB and harvestDB if derby-based uses same derby.system.home value

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.18.0
    • Fix Version/s: None
    • Component/s: Deploy
    • Labels:
      None
    • Organization:
      SB/KB

      Description

      Both adminDB and harvestDB if derby-based uses same derby.system.home value.
      This has the consequence, that both databases uses the same derby.properties file and
      and even worse the same derby.log

      A workaround for this is creating a databasedir '$INSTALLDIR/admindatabasedir', moving the
      adminDB into that directory, and adding the -Dderby.system.home=$INSTALLDIR/admindatabasedir

      Then the adminDB will use the derby.properties in $INSTALLDIR/admindatabasedir, and the harvestDB will use the old derby.properties in $INSTALLDIR.

      Each server will then also write to its own derby.log file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                svc Søren Vejrup Carlsen
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: