Please, always reply to dspace-tech.

What is your value of solr.url in [dspace]/config/modules/oai.cfg?
It should be this:
solr.url=http://localhost:8080/solr/oai
not this:
solr.url=http://openaccess.iyte.edu.tr:8080/solr/oai

Can you confirm that?

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Jun 12, 2013 at 2:29 PM, Sönmez ÇELİK <[email protected]> wrote:
> Dear Helix,
>
> When I was runing "dspace/bin/dspace oai import" I'm having the following
> result.
>
> Forbidden
>
> request:
> http://openaccess.iyte.edu.tr:8080/solr/oai/select?q=*:*&fl=item.last
> modified&sort=item.lastmodified desc,item.id asc&rows=1&wt=javabin&version=2
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Com
> monsHttpSolrServer.java:435)
>         at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Com
> monsHttpSolrServer.java:244)
>         at
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequ
> est.java:89)
>         ... 9 more
> dspace@iyte-virtual-machine:/dspace/bin$
>
>
> 2013/6/12 helix84 <[email protected]>
>>
>> Hi Sönmez,
>>
>> you probably didn't run oai import, so OAI doesn't have any of your items
>> in its Solr index. See:
>>
>>
>> https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server#OAI2.0Server-OAIManager(SolrDataSource)
>>
>> Please note that you need to schedule it as a cron job.
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>> On Wed, Jun 12, 2013 at 7:53 AM, Sönmez ÇELİK <[email protected]> wrote:
>>>
>>> Hi helix,
>>>
>>> Thank you for your response.
>>>
>>> 1) Trying to register to http://www.openarchives.org/ I'm having the
>>> following error.
>>>
>>> Checking ListIdentifiers response
>>>
>>> Request: GET
>>> http://openaccess.iyte.edu.tr:8080/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc
>>>
>>> [PASS] responseDate has correct format: 2013-06-07T11:06:23Z
>>>
>>> [FAIL] The response to the ListIdentifiers verb contained no identifier
>>> elements. No further tests will be made.
>>>
>>>
>>> 2) Traying to register OpenAIRE  I'm having the following error. But I
>>> added OpenAIRE fields to DSpace.
>>>
>>> ec_fundedresources' set must exist (hierarchy allowed)
>>>
>>> Sonmez CELIK
>>> Dogus University
>>>
>>>
>>>
>>> 2013/6/9 helix84 <[email protected]>
>>>>
>>>> On Fri, Jun 7, 2013 at 1:36 PM, Sönmez ÇELİK <[email protected]> wrote:
>>>> > I'm usuing Dspace 3.1 on my test server and tray to register OAI. The
>>>> > validation shows ListIdentifiers problem. dspace.cfg and oai.conf is
>>>> > ok. But
>>>> > I think the problem JAVA_PATH. How can I prepare JAVA_PATH.
>>>>
>>>> Hi Sönmez,
>>>>
>>>> can you please give us more details about what you're trying to do and
>>>> what is failing?
>>>> Especially, does your OAI report any problems when accessed directly?
>>>> What validator are you using and what exact messages is it showing?
>>>>
>>>> Why do you think JAVA_PATH is the problem?
>>>>
>>>> Since the OAI implementation in DSpace 3 is new, we also have a list
>>>> of validation issues that have been encountered. Most of them have
>>>> been fixed as of DSpace 3.1. You can find details here:
>>>>
>>>> https://jira.duraspace.org/browse/DS-1311
>>>>
>>>>
>>>> Regards,
>>>> ~~helix84
>>>>
>>>> Compulsory reading: DSpace Mailing List Etiquette
>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>
>>>
>>>
>>>
>>> --
>>> Sonmez CELIK
>>> Dogus University Library
>>> http://sonmezcelik.blogspot.com
>>> http://journal.dogus.edu.tr/
>>> http://kutuphane.dogus.edu.tr/
>>> 0 216 544 55 14
>>> 0 555 472 99 75
>>
>>
>
>
>
> --
> Sonmez CELIK
> Dogus University Library
> http://sonmezcelik.blogspot.com
> http://journal.dogus.edu.tr/
> http://kutuphane.dogus.edu.tr/
> 0 216 544 55 14
> 0 555 472 99 75

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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

Reply via email to