从外部存储库中收集集合

时间:2017-12-13 12:34:37

标签: dspace

我试图通过OAI服务从外部存储库中收集一个集合,但是当我尝试通过终端ping网址或测试模块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

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

  • 无法联系到OAI服务器。

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

1 个答案:

答案 0 :(得分:1)

如果我在https://repositorioaberto.uab.pt/oai/request?verb=Identify

打开您的OAI目标网页

我看到OAI动词的链接不符合原始网址

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

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