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

harvesting-server should not get Invalid channelname, if the channel-name is unknown in the channels table

    XMLWordPrintable

Details

    • Hide

      Go to any NAS installation, and harvester machine. In the settings_HarvestControllerApplication... file, change the channel name to some arbitrary unknown value. Kill and restart the harvester. The start log should now contain a message like

      2015-08-28 14:13:12.677 INFO d.n.h.h.HarvestControllerServer - Requested to check the validity of harvest channel 'SLOWPRIORITY'
      2015-08-28 14:13:12.950 ERROR d.n.h.h.HarvestControllerServer - Received message stating that channel 'SLOWPRIORITY' is invalid. Will stop. Probable cause: the channel is not one of the known channels stored in the channels table
      2015-08-28 14:13:12.951 INFO d.n.h.h.HarvestControllerServer - Closing HarvestControllerServer.
      2015-08-28 14:13:12.951 INFO d.n.common.distribute.JMSConnection - Removing listener from channel 'Stresstest_COMMON_HCHAN_VAL_RESP'
      2015-08-28 14:13:12.952 INFO d.n.h.h.HarvestControllerServer - Closed down HarvestControllerServer

      Show
      Go to any NAS installation, and harvester machine. In the settings_HarvestControllerApplication... file, change the channel name to some arbitrary unknown value. Kill and restart the harvester. The start log should now contain a message like 2015-08-28 14:13:12.677 INFO d.n.h.h.HarvestControllerServer - Requested to check the validity of harvest channel 'SLOWPRIORITY' 2015-08-28 14:13:12.950 ERROR d.n.h.h.HarvestControllerServer - Received message stating that channel 'SLOWPRIORITY' is invalid. Will stop. Probable cause: the channel is not one of the known channels stored in the channels table 2015-08-28 14:13:12.951 INFO d.n.h.h.HarvestControllerServer - Closing HarvestControllerServer. 2015-08-28 14:13:12.951 INFO d.n.common.distribute.JMSConnection - Removing listener from channel 'Stresstest_COMMON_HCHAN_VAL_RESP' 2015-08-28 14:13:12.952 INFO d.n.h.h.HarvestControllerServer - Closed down HarvestControllerServer

    Description

      Recently a user got this error:
      Starting dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer
      Version: 4.4.1 status RELEASE
      dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer
      Running
      1-Dec-2014 10:49:53 AM
      dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer
      visit
      SEVERE: Received message stating that channel 'HIGHPRIORITY' is invalid.
      Will stop.

      -------------------------

      The message should rather state that the channel is "unknown" by the harvest channel table, and possibly which channels there is to choose from

      Attachments

        Activity

          People

            svc Søren Vejrup Carlsen (Inactive)
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: