[Dspace-tech] Importer error

2007-11-27 Thread Mika Stenberg
Would someone know what might be causing the importer to throw error 
like below. All the files are there. Is this a permission issue?


Thanks,
Mika

Processing contents file: /var/www/tds_submit/dc/674/0/contents
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
at 
org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
at org.dspace.content.Bitstream.create(Bitstream.java:184)
at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:)
at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1038)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.io.IOException: No such file or directory

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Importer error

2007-11-27 Thread Blanco, Jose
If you do a 

ls -la  /var/www/tds_submit/dc/674/0/contents

What do you see?

-Jose

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mika
Stenberg
Sent: Tuesday, November 27, 2007 8:49 AM
To: 'dspace-tech@lists.sourceforge.net'
Subject: [Dspace-tech] Importer error

Would someone know what might be causing the importer to throw error
like below. All the files are there. Is this a permission issue?


Thanks,
Mika

Processing contents file: /var/www/tds_submit/dc/674/0/contents
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at
edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
at 
org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStora
geManager.java:332)
at org.dspace.content.Bitstream.create(Bitstream.java:184)
at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.
java:)
at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java
:1038)
at
org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
at
org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
at
org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.io.IOException: No such file or directory


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Importer error

2007-11-27 Thread Mark Diggory
Looks like a permissions error on the file system. If you are running  
tomcat under the tomcat user and your Importer under the dspace user  
this is an issue that will arise.

I really haven't a great solution for this yet. I put the tomcat  
user in the dspace group and set a sticky bit on the directories so  
that they are group owned by dspace, but the init.d start script used  
for tomcat on Linux usually forces a specific umask on the tomcat  
server so that you can't assure that new files are group writable.  
Ultimately leading me to need a cron script that periodically  
rewrites the permissions in the assetstore.


An alternative strategy I've worked on today is to assign the dspace  
and tomcat users the same uid and gid so that they have identical  
user permissions.

Ultimately, this exposes a certain ugliness in the way that clients/ 
applications use a dspace instance. Rather than a service one  
accesses to do tasks (which would operate in its own process with its  
own permissions), instead we see that DSpace is simply a set of  
libraries that can be executed on an assetstore/database pair... and  
there are so many places that can get screwed up.


-Mark

On Nov 27, 2007, at 8:48 AM, Mika Stenberg wrote:

 Would someone know what might be causing the importer to throw error
 like below. All the files are there. Is this a permission issue?


 Thanks,
 Mika

 Processing contents file: /var/www/tds_submit/dc/674/0/contents
 java.io.IOException: No such file or directory
   at java.io.UnixFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(File.java:850)
   at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
   at
 org.dspace.storage.bitstore.BitstreamStorageManager.store 
 (BitstreamStorageManager.java:332)
   at org.dspace.content.Bitstream.create(Bitstream.java:184)
   at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
   at
 org.dspace.app.itemimport.ItemImport.processContentFileEntry 
 (ItemImport.java:)
   at
 org.dspace.app.itemimport.ItemImport.processContentsFile 
 (ItemImport.java:1038)
   at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
   at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
 java.io.IOException: No such file or directory

 -- 
 ---
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] streaming video?

2007-11-27 Thread Vlastimil Krejcir
   Hi,

   Symlink DSpace project is stopped now.

   ad to Shane Beers reply -- it would be nice to have everything in 
central repository. But DSpace doesn't support many features that is 
needed for downloading big video files - all the things behind such as 
load balancing, data flow optimalization etc. (it is usual that the 
servers providing video files are overloaded from time to time, especially 
when students download captured lessons at the end of the term before 
exams :-)). That's why we have used the symbolic linking - all the things 
for optimizing doesn't depend on anything in DSpace.

   However I can't say there's no better way how to solve it. The 
symlinking seemed to be the most elegant way at that time.

   That's all I would like to add :-)

   Vlastik


On Sun, 25 Nov 2007, NS Hashmi,  Information Systems and Computing wrote:

 Hi, do you have a demo in action? I assume 'actual stream' refers to the
 file prior to becoming a bitstream located in the asset store?

 For info :-
 http://wiki.dspace.org/index.php/SymlinkDSpace

 Naveed

 Date: Fri, 23 Nov 2007 10:08:34 -0500
 From: Mark H. Wood [EMAIL PROTECTED]
 Subject: Re: [Dspace-tech] streaming video?
 To: dspace-tech@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 I've tinkered a bit with storing an item consisting of a SMIL document
 that points at the actual stream.  I got it to work but we haven't
 used this in production yet.

 -- 
 Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
 Typically when a software vendor says that a product is intuitive he
 means the exact opposite.


 
 Naveed Hashmi
 Information Systems and Computing
 University of Bristol
 [EMAIL PROTECTED]



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Language pack authors - czech translation

2007-11-27 Thread Vlastimil Krejcir
   Hi all,

   does anybody know who are the authors of the translations of 
Messages_properties. Especially who is the author of czech (cs) 
translation for DSpace version 1.5?

   Or better - this is message for the one who has translated 
Messages_properties into czech: Could you contact me?

   Thanks for help

   Vlastik




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Importer error

2007-11-27 Thread Robin Taylor
Experienced a similar problem where assetstore was owned by user dspace,
group dspace. Tomcat was running as user tomcat with primary group tomcat.
Tomcat did also belong to group dspace but whenever it added files to the
assetstore it would set the group owner to be tomcat. I have thought about
setting the SGID bit on the assetstore directory, my understanding is that
anything added to the directory will have the owner set to be the owner of
the directory ie dspace. This would ensure that any other process belonging
to group dspace would still be able to access all the files. However, I
haven't implemented this yet !

Cheers, Robin.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Diggory
Sent: 27 November 2007 15:25
To: Mika Stenberg
Cc: 'dspace-tech@lists.sourceforge.net'
Subject: Re: [Dspace-tech] Importer error

Looks like a permissions error on the file system. If you are running tomcat
under the tomcat user and your Importer under the dspace user this is an
issue that will arise.

I really haven't a great solution for this yet. I put the tomcat user in
the dspace group and set a sticky bit on the directories so that they are
group owned by dspace, but the init.d start script used for tomcat on Linux
usually forces a specific umask on the tomcat server so that you can't
assure that new files are group writable.  
Ultimately leading me to need a cron script that periodically rewrites the
permissions in the assetstore.


An alternative strategy I've worked on today is to assign the dspace and
tomcat users the same uid and gid so that they have identical user
permissions.

Ultimately, this exposes a certain ugliness in the way that clients/
applications use a dspace instance. Rather than a service one accesses to do
tasks (which would operate in its own process with its own permissions),
instead we see that DSpace is simply a set of libraries that can be executed
on an assetstore/database pair... and there are so many places that can get
screwed up.


-Mark

On Nov 27, 2007, at 8:48 AM, Mika Stenberg wrote:

 Would someone know what might be causing the importer to throw error 
 like below. All the files are there. Is this a permission issue?


 Thanks,
 Mika

 Processing contents file: /var/www/tds_submit/dc/674/0/contents
 java.io.IOException: No such file or directory
   at java.io.UnixFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(File.java:850)
   at
edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
   at
 org.dspace.storage.bitstore.BitstreamStorageManager.store
 (BitstreamStorageManager.java:332)
   at org.dspace.content.Bitstream.create(Bitstream.java:184)
   at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
   at
 org.dspace.app.itemimport.ItemImport.processContentFileEntry
 (ItemImport.java:)
   at
 org.dspace.app.itemimport.ItemImport.processContentsFile
 (ItemImport.java:1038)
   at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
   at
org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
   at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
 java.io.IOException: No such file or directory

 --
 ---
 This SF.net email is sponsored by: Microsoft Defy all challenges. 
 Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language pack authors - czech translation

2007-11-27 Thread Claudia Jürgen
Hi Vlastimil,

the first and only czech translation is based on 1.3.2 and was done by 
Dusan Jaluvka. You might contact the author via the Sourceforge page, 
see patch 
http://sourceforge.net/tracker/index.php?func=detailaid=1472553group_id=19984atid=319984

An update of the translations to Czech would be much appreciated by the 
DSpace community.


hope that helps

Claudia Jürgen


Vlastimil Krejcir schrieb:
Hi all,
 
does anybody know who are the authors of the translations of 
 Messages_properties. Especially who is the author of czech (cs) 
 translation for DSpace version 1.5?
 
Or better - this is message for the one who has translated 
 Messages_properties into czech: Could you contact me?
 
Thanks for help
 
Vlastik
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Item Permissions

2007-11-27 Thread mfrodrigues



  Hello,

  I have a collection where the bitstream permissions are set to Anonymous.

  Since the collection bitstream permission are set to Anonymous can  
i set a permission for a specific item on that collection, other than  
anonymous?


  To give the entire idea:

  COLLECTION A (bitstream permissions to Anonymous)
 ITEM1 (bitstream permissions set to Anonymous)
 ITEM2 (i wanted to set bitstream with permissions only to GROUP A)

I have tryied several options, but i think the read permission is  
always inherited from the father. So I think that i will never be able  
to set different permissions when the collection permissions are set  
to anonymous.


Thanks!

  Marcelo


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Reading other files in Manakin (was: Re: Desired hierarchical display of communities and collection list)

2007-11-27 Thread Dorothea Salo
Okay, I did a little bit of scouting around today, and I discovered
that this gets really hairy really fast, but we probably can do
something about it, if we're willing to create a DSpace-specific
metadata schema just to hold bitstream information (which might not be
the world's worst idea, actually -- but then again it might).

The METS file element lets you have an admid attribute that points
to administrative metadata about the file elsewhere in the METS
document. For our purposes, we would probably end up creating
something like this (assume the new metadata is in a ds schema) for
each bitstream (or perhaps for each format in an item? one could point
more than one bitstream to the same amdSec):

mets:amdSec id=bitstream_1
   mets:techMD id=bitstream_1_techmd
  mets:mdWrap OTHERMDTYPE=DIM MDTYPE=other
 mets:xmlData
dim:dim dspaceType=BITSTREAM
   dim:field element=formatName mdschema=dsHappyFile
version 1.01/dim:field
/dim:dim
 /mets:xmlData
  /mets:mdWrap
   /mets:techMD
/mets:amdSec

The place to pop this in, I *think*, is somewhere in
xmlui.objectmanager.ItemAdapter.java. If what I just suggested doesn't
seem outrageous, I'll take a whack at coding it up.

Dorothea

-- 
Dorothea Salo[EMAIL PROTECTED]
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] (no subject)

2007-11-27 Thread Maike Dulk
Hi

I've been looking into this for a some now and it does not become any  
clearer.

It's this. When you submit an item, there are these Initial Questions  
(initial-questions.jsp). There seem to be three of them.
I was wondering how it is determined whether they are displayed or not?
In initial-questions.jsp I can see that this depends on the return  
values of the functions inputSet.isDefinedMultTitles(),  
inputSet.isDefinedPubBefore() and SubmitServlet.isWorkflow(si) but  
that does not really explain why one user in our Dspace installation  
gets only the The item consists of more than one file question, and  
the other (they are both Dspace admins) sees  The item has more than  
one title, e.g. a translated title AND The item consists of more  
than one file but NOT the third one. Incidentally, when we choose a  
different collection all three questions do show up.

i cannot find any place in Dspace where this behaviour is set ...  
i.e. like in a config file of sorts.

I could try and track this issue down through the java code, but just  
in case that any of you have seen this behaviour before and could  
offer me a shortcut, that could save me a lot of time ...

thanks in advance!

oh btw .. running Dspace 1.4.2

--
Maike Dulk - Programmer / Analyst
McPherson Library, University of Victoria
(t) 250-886-5709 / (e) [EMAIL PROTECTED]

Arithmetic:
An obscure art no longer practiced in the world's developed countries.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Strange error in our Dspace instance

2007-11-27 Thread Blanco, Jose
Every evening at 12:08 we restart tomcat and postgres. On 3 occasions 

Oct 30
Nov 01
Nov 19

We started  getting errors like the one below:

2007-10-30 00:22:23,752 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=9B156F98DC9E832C74A86E0DFDBFDD5B:internal_error:-- URL Was:
http://deepblue.lib.umich.edu/handle/2027.42/48661
-- Method: GET
-- Parameters were:

java.lang.IllegalArgumentException: org/dspace/license/CreativeCommons
at
org.apache.jsp.display_0002ditem$jsp._jspService(display_0002ditem$jsp.j
ava:132)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

I'm a bit confused because we don't have CreativeCommons enabled, and
I'm guessing that this error is misleading and that something else is
happening.  The IP addresses that cause these errors vary, and sometimes
they are successful at retrieving items.  The only way to stop the error
from continuing is to restart tomcat.   

This is a new problem we are seeing and it may be coincidental but it
started happening right after we did a full vacuum of our postgres
database, but I thought I mention it in case it means something to some
one.

Any one have any recommendations?

Thank you!
Jose

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Item Permissions

2007-11-27 Thread Claudia Juergen
Hi Marcelo,

you can change the rights for an item and it's parts (bundles and
bitstreams). Each element got it's own rights. The settings are derived
during ingest from the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ of the
collection. Once an item is submitted it's rights are independent of the
owning collection.

To change the rights log in as admin, navigate to the item you want to
change, then edit item and use item's authorizations to change the rights.

If you want to change a set got to /dspace-admin and use the authorization
tool.

hope that helps

Claudia



Hello,

I have a collection where the bitstream permissions are set to
 Anonymous.

Since the collection bitstream permission are set to Anonymous can
 i set a permission for a specific item on that collection, other than
 anonymous?

To give the entire idea:

COLLECTION A (bitstream permissions to Anonymous)
  ITEM1 (bitstream permissions set to Anonymous)
  ITEM2 (i wanted to set bitstream with permissions only to GROUP A)

 I have tryied several options, but i think the read permission is
 always inherited from the father. So I think that i will never be able
 to set different permissions when the collection permissions are set
 to anonymous.

 Thanks!

Marcelo


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Restoring a deleted Group

2007-11-27 Thread George Kozak
Hi...

By accident, one of our Admins deleted a Group in 
DSpace.  Unfortunately, it is our largest group (the group of 
students who can submit a thesis or dissertation and the professors 
who can view those papers).  Is there a way through PostGreSQL to 
recover the group?  I really don't want to restore the database from 
backup because I will loose submissions and changes that have been made.

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] advanced search

2007-11-27 Thread spvempat

Hi,

Could somebody explain to me how the advanced search works.

I would like to add one more drop down for date of publication(for ex:  
2000 to 2007)

Could you somebody tell me how can i do this.

Thanks,
Sree




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] advanced search

2007-11-27 Thread Claudia Juergen
Hallo,

in order to change the advanced search you must

1 Edit [dspace-source]/config/dspace.cfg

2 Set/Change a search index

search.index.1 = author:dc.contributor.*
search.index.2 = affiliation:myschema.creator.affiliation
...
search.index.[number] =
[name]:[metadataschema].[element].[qualifier]

3 It might be necessary to change

[dspace-source]/jsp/local/search/advanced.jsp In order to use
new/changed indices in the advanced search, e.g.:
select name=field1 id=tfield1
option value=affiliation %= field1.equals(affiliation) ?
selected=fmt:message key=jsp.search.advanced.type.affiliation/
/option
/select
You must perform this change for field2 and field3.

4 Please check that the tags needed are in
[dspace-source]/config/language-packs/Messages.properties|, e.g.:
jsp.search.advanced.type.affiliation


Then you must rebuild, redeploy and reindex DSpace


hope that helps

Claudia


P. S. The example above has been taken from a customization guide for
DSpace 1.4.1 see https://eldorado.uni-dortmund.de/handle/2003/23572

 Hi,

 Could somebody explain to me how the advanced search works.

 I would like to add one more drop down for date of publication(for ex:
 2000 to 2007)

 Could you somebody tell me how can i do this.

 Thanks,
 Sree




 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Item Permissions

2007-11-27 Thread mfrodrigues

Hi Claudia,

Thank you for your reply.

I had already tested this situation but even with anonymous user i was  
able to still see the bitstream of protected content.
But since you were confident that this would work, i've tested other  
situation, such as cleaning my browser cache! And it worked!


Thank you very much for you reply!

I  just have one more question regarding this issue:
Im using the default app.itemimport.ItemImport class to import files,  
from a regular dublin_core.xml file. I would really like to add a  
permision flag to this file. Can dspace handle something like this?  
Something like adding permission on a dublin_core.xml, saying that  
this specific publication will have bitstream read only from group  
TEST


Thank you!

  Citando Claudia Juergen [EMAIL PROTECTED]:


Hi Marcelo,

you can change the rights for an item and it's parts (bundles and
bitstreams). Each element got it's own rights. The settings are derived
during ingest from the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ of the
collection. Once an item is submitted it's rights are independent of the
owning collection.

To change the rights log in as admin, navigate to the item you want to
change, then edit item and use item's authorizations to change the rights.

If you want to change a set got to /dspace-admin and use the authorization
tool.

hope that helps

Claudia




    Hello,

    I have a collection where the bitstream permissions are set to
Anonymous.

    Since the collection bitstream permission are set to Anonymous can
i set a permission for a specific item on that collection, other than
anonymous?

    To give the entire idea:

    COLLECTION A (bitstream permissions to Anonymous)
  ITEM1 (bitstream permissions set to Anonymous)
  ITEM2 (i wanted to set bitstream with permissions only to GROUP A)

I have tryied several options, but i think the read permission is
always inherited from the father. So I think that i will never be able
to set different permissions when the collection permissions are set
to anonymous.

Thanks!

    Marcelo


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech












-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Restoring a deleted Group

2007-11-27 Thread Mark Diggory
If you have a sql dump backup from just prior to the incident you  
could diff it against a new dump for comparison of what exactly is  
different.  Merging in the entries that were removed from  
epersongroups and its various tables and then do a full restore of  
the merged sql dump. But you'll want to be offline or set the  
database to read-only during the process.


-Mark

On Nov 27, 2007, at 4:35 PM, George Kozak wrote:


Hi...

By accident, one of our Admins deleted a Group in
DSpace.  Unfortunately, it is our largest group (the group of
students who can submit a thesis or dissertation and the professors
who can view those papers).  Is there a way through PostGreSQL to
recover the group?  I really don't want to restore the database from
backup because I will loose submissions and changes that have been  
made.


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]



~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Restoring a deleted Group

2007-11-27 Thread Mark Diggory
Sorry, this was probibly a bit short-sighted a response, I went and  
tested it and the line numbers get reordered between submissions...  
its difficult to merge.


What I might recommend is to get a list  of all tables and sequences  
effected in a group deletion and do the following.


1.) get the previous dump prior to the deletion, restore it to a new  
db on a different machine

2.) dump only those tables and sequences to a sql dump file.
3.) restore those tables and sequences on a new copy of the existing  
database

4.) test this, verify that it works and doesn't break anything.
5.) take your production system offline and back it up
6.) preform the task on your production system
7.) bring the production system online and test.

I believe the tables/sequences will be:

SEQUENCE epersongroup_seq;
SEQUENCE resourcepolicy_seq;
SEQUENCE epersongroup2eperson_seq;
SEQUENCE epersongroup2workspaceitem_seq;
SEQUENCE group2group_seq;
SEQUENCE group2groupcache_seq;

TABLE EPersonGroup
TABLE Group2Group
TABLE Group2GroupCache
TABLE ResourcePolicy
TABLE EPersonGroup2EPerson
TABLE epersongroup2workspaceitem

I'm 100% sure about this list, some may be important, some may not.  
Hopefully you've not made changes to these tables since the  
incident...


-Mark

On Nov 27, 2007, at 4:55 PM, Mark Diggory wrote:

If you have a sql dump backup from just prior to the incident you  
could diff it against a new dump for comparison of what exactly is  
different.  Merging in the entries that were removed from  
epersongroups and its various tables and then do a full restore of  
the merged sql dump. But you'll want to be offline or set the  
database to read-only during the process.


-Mark

On Nov 27, 2007, at 4:35 PM, George Kozak wrote:


Hi...

By accident, one of our Admins deleted a Group in
DSpace.  Unfortunately, it is our largest group (the group of
students who can submit a thesis or dissertation and the professors
who can view those papers).  Is there a way through PostGreSQL to
recover the group?  I really don't want to restore the database from
backup because I will loose submissions and changes that have been  
made.


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]



~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology



-- 
---

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ 
___

DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] External database authentication in dspace

2007-11-27 Thread Nikolas Lam
On Tue, 2007-11-27 at 12:30 +0530, Mohammad Ehtesham wrote:
 Thanks for your reply Nik,
 
 I have checked the links and it seems using shibboleth it is possible. 
 
 I want to discuss further, I have already integrated our LMS (moodle)
 with our organization's MS AD (LDAP server) and I think we can integrate
 it with Dspace as well and this will give same sign on to both. But I am
 looking for the feature to enable single sign on (Once the user is
 logged in LMS (Moodle) his/her login authentication should pass on to
 dspace as well). 
 
 Dspace should not prompt the users to login.
 
 Looking forward for the suggestions

I think one of the selling points of Shibboleth is single sign-on.

I've only had a relatively light investigation of it so far. It's
probable that we'll be implementing the infrastructure at USyd soonish
for the cross-institutional collaboration that it would facilitate.
Until then, I'm afraid I've no expertise on the subject, but the
Shibboleth web site has a many links to resources including mailing
lists that you could make use of.

Also, I'm sure people here and on the mailing lists of moodle and joomla
would be keen to help if you come up with questions specific to
integrating shibboleth into dspace, moodle and joomla respectively.

Cheers,

Nik








-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Restoring a deleted Group

2007-11-27 Thread George Kozak

Mark:

Thank you...I was starting to think along those lines as well.  I 
appreciate the advice and the help.

George Kozak

Mark Diggory wrote:
Sorry, this was probibly a bit short-sighted a response, I went and 
tested it and the line numbers get reordered between submissions... 
its difficult to merge.


What I might recommend is to get a list  of all tables and sequences 
effected in a group deletion and do the following.


1.) get the previous dump prior to the deletion, restore it to a new 
db on a different machine
2.) dump only those tables and sequences to a sql dump file. 
3.) restore those tables and sequences on a new copy of the existing 
database

4.) test this, verify that it works and doesn't break anything.
5.) take your production system offline and back it up
6.) preform the task on your production system
7.) bring the production system online and test.

I believe the tables/sequences will be:

SEQUENCE epersongroup_seq;
SEQUENCE resourcepolicy_seq;
SEQUENCE epersongroup2eperson_seq;
SEQUENCE epersongroup2workspaceitem_seq;
SEQUENCE group2group_seq;
SEQUENCE group2groupcache_seq;

TABLE EPersonGroup
TABLE Group2Group
TABLE Group2GroupCache
TABLE ResourcePolicy
TABLE EPersonGroup2EPerson
TABLE epersongroup2workspaceitem 

I'm 100% sure about this list, some may be important, some may not. 
Hopefully you've not made changes to these tables since the incident...


-Mark

On Nov 27, 2007, at 4:55 PM, Mark Diggory wrote:

If you have a sql dump backup from just prior to the incident you 
could diff it against a new dump for comparison of what exactly is 
different.  Merging in the entries that were removed from 
epersongroups and its various tables and then do a full restore of 
the merged sql dump. But you'll want to be offline or set the 
database to read-only during the process.


-Mark

On Nov 27, 2007, at 4:35 PM, George Kozak wrote:


Hi...

By accident, one of our Admins deleted a Group in 
DSpace.  Unfortunately, it is our largest group (the group of 
students who can submit a thesis or dissertation and the professors 
who can view those papers).  Is there a way through PostGreSQL to 
recover the group?  I really don't want to restore the database from 
backup because I will loose submissions and changes that have been made.


***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 



~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net 
mailto:DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech