Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: fcrepo-camel-toolbox 4.5.0
    • Component/s: f4-camel
    • Labels:
      None
    • Sprint:
      Sprint 2015 - 14

      Description

      I just installed the fcrepo-camel 4.4.1 and toolbox-features 4.5.0 (thank you Aaron Coburn et al.!) into Karaf. I am getting an odd error when I try to POST to the fcrepo-reindexing route's REST endpoint:
      $ curl -XPOST http://fcrepodev.lib.umd.edu:9080/reindexing -H'Content-Type: application/json' -d '["activemq:queue:solr.reindex"]'
      java.net.MalformedURLException: no protocol: /reindexing
      at java.net.URL.<init>(URL.java:586)
      at java.net.URL.<init>(URL.java:483)
      at java.net.URL.<init>(URL.java:432)
      at org.fcrepo.camel.reindexing.RestProcessor.process(RestProcessor.java:59)
      [snipped rest of stack trace]
      If I try appending a specific path after the "/reindexing", I just get a 404:
      $ curl -XPOST http://fcrepodev.lib.umd.edu:9080/reindexing/tmp -H'Content-Type: application/json' -d '["activemq:queue:solr.reindex"]'
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Error 404 Not Found</title>
      </head>
      <body><h2>HTTP ERROR 404</h2>
      <p>Problem accessing /reindexing/tmp. Reason:
      <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

      </body>
      </html>
      I also noticed that this version of the reindexer is binding to the host's external IP address rather than to localhost as I remember it doing before. I don't know if that is connected to the MalformedURLException.

      See: https://groups.google.com/d/msg/fedora-tech/UVgpuCaIy4w/6Y06c8rXAwAJ

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              unknown Unknown
              Reporter:
              peichman-umd Peter Eichman
              Reviewer:
              Andrew Woods
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: