【问题标题】:Harvest a collection from a external repository从外部存储库中收集集合
【发布时间】:2017-12-13 12:34:36
【问题描述】:

我正在尝试通过 OAI 服务从外部存储库中收集一个集合,但是当我尝试通过终端 ping url 或测试模块 xmlui 中的配置时:

By xmlui, testing the configurations of collection return this:

* OAI server could not be reached.

By terminal:

C:\dspace5\bin>dspace harvest -g -a https://repositorioaberto.uab.pt/oai/request -i all

Using DSpace installation in: C:\dspace5

Testing basic PMH access:  8967 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://repositorioaberto.uab.pt/oai/request?verb=Identify
23544 [net.sf.ehcache.CacheManager@6d167f58] DEBUG net.sf.ehcache.util.UpdateChecker  - Update check failed: java.net.ConnectException: Connection timed out: connect
invalidAddress: OAI server could not be reached.

Testing ORE support:  31598 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://repositorioaberto.uab.pt/oai/request?verb=Identify
invalidAddress: OAI server could not be reached.
52641 [main] DEBUG net.sf.ehcache.CacheManager  - CacheManager already shutdown

By terminal returning status: 200 OK!:

Other test with other url oai service:

Using DSpace installation in: C:\dspace5
Testing basic PMH access:  38726 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=Identify
40198 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
40205 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
41265 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41278 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
41284 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
41292 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41350 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
41398 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
OK

Testing ORE support:  41541 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=Identify
41555 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
41555 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
41557 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41566 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
41570 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
41573 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41591 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - responseCode=200
41591 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb  - contentEncoding=null
OK

41604 [main] DEBUG net.sf.ehcache.CacheManager  - CacheManager already shutdown

这与我的 dspace 应用程序的代理或收集的应用程序 oai 服务有关吗?

我的代理配置设置正确:

http.proxy.host=http://myproxy.org

http.proxy.port = 8080

我也在其他没有代理的环境中进行了测试,包括在 demo.dspace.org/xmlui 中。它返回相同的错误:

  • 无法访问 OAI 服务器。

老实说,我无法看到问题或如何解决此问题

【问题讨论】:

    标签: dspace


    【解决方案1】:

    如果我在 https://repositorioaberto.uab.pt/oai/request?verb=Identify 打开您的 OAI 登录页面

    我发现 OAI 动词的链接与原始 URL 不一致

    http://repositorioaberto.uab.pt/oaiextended/request?verb=ListSets

    您能解释一下为什么“oaiextended”是路径的一部分吗?这可能是问题的根源吗?

    【讨论】:

    • 很不错的terrywb,没注意这个uri的变化,谢谢。有那么一瞬间我还以为是 DSpace 代码出了点问题。
    • 这是我们正在执行集成的合作伙伴的存储库,正如您所提到的,我将与他们联系以了解问题的根源,我认为有必要更改 oai。 cfg 文件进行更正。非常感谢
    猜你喜欢
    • 1970-01-01
    • 2015-11-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-18
    • 2022-01-16
    • 1970-01-01
    相关资源
    最近更新 更多