[Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
Goodmorning everyone, I am investigating the possibility of using lighttpd's secdownload module to use expiring links. I'd like to use those in metadata, so that a link will be valid if viewed within a dspace record, yet inaccessible if hard linked directly. Just to be clear, these files are not

Re: [Dspace-tech] OAI question

2012-04-25 Thread Robert Ruiz
Hi, the real question is: how to configure the sets that are served to the outside via OAI-PMH. By default ?verb=ListSets lists all the sets and that's what we don't want. Thanks in advance, Robert El 19/04/2012 16:46, revskill escribió: I'm sorry, i really don't understand what harvested

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 07:54, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: If i was to use that, where should i add that piece of code and how should i call it to have the generated hash value in item-view.xsl ? Hi Evelthon, actually there already is an MD5 checksum calculated for

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
Hi Helix, Thanks for the reply. I will look into it. I'm working with lighttpd to host large video files. It seems to be working but i still have to make some more checks. My problem is that the url pointing to the file is viewable in the source code leading to the possibility of a third party

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 10:37, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: I'm working with lighttpd to host large video files. It seems to be working but i still have to make some more checks. My problem is that the url pointing to the file is viewable in the source code leading to

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
I don't think the generated bitstream checksum can be used in this case. The sum needed in lighttpd's case is the md5 sum of a concatenated string. The string is made up of a secret pass, the file name with a forward slash in front, and a time string that was previously converted to it's hex

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 12:20, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: I don't think the generated bitstream checksum can be used in this case.  The sum needed in lighttpd's case is the md5 sum of a concatenated string. The string is made up of a secret pass, the file name with

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Hi, Do I require to have AuthenticationManager.java and AuthenticationMethod.java also, or only PasswordAuthentication.java?. Thanks regards Kala On Tue, Apr 24, 2012 at 9:28 PM, Priya S priya579...@googlemail.com wrote: Thank you for the clarification. Will customize

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 13:16, Priya S priya579...@googlemail.com wrote: Do I require to have AuthenticationManager.java and AuthenticationMethod.java also, or only PasswordAuthentication.java?. I do not exactly understand your question. Yes, they are part of the source distribution and you

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
I am sorry for my simple (may be silly) questions...As i am too new to dspace and java, struggling to manage. Thank you for the reply. If I want to use a table Tperson instead of eperson, is it enough if i replace eperson with Tperson in PasswordAuthentication.java?. Thnks P On Wed, Apr 25,

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 13:39, Priya S priya579...@googlemail.com wrote: If I want to use a table Tperson instead of eperson, is it enough if i replace eperson with Tperson in PasswordAuthentication.java?. Definitely not, that's a variable name, not a table name. One approach is to derive a

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Hi, I am extremely sorry to trouble you. Could you please guide me what is the easiest way if I want to use table Tperson from a different postgres database instead of table eperson?. Thank you P On Wed, Apr 25, 2012 at 1:45 PM, helix84 heli...@centrum.sk wrote: On Wed, Apr 25, 2012 at

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 13:58, Priya S priya579...@googlemail.com wrote: Could you please guide me what is the easiest way if I want to use table Tperson from a different postgres database instead of table eperson?. In any case, you need a connection to this other database. So for each SQL

[Dspace-tech] (no subject)

2012-04-25 Thread paras jain
sir i have added 2 new search or browse categories in dspace.cfg file.but still i cannot find any new category to be added in dspace.i have make all required changes in dspace.cfg file or message.xml file as earlier mention.please guide me sir how i added new categories in dspace list.

[Dspace-tech] Community-wide discussion: easy upgrade scripts

2012-04-25 Thread Iryna Kuchma
Dear DSpace developers and users, As many of you know, the DSpace Community Advisory Team (DCAT) ( https://wiki.duraspace.org/display/cmtygp/DSpace+Community+Advisory+Team)https://wiki.duraspace.org/display/cmtygp/DSpace+Community+Advisory+Teamhelps review the JIRA issues classified as new

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Hi, What are the files involved here apart from the below to incorporate the changes you mentioned?. Could you pls tell me. 1) PasswordAuthentication.java, 2) Eperson.java Thnx n rgds P On Wed, Apr 25, 2012 at 2:08 PM, helix84 heli...@centrum.sk wrote: On Wed, Apr 25, 2012 at 13:58, Priya S

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 15:17, Priya S priya579...@googlemail.com wrote: What are the files involved here apart from the below to incorporate the changes you mentioned?. Could you pls tell me. 1) PasswordAuthentication.java, 2) Eperson.java AFAICT, these are the only files that need to be

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Many thanks. Rgds P On Wed, Apr 25, 2012 at 3:21 PM, helix84 heli...@centrum.sk wrote: On Wed, Apr 25, 2012 at 15:17, Priya S priya579...@googlemail.com wrote: What are the files involved here apart from the below to incorporate the changes you mentioned?. Could you pls tell me. 1)

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
I do not have eperson directory in the existing system, so I have downloaded Eperson.java rest from https://github.com/DSpace/DSpace/tree/dspace-1_6_x/dspace-api/src/main/java/org/dspace/eperson and kept in the same location where I have authenticate module. Is it correct?. Pls let me know.

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 15:46, Priya S priya579...@googlemail.com wrote: I do not have eperson directory in the existing system, so I have downloaded Eperson.java rest from https://github.com/DSpace/DSpace/tree/dspace-1_6_x/dspace-api/src/main/java/org/dspace/eperson and kept in the same

[Dspace-tech] DSpace upgrade problem

2012-04-25 Thread Alain Tschanz
Hello, I upgraded DSpace from version 1.8.0 to 1.8.2 following the instructions at https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.8+to+1.8.x, but after the upgrade the DSpace version in control panel-DSpace configuration is still at 1.8.0. I ran mvn with the clean option and

Re: [Dspace-tech] how debug postgresql?

2012-04-25 Thread ʚïɞ . . . liss . . . εïз
Hello helix84, Thank you very much by the command!!!, it's made that the assetstore with 40gb would became in 17 gb. Now I have this problem like I said I had delete some records but some metadata like author and subject continues to appear in the repository when I look for entries it show me

Re: [Dspace-tech] DSpace upgrade problem

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 16:23, Alain Tschanz atsch...@njstatelib.org wrote: I upgraded DSpace from version 1.8.0 to 1.8.2 following the instructions at https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.8+to+1.8.x, but after the upgrade the DSpace version in control panel-DSpace

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Hi, What I have is the customized dspace from Datadryad, I am not sure whether I can do a fresh installation of dspace in it as its been customized already according to our requirements. so I have to work in the existing system. Rgds P On Wed, Apr 25, 2012 at 3:51 PM, helix84

Re: [Dspace-tech] how debug postgresql?

2012-04-25 Thread helix84
1) shut down tomcat 2) [dspace]/bin/dspace index-init 3) start tomcat That may take a long time depending on the size of your repository. If you're using XMLUI with Discovery, also run [dspace]/bin/dspace update-discovery-index -b after that while tomcat is running. Regards, ~~helix84

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 16:38, Priya S priya579...@googlemail.com wrote: What I have is the customized dspace from Datadryad,  I am not sure whether I can do a fresh installation of dspace in it as its been customized already according to our requirements. so I have to work in the existing

Re: [Dspace-tech] DSpace upgrade problem

2012-04-25 Thread Alain Tschanz
As always, I'm much obliged. I thought I had Tomcat point to the webapps directory of Dspace--I have it set up this way on my test server--but the production server still looked for the webapps directory in Tomcat. After changing the configuration, the correct version number is displaying now

Re: [Dspace-tech] sendPageAndWait not moving on.

2012-04-25 Thread Blanco, Jose
I've made a couple of changes trying to emulate other files that work the way I want this to work, and I'm still stuck. Question, I have cocoon.sendPageAndWait(request-item/main,{handle:handle,itemId:itemId,bitstreamId:bitstreamId}); and I have: map:match

[Dspace-tech] Has anyone ingested scanned documents directly into DSpace?

2012-04-25 Thread Magnus Norberg
Hello everyone, Has anyone ingested scanned documents directly into DSpace? What system did you use and how did it work? Thank you! /Greetings from Magnus, Sweden -- Live

[Dspace-tech] Media Filter Errors

2012-04-25 Thread Brett Arno
Hello All, I'm receiving a good portion of errors when running the filter-media command and wondering if anyone can provide some insight. I'm running 1.7.2 XMLUI with Mirage on a Red Hat server. Most items in the instance give this error: ERROR filtering, skipping bitstream: Item

Re: [Dspace-tech] Media Filter Errors

2012-04-25 Thread helix84
Thanks for the exact info. This has been reported a few times before and seems to be a permissions problem - dspace is not able to create a file in assetstore. Can you take a look at these threads and report back? http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg16423.html

Re: [Dspace-tech] Media Filter Errors

2012-04-25 Thread helix84
Also this one: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg04327.html -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has

Re: [Dspace-tech] Media Filter Errors

2012-04-25 Thread Brett Arno
Thanks for the helpful advice helix. I do notice that our assetstore has 755 permissions set on them for the tomcat user. This may not be the correct user, but it had cleared up previous issues that we were getting from the UI during the submission phases. I suppose a switch to 777 would

Re: [Dspace-tech] Media Filter Errors

2012-04-25 Thread Brett Arno
I think I'm starting to make some more sense of this, but maybe I'm missing something and could use some clarification. Right now our assetstore is owned by the tomcat user, and the reason we did this was because of could not create errors during our submission process from the UI. It was

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread Priya S
Hi, I am trying to install Dspace 1.6.2 as advised by you. I just followed the steps in the manual. In Step 8, when i say ant fresh_install, it says build failed. Here is the err msg. Could you please tell me where did I make mistake in dspace.cfg. Thank you.

Re: [Dspace-tech] PasswordLogin.java

2012-04-25 Thread helix84
That error means it tried to connect to the database with the login and password you provided, but it failed. Did you create the database in Step 4 by these two commands run as root? createuser -U postgres -d -A -P dspace createdb -U dspace -E UNICODE dspace The second command prompted you for