Rebuilding the index seems to have done the trick!

Thanks Claudia!

And others that replied!

Greatly appreciated!



Fred Edwards
Library Systems Technician

Saint Mary's University | 923 Robie Street | Halifax NS B3H 3C3
Tel: 902-420-5096 | Fax: 902-491-8698 | Email: [email protected] | 
http://www.smu.ca/library/









-----Original Message-----
From: Claudia Jürgen [mailto:[email protected]] 
Sent: January-08-15 11:02 AM
To: [email protected]
Subject: Re: [Dspace-tech] OAI giving incorrect server name for bitstreams

Hi Fred,

in 4.2 the base url for the bitstreams is configured in

[dspace-src]/dspace/config/modules/oai.cfg
bitstream.baseUrl = ${dspace.url}

the dspace.url in
[dspace-src]/dspace/config/dspace.cfg

and dspace.baseUrl in
[dspace-src]/build.properties

Note that there is a cache for OAI responses which can be cleared via the 
command line launcher [dspace]/bin/dspace oai clean-cache. The cache can be 
disabled via the oai configuration.

In order to do a complete fresh indexing of the solr index run 
[dspace]/bin/dspace oai import -co

It is useful to do a complete fresh indexing from time to time otherwise 
changes in the metadata will not be picked up. If your metadata does not change 
there is no need for it



Hope this helps

Claudia Jürgen




Am 08.01.2015 um 15:15 schrieb Fred Edwards:
> Hey folks,
>
> Server config:
> Dspace v4.2
> Postgresql
> Sun Java
>
> Does anyone know where the server name is located in config files or 
> db that is used to construct URLs for bitstreams for OAI requests
>
> I originally built dspace using a temporary server name and that name 
> seems to have gotten stuck (?)
>
> I've tried searching, especially in OAI related config files, but have had no 
> luck...
>
> I've also did a dump of the database to an SQL file and searched it 
> but likewise found no indications of the old server name
>
> The offending block looks like this in an xoai record dump:
>
>          <element name="bundle">
>              <field name="name">ORIGINAL</field>
>              <element name="bitstreams">
>                  <element name="bitstream">
>                      <field name="name">$$$$$$$$$.pdf</field>
>                      <field name="originalName">$$$$$$$$$.pdf</field>
>                      <field name="format">application/pdf</field>
>                      <field name="size">1928382</field>
>                      <field 
> name="url">http://XXXX.server.com/xmlui/bitstream/01/25536/1/$$$$$$$$$
> .pdf</field>
>
>
> XXXX.server.com should actually be YYYY.server.com
>
> This doesn't seem to show up anywhere else and certainly hasn't caused any 
> issue with the web pages and links to a records bitstream there.
>
> In any case, if anyone can help it'd be much appreciated!
>
> thanks
>
>
>
>
> [cid:[email protected]]
>
>
> ----
>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> -------- Dive into the World of Parallel Programming! The Go Parallel 
> Website, sponsored by Intel and developed in partnership with Slashdot 
> Media, is your hub for all things parallel software development, from 
> weekly thought leadership blogs to news, videos, case studies, 
> tutorials and more. Take a look and join the conversation now. 
> http://goparallel.sourceforge.net
>
>
>
> _______________________________________________
> 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
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich 
final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit 
eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks 
per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended recipient 
of this e-mail please contact the sender and delete this message. Thank you.
Without prejudice of e-mail correspondence our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net 
_______________________________________________
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

<<attachment: Fred Edwards.vcf>>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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