Hi, everyone:
    I'v run dspace 1.7 on windows xp. I build a collection and harvest its 
content from another dspace's oai. When I harvest item with english name, it's 
fine. but if the item isn't english name, it's wrong. 
    Here is what I did: Harvest metadata and bitstreams (requires ORE support).
    and the test is: Harvesting settings are valid.

    I have set Tomcat's server.xml with URIEncoding="UTF-8".

    Here is error:
 
    
java.io.IOException: Server returned HTTP response code: 400 for URL: http://loc
alhost:8080/xmlui/bitstream/handle/123456789/6/%6d45%6790%7f8e%519b%5f62%8c61%4f
20%64ad%7684%793e%4f1a%8d44%6e90%8fd0%7528(%5168%519b%7b2c%4e94%5c4a%5916%519b%6
53f%6cbb%6027%5de5%4f5c%5b66%672f%7814%8ba8%4f1a).doc?sequence=1
    at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:1313)
    at java.net.URL.openStream(URL.java:1010)
    at 
org.dspace.content.crosswalk.OREIngestionCrosswalk.ingest(OREIngestionCrossw
alk.java:174)
    at org.dspace.harvest.OAIHarvester.processRecord(OAIHarvester.java:521)
    at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:362)
    at 
org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.processRunColl
ectionHarvest(FlowContainerUtils.java:272)
    at 
org.dspace.app.xmlui.aspect.administrative.FlowContainerUtils.processReimpor
tCollection(FlowContainerUtils.java:319)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
  
    I think the problem is the Encoding. The file name has been changed to 
%6d45%6790%7f8e%519b%5f62%8c61%4f

20%64ad%7684%793e%4f1a%8d44%6e90%8fd0%7528(%5168%519b%7b2c%4e94%5c4a%5916%519b%6

53f%6cbb%6027%5de5%4f5c%5b66%672f%7814%8ba8%4f1a).doc 

    But how to solve it?

    thanks!


          martin
    

      
                                          
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to