You will want to verify your solr server is running and that searches are
possible.
http://yourhost:yourport/solr/search/select?q=*:*
This is a query to return all the contents of the solr index. If you are
not able to run this request successfully from the same server as DSpace is
running on, then there is an issue with your solr server.
If you receive a 403 response, then there is something in your virtual host
or dspace solr config that is incorrect. Paste the details of your
configuration and we may be able to assist you in debugging the issue.
Mark
.
On Tue, Mar 29, 2011 at 10:37 PM, Nemiz, Elvi S. <esne...@seafdec.org.ph>wrote:
> Dear Mark,
>
> This is the error when I run update-discovery-index.
>
> E:\DSpace\bin>dspace update-discovery-index
> Using DSpace installation in: E:\DSpace
> Exception: Error executing query
> org.dspace.discovery.SearchServiceException: Error executing query
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
> 380)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> Caused by: org.apache.solr.client.solrj.SolrServerException: Error
> executing que
> ry
> at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques
> t.java:95)
> at
> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
> at
> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:105
> )
> at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
> 353)
> ... 6 more
> Caused by: java.lang.RuntimeException: Invalid version or the data in not
> in 'ja
> vabin' format
> at
> org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:
> 99)
> at
> org.apache.solr.client.solrj.impl.BinaryResponseParser.processRespons
> e(BinaryResponseParser.java:39)
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
> nsHttpSolrServer.java:477)
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Commo
> nsHttpSolrServer.java:244)
> at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques
> t.java:89)
> ... 9 more
>
> Hope you can help me with this problem. Please tell me if you need other
> information. Thanks in advance and more power to you...
>
> Regards,
> Elvi
>
> On Wed, Mar 30, 2011 at 4:57 AM, Mark Diggory <mdigg...@atmire.com> wrote:
>
>> Post the error again, we will review it.
>>
>> Regards,
>> Mark
>>
>> On Tue, Mar 29, 2011 at 7:55 AM, Nemiz, Elvi S.
>> <esne...@seafdec.org.ph>wrote:
>>
>>> Dear Thomas,
>>>
>>> Have you resolved this issue? I'm having the same error after I upgrade
>>> from
>>> version 1.7.0 to 1.7.1. After I run update-discovery-index, I got the
>>> same error.
>>>
>>> Hoping for a positive response and thanks in advance.
>>>
>>> --
>>> Elvi S. Nemiz
>>> Information Assistant
>>> Library and Data Bank Services Section
>>> Training and Information Division
>>> SEAFDEC Aquaculture Department
>>> Tigbauan, Iloilo
>>> Philippines
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Enable your software for Intel(R) Active Management Technology to meet
>>> the
>>> growing manageability and security demands of your customers. Businesses
>>> are taking advantage of Intel(R) vPro (TM) technology - will your
>>> software
>>> be a part of the solution? Download the Intel(R) Manageability Checker
>>> today! http://p.sf.net/sfu/intel-dev2devmar
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> DSpace-tech@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>
>>
>> --
>> Mark R. Diggory
>> @mire -Â www.atmire.com
>>
>> 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
>> Technologielaan 9 - 3001 Heverlee - Belgium
>>
>>
>
>
> --
> Elvi S. Nemiz
> Information Assistant
> Library and Data Bank Services Section
> Training and Information Division
> SEAFDEC Aquaculture Department
> Tigbauan, Iloilo
> Philippines
>
--
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Technologielaan 9 - 3001 Heverlee - Belgium
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech