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

HTTPRemoteFile breaks ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • 3.2
    • Common
    • None

    Description

      Internal server error for: http://viewerproxy/changeIndex
      dk.netarkivet.common.exceptions.IOFailure: IO trouble transferring file
      at
      dk.netarkivet.common.distribute.AbstractRemoteFile.copyTo(AbstractRemoteFile.java:118)
      at dk.netarkivet.common.distribute.HTTPRemoteFile.copyTo(HTTPRemoteFile.java:139)
      at
      dk.netarkivet.archive.indexserver.distribute.IndexRequestClient.copyAndDeleteRemoteFile(IndexRequestClient.java:198)
      at
      dk.netarkivet.archive.indexserver.distribute.IndexRequestClient.cacheData(IndexRequestClient.java:169)
      at
      dk.netarkivet.archive.indexserver.distribute.IndexRequestClient.cacheData(IndexRequestClient.java:56)
      at dk.netarkivet.archive.indexserver.FileBasedCache.cache(FileBasedCache.java:146)
      at
      dk.netarkivet.archive.indexserver.FileBasedCache.getIndex(FileBasedCache.java:208)
      at
      dk.netarkivet.archive.indexserver.distribute.IndexRequestClient.getIndex(IndexRequestClient.java:56)
      at
      dk.netarkivet.viewerproxy.DelegatingController.changeIndex(DelegatingController.java:132)
      at
      dk.netarkivet.viewerproxy.distribute.HTTPControllerServer.doChangeIndex(HTTPControllerServer.java:258)
      at
      dk.netarkivet.viewerproxy.distribute.HTTPControllerServer.executeCommand(HTTPControllerServer.java:156)
      at dk.netarkivet.viewerproxy.CommandResolver.lookup(CommandResolver.java:78)
      at dk.netarkivet.viewerproxy.WebProxy.handle(WebProxy.java:129)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at org.mortbay.jetty.Server.handle(Server.java:285)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
      at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
      Caused by: dk.netarkivet.common.exceptions.IOFailure: Unable to cleanup file
      '/home/test/netarchive/scripts/simple_harvest/cache/fullcrawllogindex/3-cache/_2y.cfs.gz'
      with URL'http://kb005575.kb.dk:8072/4a9fd537'
      at dk.netarkivet.common.distribute.HTTPRemoteFile.cleanup(HTTPRemoteFile.java:210)
      at dk.netarkivet.common.distribute.HTTPRemoteFile$1.close(HTTPRemoteFile.java:184)
      at
      dk.netarkivet.common.utils.StreamUtils.copyInputStreamToOutputStream(StreamUtils.java:75)
      at
      dk.netarkivet.common.distribute.AbstractRemoteFile.appendTo(AbstractRemoteFile.java:131)
      at
      dk.netarkivet.common.distribute.AbstractRemoteFile.copyTo(AbstractRemoteFile.java:106)
      ... 21 more
      Caused by: java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      at java.net.Socket.connect(Socket.java:519)
      at java.net.Socket.connect(Socket.java:469)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
      at sun.net.www.http.HttpClient.(HttpClient.java:231)
      at sun.net.www.http.HttpClient.New(HttpClient.java:304)
      at sun.net.www.http.HttpClient.New(HttpClient.java:316)
      at
      sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
      at
      sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
      at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
      at dk.netarkivet.common.distribute.HTTPRemoteFile.cleanup(HTTPRemoteFile.java:207)
      ... 25 more
      NOTE: This bug is originally from Bugzilla bug_id=1057.

      Attachments

        Activity

          People

            kfc Kåre Fiedler Christiansen (Inactive)
            bja Bjarne Andersen
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: