Re: [Dspace-tech] How to change the language of login page?

2012-08-27 Thread helix84
Hi Khoan,

On Mon, Aug 27, 2012 at 4:51 AM, Khoan Cat Be Tong nhomk...@gmail.com wrote:
 I am running a Dspace 1.8.2 in LAN. Everything seems to OK. I want to use
 Vietnamese language. So, I learn
 https://wiki.duraspace.org/display/DSDOC18/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-MultilingualSupport

 and To set a language other than English as the default language for the
 repository's interface, you can simply rename the translation catalogue for
 the new default language to messages.xml as guide above.

that is actually not advisable. I'll remove it from documentation.

The correct course of action (for XMLUI) is to leave messages.xml in
English, put Vietnamese into messages_vi.xml and configure
xmlui.supported.locales = en, vi
After changing the messages files or dspace.cfg, you need to restart Tomcat.

The result of this will be that language preferences set in user's
browser will be taken into account and those who prefer Vietnamese
will have all pages displayed in Vietnamese (including the login page)
and everyone else will get the interface in English (including the
login page).

 Vietnamese language is show at home page http://mydspace/xmlui and some
 pages like http://mydspace/xmlui/community-list ;
 http://mydspace/xmlui/browse?type=type=author (and type=title, type=subject
 ...). But http://mydspace/xmlui/password-login is English, I don't know why.
 I checked messages.xml and make sure that English translated into
 Vietnamese.

This is either a caching issue or you didn't restart Tomcat. See
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache
If you don't make the changes I suggested, after you clear your cache,
you will have your interface completely in Vietnamese without the
option of English for those who don't prefer Viernamese.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to change the language of login page?

2012-08-27 Thread helix84
To make one thing clear:
a) if you make changes to messages files in
[dspace-source]/dspace/modules/xmlui/src/main/webapp/i18n/
you need to rebuild DSpace + restart Tomcat.

b) if you make changes to messages files in
[dspace]/webapps/xmlui/i18n/
you need only to restart Tomcat, but remember to copy those changes to
[dspace-source]/dspace/modules/xmlui/src/main/webapp/i18n/ because the
next time you'll rebuild DSpace the files from [dspace-source] will be
used.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse index config

2012-08-27 Thread helix84
That's weird. The bi_*_dmap and bi_*_dis tables are created by
index-init, look here:

https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L383
https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java#L981

If you look at your database, are the tables for other indexes present?

Do your index tables correspond to your webui.browse.index.* options
in dspace.cfg?

Are there any errors during index-init if you raise log level to DEBUG?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse index config

2012-08-27 Thread Hilton Gibson
Hi Ivan

The tables seem to correspond with the settings in my config file.
My config file though is setup according to the manual not the config file.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Indexes

Since I setup my BI according to the manual there are no pgsql errors
anymore.
The old log is available from here: http://staff.lib.sun.ac.za/~hgibson/tmp/
To big to attach.

Cheers

hg

On 27 August 2012 15:08, helix84 heli...@centrum.sk wrote:

 That's weird. The bi_*_dmap and bi_*_dis tables are created by
 index-init, look here:


 https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L383

 https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java#L981

 If you look at your database, are the tables for other indexes present?

 Do your index tables correspond to your webui.browse.index.* options
 in dspace.cfg?

 Are there any errors during index-init if you raise log level to DEBUG?

 Regards,
 ~~helix84




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
attachment: pgsql-bi-tables.png

postgresql-8.4-main.log
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse index config

2012-08-27 Thread helix84
On Mon, Aug 27, 2012 at 3:17 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 Since I setup my BI according to the manual there are no pgsql errors
 anymore.

So is it working now? What did you do to make it work? Used default indexes?

 The old log is available from here: http://staff.lib.sun.ac.za/~hgibson/tmp/

I'm getting a Forbidden error from your Apache.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse index config

2012-08-27 Thread Hilton Gibson
On 27 August 2012 15:24, helix84 heli...@centrum.sk wrote:

 On Mon, Aug 27, 2012 at 3:17 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:
  Since I setup my BI according to the manual there are no pgsql errors
  anymore.

 So is it working now? What did you do to make it work? Used default
 indexes?


Used defaults specified in the manual not the config file.



  The old log is available from here:
 http://staff.lib.sun.ac.za/~hgibson/tmp/

 I'm getting a Forbidden error from your Apache.


Try now - sorry - good old Debian permissions.


 Regards,
 ~~helix84




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse index config

2012-08-27 Thread helix84
I just looked at my testing server with 3.0 and I seem to have had the
same problem when I installed it (when my dspace.cfg didn't match the
tables in the database because I still had the default definitions,
but custom indexes in DB). But it went away after index-init. I'm none
the wiser at this moment, but it's worth investigating.

Example:
2012-08-27 14:02:02 CEST ERROR:  relation bi_4_dis does not exist at
character 30
2012-08-27 14:02:02 CEST STATEMENT:  SELECT  COUNT(*) AS num FROM
bi_4_dis, (SELECT DISTINCT bi_4_dmap.distinct_id  FROM
collection2item, bi_4_dmap WHERE
bi_4_dmap.item_id=collection2item.item_id AND
collection2item.collection_id=$1 ) ma
2012-08-27 14:02:02 CEST ERROR:  current transaction is aborted,
commands ignored until end of transaction block
2012-08-27 14:02:02 CEST STATEMENT:  SELECT  COUNT(*) AS num FROM
bi_4_dis, (SELECT DISTINCT bi_4_dmap.distinct_id  FROM
collection2item, bi_4_dmap WHERE
bi_4_dmap.item_id=collection2item.item_id AND
collection2item.collection_id=$1 ) ma
2012-08-27 14:08:35 CEST ERROR:  relation bi_1 does not exist at character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_1 LIMIT 1
2012-08-27 14:08:35 CEST ERROR:  relation bi_1_dis does not exist at
character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_1_dis LIMIT 1
2012-08-27 14:08:35 CEST ERROR:  relation bi_2 does not exist at character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_2 LIMIT 1
2012-08-27 14:08:36 CEST ERROR:  relation bi_3 does not exist at character 15
2012-08-27 14:08:36 CEST STATEMENT:  SELECT * FROM bi_3 LIMIT 1

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Moving items between installations keeping handle

2012-08-27 Thread André
Dear all,

According to the wikis on
https://wiki.duraspace.org/display/DSDOC18/Transferring+or+Copying+Content+Between+Repositories
https://wiki.duraspace.org/display/DSDOC18/Importing+and+Exporting+Items+via+Simple+Archive+Format

when moving items between - for instance - a test and a production DSpace
installation, one should export using the --migrate argument so that the
(date.accessioned,
date.available, date.issued, description.provenance, format.extent,
format.mimetype
and the identifier.uri) metadata will be removed to receive new data from
the import.

But in our case we need to keep the handle, ie. we need the item's handle
from the test installation to be the same as in the prodution installation,
because in the dc.relation.ispartof metadata value we relate one item to
another by their handles.

My question therefore is if it is possible / what's the best way to move
items between installations keeping their handles but removing the other
metadata values such as date.accessioned etc.
We have no registry in handle.net yet.

Thanks in advance
Regards
Andre
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Moving items between installations keeping handle

2012-08-27 Thread helix84
On Mon, Aug 27, 2012 at 4:03 PM, André andre.ass...@usp.br wrote:
 when moving items between - for instance - a test and a production DSpace
 installation, one should export using the --migrate argument so that the
 (date.accessioned, date.available, date.issued, description.provenance,
 format.extent, format.mimetype and the identifier.uri) metadata will be
 removed to receive new data from the import.

Hi André,

the question is - do you actually care about the values of these
metadata fields?

If not, you can just take them with you to the other repository unchanged.

You can use AIP to transfer the whole object along with the handle.
You may want to take a look at the submission mode when restoring
and using the -o ignoreHandle=false option:
https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore%2FReplace%22modes
The question then is what happens if you're copying the item over
second time (i.e. if it already exists in the target repository from a
previous import).

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] add dc.identifier.citation to the datapackage

2012-08-27 Thread Priya S
Hi all,

Could you please tell me how to add dc.identifier.citation to the
datapackage so that I can have the citation appear on the page for a data
file. Right now, its not included as it says Citation is not yet available.

It would be great if you send me any URL on Howto.

Thank you.

Regards
Priya
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] add dc.identifier.citation to the datapackage

2012-08-27 Thread helix84
Hi Priya,

I remembered this time - you're using Dryad. Just mention that every
time you're writing here, please.

On Mon, Aug 27, 2012 at 4:24 PM, Priya S priya579...@googlemail.com wrote:
 Could you please tell me how to add dc.identifier.citation to the
 datapackage so that I can have the citation appear on the page for a data
 file. Right now, its not included as it says Citation is not yet available.

I don't know what a datapackage is. Do you just want to add the
dc.identifier.citation metadata field? Do you need any help on how to
display it (if so, are you using JSPUI or XMLUI)?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] add dc.identifier.citation to the datapackage

2012-08-27 Thread Priya S
Hi Helix,

I am so sorry that I did not mention. Yes, its dryad based.

Yes, I just want to add/enable dc.identifier.citation somewhere to make it
display on some page, I am using XMLUI.

Thanks  regards
Priya

On Mon, Aug 27, 2012 at 4:30 PM, helix84 heli...@centrum.sk wrote:

 Hi Priya,

 I remembered this time - you're using Dryad. Just mention that every
 time you're writing here, please.

 On Mon, Aug 27, 2012 at 4:24 PM, Priya S priya579...@googlemail.com
 wrote:
  Could you please tell me how to add dc.identifier.citation to the
  datapackage so that I can have the citation appear on the page for a data
  file. Right now, its not included as it says Citation is not yet
 available.

 I don't know what a datapackage is. Do you just want to add the
 dc.identifier.citation metadata field? Do you need any help on how to
 display it (if so, are you using JSPUI or XMLUI)?

 Regards,
 ~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] add dc.identifier.citation to the datapackage

2012-08-27 Thread helix84
On Mon, Aug 27, 2012 at 4:38 PM, Priya S priya579...@googlemail.com wrote:
 Yes, I just want to add/enable dc.identifier.citation somewhere to make it
 display on some page, I am using XMLUI.

First, you have to make sure that the metadata field is added to the
schema (generally, you shouldn't modify the dc schema, but I assume
probably in this case the UI requires you to use it).

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIadd%2Findex%2FdisplayanotherDublinCorefield%3F

Then, when you edit an item, it will show up in the list of metadata
fields and you'll be able to fill in its value.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Handle-info] Dspace - Two Instances Migrations

2012-08-27 Thread Tim Donohue
Hi George,

I could be mistaken here, but couldn't you just *keep* the old Handles 
alongside the new ones in the same DSpace instance?

For example, I *believe* this will work (you may want to it out first, 
on a test server to be certain -- I've never tried this before).

Use Case: Supposing you have two DSpace servers, configured with handle 
prefixes 2100 and 10453. You want to move all the 2100/* items over to 
the DSpace with handle prefix 10453.

1) First, export all 2100/* items from their DSpace using the AIP backup 
tools. https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore

2) Next, import those AIPs into the 10453 DSpace using the AIP 
restoration tools, but make sure to specify to *KEEP* the existing 
handles. For example:

./dspace packager -s -t AIP -e eperson -p collection-handle -o 
ignoreHandle=false Item-AIP.zip

NOTICE: the ignoreHandle=false flag, which tells DSpace to *KEEP* the 
handle specified in the AIP.  For more info see:
https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-AdditionalPackagerOptions

3) At this point, you should have two different handle prefixes being 
used in the same DSpace.  You'll have the 2100/* items which you moved 
over manually (via AIPs), and the DSpace itself will still be configured 
to use the 10453 handle prefix.

4) Finally, contact CNRI/Handle.net to let them know to point the 2100 
handle prefix at the *same IP address* as your 10453 prefix. Essentially 
you'll now have two external handle prefixes pointing at the same DSpace 
instance.

At this point, here's how I think things will work:
* Requests via handle.net for 2100 handles will just get redirected to 
those new items in DSpace
* Requests via handle.net for 10453 handles will just get redirected to 
those appropriate items in DSpace
* New items/submissions into DSpace will always get assigned 10453 
handles as that's the Handle server prefix (handle.prefix in dspace.cfg) 
configured within DSpace.

The reason why this should work is that DSpace just stores handles in a 
database table (appropriately called handle).  When you retrieve an 
item via its handle, it's just a simple database lookup to that table 
(the org.dspace.handle.HandleManager class does this).  The actual 
handle.prefix configuration for DSpace is by default ONLY USED when 
generating new handles for brand new items/objects.

I hope this helps!

- Tim


On 8/26/2012 9:49 PM, George Rokkas wrote:


 -Original Message-
 From: George Rokkas
 Sent: Monday, 27 August 2012 12:47 PM
 To: 'Scott Prater'
 Cc: Bram Luyten; handle-i...@cnri.reston.va.us; DSpace Tech
 Subject: RE: [Handle-info] Dspace - Two Instances Migrations

 Hi Scott,

 Just reading http://www.elook.org/computing/rfc/rfc3651-21.html about HS_ALIAS

 This seems like a viable solution with the HS_ALIAS. Each handle would need 
 its HS_ALIAS set to the new one, where does this happen? The Handle Server 
 config file?

 Once the replication takes place, are you saying that you can switch off the 
 2100 Handle server as it will be no longer needed and the redirect will still 
 take place?

 Thanks for your help

 George




 -Original Message-
 From: Scott Prater [mailto:pra...@wisc.edu]
 Sent: Saturday, 25 August 2012 12:22 AM
 To: George Rokkas
 Cc: Bram Luyten; handle-i...@cnri.reston.va.us; DSpace Tech
 Subject: Re: [Handle-info] Dspace - Two Instances Migrations

 Hello, George,

 I don't know much about DSpace, but I can talk about some options in the 
 handle server realm.  You could simply add HS_ALIAS values to your old 
 handles, pointing to the new handles:  then the handle server should redirect.

 Is it a requirement that the migrated handles have new IDs?  If the goal is 
 simply to migrate the handles, and maintaining the IDs is an option, you 
 could set up your new handle server as a mirror of the current one, let the 
 replication happen, then break the mirror and turn off the old server.

 -- Scott

 On 08/24/2012 02:39 AM, George Rokkas wrote:
 Hi Bram,

 Thanks for the reply.

 1.It's a permanent move

 2.Yes both their own handle servers: 2100 and 10453

 3.It will be shut down, I was planning on bringing the shutdown handle
 across to the second repo.

 Thanks

 George

 *From:*bluy...@gmail.com [mailto:bluy...@gmail.com] *On Behalf Of
 *Bram Luyten
 *Sent:* Friday, 24 August 2012 5:20 PM
 *To:* George Rokkas
 *Cc:* handle-i...@cnri.reston.va.us; DSpace Tech
 *Subject:* Re: [Handle-info] Dspace - Two Instances Migrations

 Hi George,

 a few questions to make sure I totally understand what you're trying
 to
 accomplish:
 - you're trying to permanently move these items from one DSpace to
 another, right?
 - Are both DSpace installations running their own handle server?
 - Do you have any items left in the first repository, after this
 migration? e.g. will you keep using two handle prefixes in the end
 situation?

 Also copying your email to the DSpace-Tech mailing list. In case
 

Re: [Dspace-tech] add dc.identifier.citation to the datapackage

2012-08-27 Thread Ryan Scherle
Hi Priya,

To add this citation, you will need to edit the metadata in the admin 
interface. There is no way to add this citation automatically. 

In the main Dryad system, this information is typically not known when an item 
is deposited. Authors submit content to Dryad at the time of article 
acceptance, before the article has been assigned to a particular issue of the 
journal. Therefore, Dryad curators add the citation later in the process, after 
the article has been published. Some time in the future, we will add a DSpace 
Curation Task that can look up the relevant article information from Crossref 
and build the citation.

-- Ryan

On Aug 27, 2012, at 10:48 AM, helix84 wrote:

 On Mon, Aug 27, 2012 at 4:38 PM, Priya S priya579...@googlemail.com wrote:
 Yes, I just want to add/enable dc.identifier.citation somewhere to make it
 display on some page, I am using XMLUI.
 
 First, you have to make sure that the metadata field is added to the
 schema (generally, you shouldn't modify the dc schema, but I assume
 probably in this case the UI requires you to use it).
 
 https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIadd%2Findex%2FdisplayanotherDublinCorefield%3F
 
 Then, when you edit an item, it will show up in the list of metadata
 fields and you'll be able to fill in its value.
 
 Regards,
 ~~helix84
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Handle-info] Dspace - Two Instances Migrations

2012-08-27 Thread Tim Donohue
One final note.

I forgot to mention, obviously the below solution would not work unless 
you are moving *ALL ITEMS* with prefix 2100 over to the DSpace with 
prefix 10453.

If you only wanted to move a few of the 2100/* items, then the below 
solution would definitely NOT work, as you would be switching the 2100 
prefix to point to a completely different location (IP address).

- Tim

On 8/27/2012 9:55 AM, Tim Donohue wrote:
 Hi George,

 I could be mistaken here, but couldn't you just *keep* the old Handles
 alongside the new ones in the same DSpace instance?

 For example, I *believe* this will work (you may want to it out first,
 on a test server to be certain -- I've never tried this before).

 Use Case: Supposing you have two DSpace servers, configured with handle
 prefixes 2100 and 10453. You want to move all the 2100/* items over to
 the DSpace with handle prefix 10453.

 1) First, export all 2100/* items from their DSpace using the AIP backup
 tools. https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore

 2) Next, import those AIPs into the 10453 DSpace using the AIP
 restoration tools, but make sure to specify to *KEEP* the existing
 handles. For example:

 ./dspace packager -s -t AIP -e eperson -p collection-handle -o
 ignoreHandle=false Item-AIP.zip

 NOTICE: the ignoreHandle=false flag, which tells DSpace to *KEEP* the
 handle specified in the AIP.  For more info see:
 https://wiki.duraspace.org/display/DSDOC18/AIP+Backup+and+Restore#AIPBackupandRestore-AdditionalPackagerOptions


 3) At this point, you should have two different handle prefixes being
 used in the same DSpace.  You'll have the 2100/* items which you moved
 over manually (via AIPs), and the DSpace itself will still be configured
 to use the 10453 handle prefix.

 4) Finally, contact CNRI/Handle.net to let them know to point the 2100
 handle prefix at the *same IP address* as your 10453 prefix. Essentially
 you'll now have two external handle prefixes pointing at the same DSpace
 instance.

 At this point, here's how I think things will work:
 * Requests via handle.net for 2100 handles will just get redirected to
 those new items in DSpace
 * Requests via handle.net for 10453 handles will just get redirected to
 those appropriate items in DSpace
 * New items/submissions into DSpace will always get assigned 10453
 handles as that's the Handle server prefix (handle.prefix in dspace.cfg)
 configured within DSpace.

 The reason why this should work is that DSpace just stores handles in a
 database table (appropriately called handle).  When you retrieve an
 item via its handle, it's just a simple database lookup to that table
 (the org.dspace.handle.HandleManager class does this).  The actual
 handle.prefix configuration for DSpace is by default ONLY USED when
 generating new handles for brand new items/objects.

 I hope this helps!

 - Tim


 On 8/26/2012 9:49 PM, George Rokkas wrote:


 -Original Message-
 From: George Rokkas
 Sent: Monday, 27 August 2012 12:47 PM
 To: 'Scott Prater'
 Cc: Bram Luyten; handle-i...@cnri.reston.va.us; DSpace Tech
 Subject: RE: [Handle-info] Dspace - Two Instances Migrations

 Hi Scott,

 Just reading http://www.elook.org/computing/rfc/rfc3651-21.html about
 HS_ALIAS

 This seems like a viable solution with the HS_ALIAS. Each handle would
 need its HS_ALIAS set to the new one, where does this happen? The
 Handle Server config file?

 Once the replication takes place, are you saying that you can switch
 off the 2100 Handle server as it will be no longer needed and the
 redirect will still take place?

 Thanks for your help

 George




 -Original Message-
 From: Scott Prater [mailto:pra...@wisc.edu]
 Sent: Saturday, 25 August 2012 12:22 AM
 To: George Rokkas
 Cc: Bram Luyten; handle-i...@cnri.reston.va.us; DSpace Tech
 Subject: Re: [Handle-info] Dspace - Two Instances Migrations

 Hello, George,

 I don't know much about DSpace, but I can talk about some options in
 the handle server realm.  You could simply add HS_ALIAS values to your
 old handles, pointing to the new handles:  then the handle server
 should redirect.

 Is it a requirement that the migrated handles have new IDs?  If the
 goal is simply to migrate the handles, and maintaining the IDs is an
 option, you could set up your new handle server as a mirror of the
 current one, let the replication happen, then break the mirror and
 turn off the old server.

 -- Scott

 On 08/24/2012 02:39 AM, George Rokkas wrote:
 Hi Bram,

 Thanks for the reply.

 1.It's a permanent move

 2.Yes both their own handle servers: 2100 and 10453

 3.It will be shut down, I was planning on bringing the shutdown handle
 across to the second repo.

 Thanks

 George

 *From:*bluy...@gmail.com [mailto:bluy...@gmail.com] *On Behalf Of
 *Bram Luyten
 *Sent:* Friday, 24 August 2012 5:20 PM
 *To:* George Rokkas
 *Cc:* handle-i...@cnri.reston.va.us; DSpace Tech
 *Subject:* Re: [Handle-info] Dspace - Two Instances Migrations

 Hi George,

 a few 

[Dspace-tech] E-Science Institute - last week to register

2012-08-27 Thread Valorie Hollister
This is the final week to register for the DuraSpace/ARL/DLF E-Science 
Institute!  There are just a few openings available for the fall 2012 offering, 
which runs from September 6 through December 13. To register, visit 
http://duraspace.org/e-science-institute. 

The E-Science Institute is designed to help academic and research libraries 
develop a strategic agenda for e-research support, with a particular focus on 
the sciences. The Institute consists of a series of interactive modules that 
take small teams of individuals from your institution through a dynamic 
learning process to strengthen and advance their strategy for supporting 
computational scientific research. The coursework begins with a series of 
exercises for teams to complete at their institutions, and culminates with an 
in-person workshop. Local institution assignments help staff establish a high 
level understanding of research support background needs and issues.  
Originally funded and developed by the sponsors and supporting institutions of 
the Association of Research Libraries (ARL) and Council on Library and 
Information Resources (CLIR) / Digital Library Federation (DLF) and it was 
previously only available to their members. Going forward the E-Science 
Institute will be managed by the DuraSpace organization in partnership with ARL 
and CLIR/DLF, and will be open to all institutions. The current offering of the 
Institute includes improvements based on participant and faculty feedback as 
well as content updates as e-research services continue to mature individually 
and collectively. 

The registration deadline is September 1 and the launch webinar will be held 
next Thursday, September 6 at 1pm Eastern. 

For more information, please visit http://duraspace.org/e-science-institute.--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAPServlet failed login result=5

2012-08-27 Thread Joseph Thomas
Yes, this did work after I found a couple of other small things I had crossed 
up while attempting to find a combination of settings that would work.  Thanks 
again for the help!
 
Joe 

 helix84 heli...@centrum.sk 8/24/2012 4:42 PM 
On Wed, Aug 22, 2012 at 5:45 PM, helix84 heli...@centrum.sk wrote:
 Oh, yeah. I forgot to tell you. You have to set up ldap.email_field =
 cn or it won't work. You also won't be able to send mail, because
 DSpace assumes that the user's ID is an email, which in case of LDAP
 usually isn't.

 See:
 https://jira.duraspace.org/browse/DS-937
 https://jira.duraspace.org/browse/DS-586

Hi Joseph,

did this work? If not, I may have another tip.

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question about Embargo?

2012-08-27 Thread Thornton, Susan M. (LARC-B702)[LITES]
Hello,
 I've been reading the DSpace 1.7.1 documentation on the Embargo feature 
and I'm wondering if it's something that might work for a User requirement we 
have.  This User needs to add multiple collections of documents to DSpace, with 
each collection having its own scheduled Delete/Destroy date.  On the 
specified date, the collection would be deleted from DSpace.

From what I've read about the Embargo feature, it seems like this is the 
opposite of what we want to do since the Embargo feature seems to allow you to 
add documents to DSpace that may either not be available at all until a certain 
date, or only available to local users (not the public) until that date.  You 
set the date when you add the document(s) to DSpace and run a nightly cron job 
that changes the access restrictions on the specified date.

 So my question is:  Can we use the Embargo feature to DISALLOW access 
and/or delete documents on a certain, pre-specified date?

Thanks in advance,
Best regards,


Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center - LITES Contract
susan.m.thorn...@nasa.gov
(W) 757-864-2368
(M)  757-506-9903

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about Embargo?

2012-08-27 Thread helix84
On Mon, Aug 27, 2012 at 11:23 PM, Thornton, Susan M.
(LARC-B702)[LITES] susan.m.thorn...@nasa.gov wrote:
  So my question is:  Can we use the Embargo feature to DISALLOW access
 and/or delete documents on a certain, pre-specified date?

Hi Sue,

although I haven't done that before, I believe you can. In your
embargo lifter (implementing the EmbargoLifter interface [1]) you're
getting the item as parameter, so you should be able to do whatever
you want with it, even delete it.

[1] 
https://github.com/DSpace/DSpace/blob/dspace-1_7_x/dspace-api/src/main/java/org/dspace/embargo/EmbargoLifter.java

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech