Hello Ben, ran into the same issue resulting in an invalid baseUrl which is got here:
https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceIdentify.java#L76-85 and as static determined only once. The results are cached as configured in [dspace-src]/dspace/config/modules/oai.cfg in [dspace]/var/oai/requests You can clean the cache [dspace]/bin/./dspace oai clean-cache But as long as your oai webapp is accessible in different ways you might get into trouble here again. We solved it adding a config param to oai.cfg containing the registered baseUrl and using this to determine the baseUrl rather than the request. Hope this helps Claudia Jürgen Am 11.03.2015 um 14:52 schrieb Benjamin Ryan: > Hi, > Can anyone tell me where to look to resolve the following > issue: > > Requests to > http://dspace.jorum.ac.uk/oai/request?verb=ListRecords&metadataPrefix=oai_dc > > Return as source: > > <?xml-stylesheet type="text/xsl" href="static/style.xsl"?> > <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ > http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> > <responseDate>2015-03-11T13:04:03Z</responseDate> > <request verb="ListRecords" > metadataPrefix="oai_dc">http://open.jorum.ac.uk/oai/request</request<http://open.jorum.ac.uk/oai/request%3c/request>> > > I was expecting http://dspace.jorum.ac.uk/oai/request not > http://open.jorum.ac.uk > > The code seems to pull the request URL from the HTTP request object. > > Regards, > Ben > > > > [Jisc]<http://www.jisc.ac.uk/> > > Ben Ryan > Jorum Technical Manager > > T 0161 275 6032 > Skype argaric > Room 5.12 Roscoe Buidling, The University of Manchester, Oxford Road, M13 9PL > > jisc.ac.uk<http://www.jisc.ac.uk/> > > Jisc is a registered charity (number 1149740) and a company limited by > guarantee which is registered in England under Company No. 5747339, VAT No. > GB 197 0632 86. Jisc's registered office is: One Castlepark, Tower Hill, > Bristol, BS2 0JA. T 0203 697 5800. jisc.ac.uk<http://www.jisc.ac.uk/> > > > > > > > > ------------------------------------------------------------------------------ > 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 > DSpace-tech@lists.sourceforge.net > 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 claudia.juer...@ub.tu-dortmund.de 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette