From: schnydszch <eug...@ya...> - 2013-09-24 13:23:27
|
Hi! I reinstalled again. I'm getting this error when i try to import just one marc record: /usr/local/vufind2# ./import-marc.sh sentenced.mrc Now Importing sentenced.mrc ... Sep 24, 21:13:24 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Duser.timezone=UTC -Dsolr.core.name=biblio - jar /usr/local/vufind2/import/SolrMarc.jar /usr/local/vufind2/local/import/import.properties /usr/local/vufind2/sent enced.mrc INFO [main] (MarcImporter.java:851) - Starting SolrMarc indexing. INFO [main] (Utils.java:339) - Opening file: /usr/local/vufind2/local/import/import.properties INFO [main] (MarcImporter.java:784) - Connecting to remote Solr server at URL http://hreplib.congress.gov.ph:8083/ solr/biblio/update java.io.FileNotFoundException: http://hreplib.congress.gov.ph:8083/solr/biblio/admin/system at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at java.net.URL.openStream(URL.java:1031) at org.apache.solr.client.solrj.impl.ResponseParserFactory.getServerSpec(ResponseParserFactory.java:50) at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponseParserFactory.java:118) at org.apache.solr.client.solrj.impl.ResponseParserFactory.getResponseParser(ResponseParserFactory.java:113) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:176) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<init>(CommonsHttpSolrServer.java:148) at org.solrmarc.solr.SolrCoreLoader.loadRemoteSolrServer(SolrCoreLoader.java:368) at org.solrmarc.marc.MarcImporter.getSolrServerProxy(MarcImporter.java:785) at org.solrmarc.marc.MarcImporter.loadLocalProperties(MarcImporter.java:202) at org.solrmarc.marc.MarcHandler.loadProperties(MarcHandler.java:171) at org.solrmarc.marc.MarcHandler.init(MarcHandler.java:119) at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:857) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.simontuffs.onejar.Boot.run(Boot.java:334) at com.simontuffs.onejar.Boot.main(Boot.java:170) INFO [main] (MarcHandler.java:371) - Attempting to open data file: /usr/local/vufind2/sentenced.mrc ERROR [main] (MarcImporter.java:380) - Unable to index record (record count 1) -- Value computed for Solr value "id " value must be a single String java.lang.IllegalArgumentException: Value computed for Solr value "id" value must be a single String at org.solrmarc.index.SolrIndexer.getSolrId(SolrIndexer.java:1592) at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:811) at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:399) at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:313) at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:607) at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.simontuffs.onejar.Boot.run(Boot.java:334) at com.simontuffs.onejar.Boot.main(Boot.java:170) ERROR [main] (MarcImporter.java:383) - ******** Halting indexing! ******** INFO [main] (MarcImporter.java:617) - Adding 0 of 1 documents to index INFO [main] (MarcImporter.java:618) - Deleting 0 documents from index INFO [main] (MarcImporter.java:491) - Calling commit (with optimize set to false) Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.simontuffs.onejar.Boot.run(Boot.java:334) at com.simontuffs.onejar.Boot.main(Boot.java:170) Caused by: org.apache.solr.common.SolrException: Not Found Not Found request: http://hreplib.congress.gov.ph:8083/solr/biblio/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:434) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:248) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:178) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:154) at org.solrmarc.solr.SolrServerProxy.commit(SolrServerProxy.java:119) at org.solrmarc.marc.MarcImporter.finish(MarcImporter.java:492) at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:620) at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:867) ... 6 more INFO [Thread-1] (MarcImporter.java:566) - Starting Shutdown hook INFO [Thread-1] (MarcImporter.java:570) - Stopping main loop ^Z Is this related with my first posts? I'm at lost again. Thanks in advance! -- View this message in context: http://vufind.2307425.n4.nabble.com/vufind-messed-up-tp4663769p4663772.html Sent from the vufind-general mailing list archive at Nabble.com. |