Mckeane,

On some environments we are finding that the URL used to access solr
that is configured in the cfg can be problematic.  Post what the value
your using for the following property

http://scm.dspace.org/svn/repo/dspace/trunk/dspace/config/dspace-solr-search.cfg

##### Search Indexing #####
solr.search.server = http://localhost:8080/solr/search


Test that localhost URL, the try it with the IP address of the machine as well.

Mark



On Wed, Jan 5, 2011 at 12:00 PM, Mckeane Thomas
<mckeane.tho...@gmail.com> wrote:
> Hello,
>    When I run the following to update the index in dspace 1.7.0:
>
> ./bin/dspace update-discovery-index
>
>  I get the following error:
>
> Exception: Error executing query
> org.dspace.discovery.SearchServiceException: Error executing query
>
>         at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:379)
>         at org.dspace.discovery.IndexClient.main(IndexClient.java:120)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing
> query
>         at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
>
>         at
> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
>         at
> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:104)
>         at
> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:352)
>
>         ... 6 more
> Caused by: org.apache.solr.common.SolrException: Not Found
>
> Not Found
>
> request: http://localhost:9090/solr/search/select?q=search.resourcetype:2
> AND search.resourceid:1&wt=javabin&version=1
>
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
>         at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
>
>         ... 9 more
>
> If I navigate to the following url in the browser:
> http://localhost:9090/solr/search
>
> I get the following:
>
> HTTP Status 404 - /solr/search
>
> ________________________________
>
> type Status report
>
> message /solr/search
>
> description The requested resource (/solr/search) is not available.
>
> Any help with this would be greatly appreciated. Thank you.
>
> --Mckeane
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to