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.
Has anyone else run into this?
Thanks,