I'm able to run the jobs now, but I think the problem was related to Tomcat. The Solr and Web connectors were still available/showing up in the web interface (MCF) *EVEN THOUGH* I deleted all tables in pgAdmin. They disappeared after I restarted Tomcat.
Now I'm getting an error I reported back in 2013: IOException occured when talking to server at: https://solr-test03.uio.no:443/solr/uio: null The Solr Output Connector tells me that the connection is working. I have double-checked that the realm, username and password are correct. And I'm able to connect to the Solr server by using Curl. Notice the "null" at the end of the url/error. It seems to be related to HttpClient (NonRepeatableRequestException). I'm afraid that this is related to something similar described in the following issue: https://issues.apache.org/jira/browse/CONNECTORS-661 But this time I get only one HTTP response: # curl -X POST -H "Content-Type: text/xml" -H "Expect: 100-continue" --data-binary "<xml/>" -k -i https://solr-test03.uio.no:443/solr/uio/update HTTP/1.1 401 Unauthorized This is what I can see in the logs: WARN 2018-12-13T13:20:40,977 (Worker thread '21') - IO exception during indexing https://www.journals.uio.no/index.php/bioimpedance/article/view/4443: null org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:542) ~[?:?] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255) ~[?:?] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244) ~[?:?] at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) ~[?:?] at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:211) ~[?:?] at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:968) ~[?:?] Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity. at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:226) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.6.jar:4.5.6] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.6.jar:4.5.6] ... 8 more Erlend On 12/12/2018 20:07, Erlend Garåsen wrote: > On 12/12/2018 18:12, Karl Wright wrote: >> Did you import any data directly into new tables? > > I used the ImportConfiguration command class and noticed some errors, > but it seems that the Solr and Web connectors have been successfully > imported. > >> The schema has changed significantly from 1.7 until now. I doubt very >> much you could get away with an import of the old table data, and that >> could well cause the effect you're seeing. > > Then I will delete all the tables once again, reimport the tables and > add all the data manually. I can try to do that tomorrow and try again. :) > > Erlend >
