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

HeritrixTemplate requires old ARCwriterprocessor to be present in order.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • None
    • None
    • None
    • SB/KB
    • Hide

      Go to HarvestDefinition/Definitions-edit-harvest-templates.jsp

      try to upload as new templates

      default_orderxml_both_arc_and_warcwriterprocessor.xml
      default_orderxml_only_arcwriterprocessor.xml
      default_orderxml_only_warcwriterprocessor.xml

      They should all be accepted.
      The following one should not be accepted, as it doesn't contain either a ARCWriterprocessor nor a WARCWriterProcessor
      default_orderxml_noarc_and_nowarcwriterprocessor.xml

      Show
      Go to HarvestDefinition/Definitions-edit-harvest-templates.jsp try to upload as new templates default_orderxml_both_arc_and_warcwriterprocessor.xml default_orderxml_only_arcwriterprocessor.xml default_orderxml_only_warcwriterprocessor.xml They should all be accepted. The following one should not be accepted, as it doesn't contain either a ARCWriterprocessor nor a WARCWriterProcessor default_orderxml_noarc_and_nowarcwriterprocessor.xml

    Description

      If you try to replace the old ArcWriterProcessor with the new WarcWriterprocessor.

      dk.netarkivet.common.exceptions.ArgumentNotValid: Template error: Value 'warcs' of node '/crawl-order/controller/map[@name='write-processors']/newObject[@name='Archiver']/stringList[@name='path']/string' does not match required regexp 'arcs'
      at dk.netarkivet.common.exceptions.ArgumentNotValid.checkTrue(ArgumentNotValid.java:165)
      at dk.netarkivet.harvester.datamodel.HeritrixTemplate.(HeritrixTemplate.java:192)
      at dk.netarkivet.harvester.datamodel.HeritrixTemplate.(HeritrixTemplate.java:209)
      at org.apache.jsp.Definitions_002dupload_002dharvest_002dtemplate_jsp._jspService(org.apache.jsp.Definitions_002dupload_002dharvest_002dtemplate_jsp:178)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:322)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      Attachments

        Issue Links

          Activity

            People

              nicl@kb.dk Nicholas Clarke (Inactive)
              svc Søren Vejrup Carlsen (Inactive)
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: