I was experimenting with:

solr.url=http://dev.deepblue.lib.umich.edu:8080/solr/oai

If I set it to say

solr.url=http://dev.deepblue.lib.umich.edu:8080/solr

I get an error message in the log file, or if I set it to


solr.url=http://dev.deepblue.lib.umich.edu:8080/solr/xxxx

I also get an error message when it tries to connect.

I don't understand why it has to be sorl/oai. Perhaps I don't have solr
setup to accept this?
-Jose

On Thu, Apr 4, 2013 at 1:18 PM, Jose Blanco <blan...@umich.edu> wrote:

> Ok, I have a bit more information.  I had some config parameters messed
> up.  So what I am seeing is that when I request ListRecords, it gives me no
> no matches found, and there is not even an access to solr made.  The log
> file has no entry.  So it must think there are no records for the set.  Am
> I suppose to run some sort of indexing for oai to work?
>
>
> On Thu, Apr 4, 2013 at 11:35 AM, Jose Blanco <blan...@umich.edu> wrote:
>
>> I deployed it from 
>> http://dev.deepblue.lib.umich.edu:8080<http://dev.deepblue.lib.umich.edu:8080/solr/oai>
>> I think I was not clear about that.
>>
>> I don't understand where the code is getting localhost from?
>>
>>
>>
>>
>> On Thu, Apr 4, 2013 at 11:26 AM, Jose Blanco <blan...@umich.edu> wrote:
>>
>>> But this is where I deployed it and it's working fine from there.
>>>
>>>
>>> On Thu, Apr 4, 2013 at 11:24 AM, helix84 <heli...@centrum.sk> wrote:
>>>
>>>> Change solr.url to localhost. It matters.
>>>>
>>>> On Thu, Apr 4, 2013 at 5:20 PM, Jose Blanco <blan...@umich.edu> wrote:
>>>> > I see this in the log file:
>>>> >
>>>> >  http://localhost:8080/solr/oai/select
>>>> >
>>>> > but I have this in the in config/modules/oai.cfg
>>>> >
>>>> > solr.url=http://dev.deepblue.lib.umich.edu:8080/solr/oai
>>>> >
>>>> > ?
>>>> >
>>>> >
>>>> > On Wed, Apr 3, 2013 at 6:08 PM, helix84 <heli...@centrum.sk> wrote:
>>>> >>
>>>> >> Try searching the list to see some common errors with setting the
>>>> oai solr
>>>> >> url. Same errors can also occur with Solr search and statistics urls.
>>>> >>
>>>> >> On Apr 4, 2013 12:00 AM, "Jose Blanco" <blan...@umich.edu> wrote:
>>>> >>>
>>>> >>> when I try to list records in oai, I'm getting nothing.  solr is up
>>>> and
>>>> >>> running.  This seems like some config parameter for oai I'm not
>>>> setting.
>>>> >>> This is what I see in the error log:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 2013-04-03 17:29:37,388 INFO
>>>> >>> org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @
>>>> >>>
>>>> anonymous:session_id=E30B9A5A9184BB719D0E4372C5199889:ip_addr=157.56.93.230:
>>>> referer=null:browse:org.dspace.app.xmlui.utils.DSpaceValidity@16a2c87
>>>> >>> 2013-04-03 17:29:44,358 ERROR
>>>> >>> org.dspace.xoai.data.DSpaceItemSolrRepository @
>>>> java.net.ConnectException:
>>>> >>> Connection refused
>>>> >>> org.dspace.xoai.solr.exceptions.DSpaceSolrException:
>>>> >>> java.net.ConnectException: Connection refused
>>>> >>>     at
>>>> >>>
>>>> org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:39)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> ------------------------------------------------------------------------------
>>>> >>> Minimize network downtime and maximize team effectiveness.
>>>> >>> Reduce network management and security costs.Learn how to hire
>>>> >>> the most talented Cisco Certified professionals. Visit the
>>>> >>> Employer Resources Portal
>>>> >>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>> >>> _______________________________________________
>>>> >>> DSpace-tech mailing list
>>>> >>> DSpace-tech@lists.sourceforge.net
>>>> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>> >>> List Etiquette:
>>>> >>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to