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

simple_harvest tries to log to nonexisting 'log' dir (instead of existing 'logs' dir)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 3.0
    • Common
    • None

    Description

      When starting the simple_harvest script logging fails immediately because
      all applications tries to log to nonexisting 'log' dir (instead of existing
      'logs' dir):
      Starting dk.netarkivet.archive.indexserver.IndexServer
      Version: 3.1.10 status CODEFREEZE
      Can't load log handler "java.util.logging.FileHandler"
      java.io.IOException: Couldn't get lock for ./log/APPID%u.log
      java.io.IOException: Couldn't get lock for ./log/APPID%u.log
      at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
      at java.util.logging.FileHandler.<init>(FileHandler.java:208)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at java.lang.Class.newInstance0(Class.java:350)
      at java.lang.Class.newInstance(Class.java:303)
      at java.util.logging.LogManager$7.run(LogManager.java:886)
      at java.security.AccessController.doPrivileged(Native Method)
      at
      java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:878)
      at java.util.logging.LogManager.access$900(LogManager.java:129)
      at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:985)
      at java.util.logging.Logger.log(Logger.java:424)
      at java.util.logging.Logger.doLog(Logger.java:450)
      NOTE: This bug is originally from Bugzilla bug_id=1019.

      Attachments

        Activity

          People

            lars lars [X] (Inactive)
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: