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

Errors Starting GUI - some SiteSections missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 5.4
    • None
    • GUI
    • None
    • NAS 5.4
    • Hide

      Tested as part of the general release test & system test. We'd notice right away if it weren't fixed.

      Show
      Tested as part of the general release test & system test. We'd notice right away if it weren't fixed.

    Description

      Only three of the SiteSections are loaded (see attached).

      There are two distinct errors in the start log and it's not obvious if they are related

      01:42:07,426 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [dk.netarkivet.monitor.logging.CachingSLF4JAppender]
      01:42:07,427 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [dk.netarkivet.monitor.logging.CachingSLF4JAppender]. ch.qos.logback.core.util.IncompatibleClassException
              at ch.qos.logback.core.util.IncompatibleClassException
              at      at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:62)
              at      at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48)
              at      at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35)
      

      and further down

      2018-01-16 09:27:14.886 DEBUG d.n.common.webinterface.HTMLUtils.generateHeader - Loading URL 'http://kb-test-adm-001.kb.dk:8071/' with title 'Main menu'
      2018-01-16 09:27:14.912 DEBUG d.n.common.webinterface.HTMLUtils.generateHeader - Loaded URL 'http://kb-test-adm-001.kb.dk:8071/' with title 'Main menu'
      2018-01-16 09:27:18.503 DEBUG dk.netarkivet.common.utils.Settings.getAll - Value found in classpath data: dk.netarkivet.harvester.webinterface.DefinitionsSiteSection,dk.netarkivet.harvester.webinterface.HistorySiteSection,dk.netarkivet.harvester.webinterface.HarvestChannelSiteSection,dk.netarkivet.archive.webinterface.BitPreservationSiteSection,dk.netarkivet.viewerproxy.webinterface.QASiteSection,dk.netarkivet.monitor.webinterface.StatusSiteSection
      Jan 16, 2018 9:27:18 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet [jsp] in context with path [/History] threw exception [dk.netarkivet.common.exceptions.IOFailure: Cannot read site section from settings] with root cause
      java.lang.ClassCastException: dk.netarkivet.archive.webinterface.BitPreservationSiteSection cannot be cast to dk.netarkivet.common.webinterface.SiteSection
              at dk.netarkivet.common.webinterface.SiteSection.getSections(SiteSection.java:229)
              at dk.netarkivet.common.webinterface.HTMLUtils.getTitle(HTMLUtils.java:519)
              at dk.netarkivet.common.webinterface.HTMLUtils.generateHeader(HTMLUtils.java:149)
              at org.apache.jsp.Harveststatus_002dalljobs_jsp._jspService(Harveststatus_002dalljobs_jsp.java:297)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      

      Attachments

        Activity

          People

            csr Colin Rosenthal
            csr Colin Rosenthal
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: