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

Viewerproxy vil ikke starte hvis index.cdx ikke findes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 0.5
    • Viewerproxy
    • None

    Description

      ViewerProxy vil ikke starte hvis index.cdx ikke findes.
      Tidligere blev denne index.cdx genereret hvergang den startede.
      Det sker ikke længere da det tog for lang tid.
      Skal den ikke genereres hvis den ikke findes i forvejen?
      Jun 21 2005 4:02:20 PM dk.netarkivet.proxyviewer.ProxyServer <init>
      WARNING: Could not create missingURL logfile:logdir/missingURLs.log
      java.io.IOException: Couldn't get lock for /home/test/SVC/logdir/missingURLs.log
      at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
      at java.util.logging.FileHandler.<init>(FileHandler.java:270)
      at dk.netarkivet.proxyviewer.ProxyServer.<init>(ProxyServer.java:176)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:206)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:176)
      at dk.netarkivet.proxyviewer.ProxyLauncher.<init>(ProxyLauncher.java:77)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.getInstance(ProxyLauncher.java:87)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at dk.netarkivet.utils.ApplicationUtils.startApp(ApplicationUtils.java:97)
      at
      dk.netarkivet.viewerproxy.ViewerProxyApplication.main(ViewerProxyApplication.java:43)
      Jun 21 2005 4:02:20 PM dk.netarkivet.proxyviewer.ProxyServer <init>
      INFO: Logfile for logging missing URL-objects started....
      Jun 21 2005 4:02:20 PM dk.netarkivet.proxyviewer.ProxyServer <init>
      INFO: Proxy server initialized on http://localhost.localdomain/.
      Jun 21 2005 4:02:20 PM dk.netarkivet.proxyviewer.HttpHandler addPort
      INFO: Added listener to port 8076
      16:02:20.411 EVENT Starting Jetty/4.2.21
      16:02:20.425 EVENT Started HttpContext[/]
      16:02:20.429 EVENT Started SocketListener on 0.0.0.0:8076
      16:02:20.429 EVENT Started org.mortbay.http.HttpServer@cdedfd
      <html><body>
      Adding listener to port 8076
      </body></html>
      Jun 21 2005 4:02:20 PM dk.netarkivet.viewerproxy.ARCArchiveAccess <init>
      WARNING: Can't read file '//home/test/SVC/index.cdx'
      Could not start class dk.netarkivet.proxyviewer.ProxyLauncher
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at dk.netarkivet.utils.ApplicationUtils.startApp(ApplicationUtils.java:97)
      at
      dk.netarkivet.viewerproxy.ViewerProxyApplication.main(ViewerProxyApplication.java:43)
      Caused by: dk.netarkivet.exceptions.IOFailure: Can't read index file
      at
      dk.netarkivet.viewerproxy.ARCArchiveAccess.<init>(ARCArchiveAccess.java:100)
      at dk.netarkivet.proxyviewer.ProxyServer.addArchive(ProxyServer.java:224)
      at
      dk.netarkivet.viewerproxy.instructions.ArchivesInstruction.runBody(ArchivesInstruction.java:111)
      at dk.netarkivet.proxyviewer.Instruction.run(Instruction.java:115)
      at dk.netarkivet.proxyviewer.ProxyServer.run(ProxyServer.java:324)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:230)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:176)
      at dk.netarkivet.proxyviewer.ProxyLauncher.<init>(ProxyLauncher.java:77)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.getInstance(ProxyLauncher.java:87)
      ... 6 more
      Caused by: java.io.FileNotFoundException: Can't find CDX file
      '/home/test/SVC/index.cdx'
      at dk.netarkivet.utils.cdx.CDXReader.addCDXFile(CDXReader.java:67)
      at dk.netarkivet.utils.cdx.CDXReader.<init>(CDXReader.java:58)
      at
      dk.netarkivet.viewerproxy.ARCArchiveAccess.<init>(ARCArchiveAccess.java:97)
      ... 14 more
      Jun 21 2005 4:02:20 PM dk.netarkivet.utils.ApplicationUtils logExceptionAndPrint
      SEVERE: Could not start class dk.netarkivet.proxyviewer.ProxyLauncher
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at dk.netarkivet.utils.ApplicationUtils.startApp(ApplicationUtils.java:97)
      at
      dk.netarkivet.viewerproxy.ViewerProxyApplication.main(ViewerProxyApplication.java:43)
      Caused by: dk.netarkivet.exceptions.IOFailure: Can't read index file
      at
      dk.netarkivet.viewerproxy.ARCArchiveAccess.<init>(ARCArchiveAccess.java:100)
      at dk.netarkivet.proxyviewer.ProxyServer.addArchive(ProxyServer.java:224)
      at
      dk.netarkivet.viewerproxy.instructions.ArchivesInstruction.runBody(ArchivesInstruction.java:111)
      at dk.netarkivet.proxyviewer.Instruction.run(Instruction.java:115)
      at dk.netarkivet.proxyviewer.ProxyServer.run(ProxyServer.java:324)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:230)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.startServer(ProxyLauncher.java:176)
      at dk.netarkivet.proxyviewer.ProxyLauncher.<init>(ProxyLauncher.java:77)
      at
      dk.netarkivet.proxyviewer.ProxyLauncher.getInstance(ProxyLauncher.java:87)
      ... 6 more
      Caused by: java.io.FileNotFoundException: Can't find CDX file
      '/home/test/SVC/index.cdx'
      at dk.netarkivet.utils.cdx.CDXReader.addCDXFile(CDXReader.java:67)
      at dk.netarkivet.utils.cdx.CDXReader.<init>(CDXReader.java:58)
      at
      dk.netarkivet.viewerproxy.ARCArchiveAccess.<init>(ARCArchiveAccess.java:97)
      ... 14 more
      Cleaning up dk.netarkivet.distribute.JMSConnectionSunMQ
      Jun 21 2005 4:02:20 PM dk.netarkivet.utils.CleanupHook run
      INFO: Cleaning up dk.netarkivet.distribute.JMSConnectionSunMQ
      Cleaned up dk.netarkivet.distribute.JMSConnectionSunMQ
      NOTE: This bug is originally from Bugzilla bug_id=360.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: