Discussion:
[Dspace-tech] OAI no matches for this query because of typo in build.properties
Brouns, Francis
2015-08-18 12:46:51 UTC
Permalink
Hi all,

when testing the upgrade to Dspace 5.3 I again encountered many problems with OAI. Identify worked, and it would list Sets, but any request for ListRecords would result in No matches for this query. In the end I tracked it down to a typo in build.properties that resulted in an incorrect bitstream.baseURL in /dspace/config/modules/oai.cfg

In build.properties dspace.ui is set to jpsui instead of jspui
# The user interface you will be using for DSpace. Common usage is either xmlui or jspui
dspace.ui = jpsui

In addition, there is a problem when trying to use database instead of SOLR, because that resulted in database errors
ERROR org.dspace.xoai.services.impl.xoai.DSpaceItemDatabaseRepository @ ERROR: column tmp.resource_id does not exist
Position: 423 org.postgresql.util.PSQLException: ERROR: column tmp.resource_id does not exist
ERROR org.dspace.xoai.filter.DSpaceSetSpecFilter @ java.lang.NullPointerException
at org.dspace.xoai.services.impl.database.DSpaceCollectionsService.getAllSubCollections(DSpaceCollectionsService.java:33)


best wishes,
Francis


Dr Ir Francis Brouns | Welten Institute - Research Centre for Learning, Teaching and Technology | Faculty of Psychology & Educational Sciences | Open Universiteit| Valkenburgerweg 177 6419 AT Heerlen | P.O. Box 2960 6401 DL Heerlen | Phone + 31 45 5762152 | Fax +31 45 5762800 | e-mail ***@ou.nl


Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten worden ontleend.

This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Open Universiteit rules out any and every liability resulting from any electronic transmission. No rights may be derived from the contents of this message.

------------------------------------------------------------------------------
Brouns, Francis
2015-08-18 13:14:16 UTC
Permalink
My apologies, this was my own mistake, the original build.properties, when downloaded is correct.
-----Original Message-----
Sent: 18 August 2015 14:47
Subject: [Dspace-tech] OAI no matches for this query because of typo in
build.properties
Hi all,
when testing the upgrade to Dspace 5.3 I again encountered many problems
with OAI. Identify worked, and it would list Sets, but any request for
ListRecords would result in No matches for this query. In the end I tracked it
down to a typo in build.properties that resulted in an incorrect
bitstream.baseURL in /dspace/config/modules/oai.cfg
In build.properties dspace.ui is set to jpsui instead of jspui
# The user interface you will be using for DSpace. Common usage is either xmlui or jspui
dspace.ui = jpsui
In addition, there is a problem when trying to use database instead of SOLR,
because that resulted in database errors
ERROR: column tmp.resource_id does not exist
Position: 423 org.postgresql.util.PSQLException: ERROR: column
tmp.resource_id does not exist
java.lang.NullPointerException
at
org.dspace.xoai.services.impl.database.DSpaceCollectionsService.getAllSubC
ollections(DSpaceCollectionsService.java:33)
best wishes,
Francis
Dr Ir Francis Brouns | Welten Institute - Research Centre for Learning,
Teaching and Technology | Faculty of Psychology & Educational Sciences |
Open Universiteit| Valkenburgerweg 177 6419 AT Heerlen | P.O. Box 2960
6401 DL Heerlen | Phone + 31 45 5762152 | Fax +31 45 5762800 | e-mail
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking
aan en gebruik door anderen is niet toegestaan. Open Universiteit sluit
iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan
de inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen
geen rechten worden ontleend.
This e-mail is intended exclusively for the addressee(s), and may not be
passed on to, or made available for use by any person other than the
addressee(s). Open Universiteit rules out any and every liability resulting
from any electronic transmission. No rights may be derived from the
contents of this message.
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
https://lists.sourceforge.net/lists/listinfo/dspace-tech
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten worden ontleend.

This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Open Universiteit rules out any and every liability resulting from any electronic transmission. No rights may be derived from the contents of this message.

------------------------------------------------------------------------------
Loading...