Hi Andrea,
Thanks for your reply and help!!
Here is what I've got:
Looks like you left out a 'solr' when you told OAI where to connect. I'd
expect to see
http://localhost/*solr*/oai/select?q=*:*<http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodified>
rather than
http://localhost/oai/select?q=*:*<http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodified>
as given in your error message.
Yes indeed, very strange. I didn't noticed this detail. I'm looking where
could be the misconfiguration.
What is your value of solr.server in [dspace-src]/build.properties? I'd
expect it to be
solr.server=http://localhost/solr
Also, what is your value of solr.url in
[dspace-src]/dspace/config/modules/oai.cfg?
This should be
solr.url=${solr.server}/oai
The values on those file are correct as espected.
Just to be extra certain, also check the oai core in solr (the url you gave
goes to the search/discovery core):
http://localhost/solr/*oai*/admin/ <http://localhost/solr/search/admin/>
I can access to the URL with no problem.
I still looking where could be the problem. Must be a detail!!
Thank you again. I hope you, or anyone else, could help me.
My best regards,
Hernán
2014-01-29 Andrea Schweer <[email protected]>:
> Hi Hernán,
>
>
> On 30/01/14 12:41, Hernan Carvajal Briceño wrote:
>
> Caused by: org.apache.solr.common.SolrException: Not Found
>
> Not Found
>
> request:
> http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodifieddesc,
> item.id asc&rows=1&wt=javabin&version=2
> 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
>
>
> The SOLR server is up and runnig. I've checket it in the Web browser:
> http://localhost/solr/search/admin/
> I can execute querys from there.
> Any ideas?
>
>
> Looks like you left out a 'solr' when you told OAI where to connect. I'd
> expect to see
> http://localhost/*solr*/oai/select?q=*:*<http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodified>
> rather than
> http://localhost/oai/select?q=*:*<http://localhost/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodified>
> as given in your error message.
>
> What is your value of solr.server in [dspace-src]/build.properties? I'd
> expect it to be
>
> solr.server=http://localhost/solr
>
> Also, what is your value of solr.url in
> [dspace-src]/dspace/config/modules/oai.cfg? This should be
>
> solr.url=${solr.server}/oai
>
>
> Just to be extra certain, also check the oai core in solr (the url you
> gave goes to the search/discovery core):
> http://localhost/solr/*oai*/admin/ <http://localhost/solr/search/admin/>
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
>
>
--
Hernán Carvajal Briceño.
[email protected]
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette