Hi Ana,

The variable that you have to define by setting the JAVA_OPTS is
solr.solr.home and not solr.home. Perhaps this is the problem ...

---
Salut,
====================================
Ricardo Borillo Domenech
http://xml-utils.com
twitter: @borillo


On Fri, Oct 8, 2010 at 19:14, Ana.M Ferreira <ana.m.ferre...@wits.ac.za>wrote:

>  Hi
>
>
>
> Has anybody been able to get the DemoOnSolr to work? I have tried
> everything I can think of and nothing has worked – :
>
> -          moved the solr config folder to the original solr/home of the
> stand-alone solr webapp (solr on its own works fine!)
>
> -          changed the solr.home by setting the JAVA_OPTS var
>
> I keep getting the error below when I press the UpdateIndex CreateEmpty
> button:
>
>
>
> Does anyone know what else I need to do or check?
>
>
>
> Ana Ferreira
>
>
>
>
>
> ----
>
>
>
> IndexReader open error indexName=DemoOnSolr : ; nested exception is:
> java.io.FileNotFoundException: no segments* file found in
> org.apache.lucene.store.fsdirect...@d:\solr\data: files:
>
>
>
> dk.defxws.fedoragsearch.server.errors.GenericSearchException: IndexReader
> open error indexName=DemoOnSolr :
>
> ; nested exception is:
>
>         java.io.FileNotFoundException: no segments* file found in
> org.apache.lucene.store.fsdirect...@d:\solr\data: file
>
> s:
>
>         at
> dk.defxws.fgssolr.OperationsImpl.getIndexReader(OperationsImpl.java:631)
>
>         at
> dk.defxws.fgssolr.OperationsImpl.updateIndex(OperationsImpl.java:252)
>
>         at
> dk.defxws.fedoragsearch.server.GenericOperationsImpl.updateIndex(GenericOperationsImpl.java:308)
>
>         at
> dk.defxws.fedoragsearch.server.RESTImpl.updateIndex(RESTImpl.java:261)
>
>         at dk.defxws.fedoragsearch.server.RESTImpl.doGet(RESTImpl.java:114)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>
>         at java.lang.Thread.run(Thread.java:619)
>
> Caused by: java.io.FileNotFoundException: no segments* file found in
> org.apache.lucene.store.fsdirect...@d:\solr\data: f
>
> iles:
>
>         at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604)
>
>         at
> org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:111)
>
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
>
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:206)
>
>         at
> dk.defxws.fgssolr.OperationsImpl.getIndexReader(OperationsImpl.java:627)
>
>         ... 18 more
>
> This communication is intended for the addressee only. It is confidential. If 
> you have received this communication in error, please notify us immediately 
> and destroy the original message. You may not copy or disseminate this 
> communication without the permission of the University. Only authorized 
> signatories are competent to enter into agreements on behalf of the 
> University and recipients are thus advised that the content of this message 
> may not be legally binding on the University and may contain the personal 
> views and opinions of the author, which are not necessarily the views and 
> opinions of The University of the Witwatersrand, Johannesburg. All agreements 
> between the University and outsiders are subject to South African Law unless 
> the University agrees in writing to the contrary.
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to