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

If tools use HTTPRemoteFiles as file transport method they don't close down properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.8
    • Common
    • None

    Description

      If the default file transport method is chosen i.e HTTPRemoteFile.
      you need to use ctrl-c to terminate the tools.
      And this is because the tools fail to cleanup and close down the dk.netarkivet.common.distribute.HTTPRemoteFileRegistry if we use HTTPRemoteFile as file transport method. Similarly it should close and cleanup the dk.netarkivet.common.distribute.HTTPSRemoteFileRegistry
      The tools could do this in a way similar to the way that the connections to the JMSbroker are already closed down: JMSConnectionFactory.getInstance().cleanup()
      That is using HTTPRemoteFileRegistry.getInstance().cleanup()
      or HTTPSRemoteFileRegistry.getInstance().cleanup()

      Attachments

        Activity

          People

            csr Colin Rosenthal
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: