DSpace with Multiple Handle Prefixes
Posted On April 4, 2011
If you are using DSpace 1.6.2 and trying to retain Handle resolving on exiting items after merging two or more DSpace instances into on repository. You need to get CNRI to update all the desired prefixes using the same sitebndl.zip package. also in dspace.cfg add a (undocumented) configuration key-value pair handle.plugin.checknameauthority = false. And update the handle config.dct as follow (w/ five different prefixes):
Originally discussed in a thread on the dspace-tech mailing list:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
"server_admins" = ( "300:<a href="http://0.NA/10138" target="_top" rel="nofollow">0.NA/10138</a>" "300:<a href="http://0.NA/1975" target="_top" rel="nofollow">0.NA/1975</a>" "300:<a href="http://0.NA/10224" target="_top" rel="nofollow">0.NA/10224</a>" "300:<a href="http://0.NA/10250" target="_top" rel="nofollow">0.NA/10250</a>" "300:<a href="http://0.NA/10227" target="_top" rel="nofollow">0.NA/10227</a>" ) "replication_admins" = ( "300:<a href="http://0.NA/10138" target="_top" rel="nofollow">0.NA/10138</a>" "300:<a href="http://0.NA/1975" target="_top" rel="nofollow">0.NA/1975</a>" "300:<a href="http://0.NA/10224" target="_top" rel="nofollow">0.NA/10224</a>" "300:<a href="http://0.NA/10250" target="_top" rel="nofollow">0.NA/10250</a>" "300:<a href="http://0.NA/10227" target="_top" rel="nofollow">0.NA/10227</a>" ) "max_session_time" = "86400000" "this_server_id" = "1" "max_auth_time" = "60000" "backup_admins" = ( "300:<a href="http://0.NA/10138" target="_top" rel="nofollow">0.NA/10138</a>" "300:<a href="http://0.NA/1975" target="_top" rel="nofollow">0.NA/1975</a>" "300:<a href="http://0.NA/10224" target="_top" rel="nofollow">0.NA/10224</a>" "300:<a href="http://0.NA/10250" target="_top" rel="nofollow">0.NA/10250</a>" "300:<a href="http://0.NA/10227" target="_top" rel="nofollow">0.NA/10227</a>" ) |
2 Comments
Looking into implementing this on DSpace 5.x soon and would love to hear some experiences.
or example, one of the two config variables related to this functionality is completely undocumented:
handle.plugin.checknameauthority
The message thread linked above recommends setting this to false, but from reading the comment in HandlePlugin.java it seems it should actually be true.
You need to set the variable to ‘false’. More info at https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/handle/HandlePlugin.java#L328