OAI SUPPORT

143 views
Skip to first unread message

Nicolas Battaglia

unread,
Feb 15, 2023, 1:10:57 PM2/15/23
to DSpace Technical Support
Hello everyone!
I am trying to configure the oai server of my dspace 7. The url works fine /server/oai/request?verb=Identify but when I want to enter the records section it gives me an error. In the logs I see this: om.lyncode.xoai.dataprovider.exceptions.OAIException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 923; Invalid byte 2 of 4-byte UTF-8 sequence.

It seems to be some coding configuration but I can't figure it out.

On the other hand, I have to configure a set to be able to be harvested by the national repository system of t Argentina , and I managed to find the documentation or I don't know how to find it.
Any help or suggestion?

thank you so much

Mohammad S. AlMutairi

unread,
Feb 16, 2023, 1:38:58 AM2/16/23
to DSpace Technical Support
Hi Nicolas,

Just a suggestion. Double-check how the tomcat connector was installed. 

# You need to replace the Catalina Connector Element on lines 69,70 and 71 with the connector settings you see below.
6) edit /etc/tomcat9/server.xml
    <Connector address="127.0.0.1" port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               maxHttpHeaderSize="65536"
               minSpareThreads="25"
               enableLookups="false"
               disableUploadTimeout="true"
               URIEncoding="UTF-8"/>


Hope it helps

BR

Mohammad S. AlMutairi

unread,
Feb 16, 2023, 1:45:46 AM2/16/23
to DSpace Technical Support
Also, Check Jakob's confirmation of how he solved his issue in his post.

Nicolas Battaglia

unread,
Feb 16, 2023, 6:31:07 AM2/16/23
to Mohammad S. AlMutairi, DSpace Technical Support
Hi Mohammad!
I added the  maxHttpHeaderSize  property to the connector (didn't have it) I think this solved the problem

thanks!!!

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/22f1fa4a-531c-40a3-ab60-1773392bf899n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages