Re: [Dspace-tech] handle-server setup (psql)

2009-08-28 Thread François Parmentier
May I suggest to use update-handle-prefix?

On Fri, Aug 28, 2009 at 11:16 AM, Lewatle
Phaladilewatle.phal...@wits.ac.za wrote:
 Hi

 As my [dspace]/dspace/bin/update-handle-prefix gives error, I also come with
 an idea of modifying the handle table and change 123456789/ handle prefix

 I tried on one collection it worked, but I need an SQL statement that will
 update only 123456789 and leave other value, If you can check the values in
 handle table and specifically handle column start with prefix and followed
 by id like
 123456789/7135

 SQL statement that can alter our prefix (123456789) only in that column and
 leaves the id (/7135)

 I was using the statement :

 Table name is handle
 Column name is also handle

   dspace= UPDATE handle SET handle = '85642/7178' WHERE handle =
 '123456789/7178';

 that worked for updating single item,
 we need to update them simultaneously.

 Regards
 Lewatle





 -Original Message-
 From: Kim Shepherd [mailto:k...@waikato.ac.nz]
 Sent: Thu 8/27/2009 10:22 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] handle-server setup

 Hi Lewatle,



 In your [dspace]/bin directory, there is a script called
 update-handle-prefix



 If, for example, your new handle is 858585:



 [dspace]/bin/update-handle-prefix 123456789 858585



 This will update the old handles with a default handle prefix without
 bothering your new, correct items/collections/communities.



 Cheers,



 Kim



 From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za]
 Sent: Friday, 28 August 2009 1:42 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] handle-server setup



 Hi All

 I was setting up handle server for my University, and everything went well
 in such a way that changes apply only for new submissions, if we submit or
 import a file the file will take a new prefix not default like 123456789,

 What we really need is to change the default handle prefix e.g 123456789 to
 all our previous stored digital files and even to the new imported or
 submited file.

 Regards
 Lewatle

 This communication is intended for the addressee only. It is confidential.
 If you have received this communication in error, please notify us
 immediately and destroy the original message. You may not copy or
 disseminate this communication without the permission of the University.
 Only authorized signatories are competent to enter into agreements on behalf
 of the University and recipients are thus advised that the content of this
 message may not be legally binding on the University and may contain the
 personal views and opinions of the author, which are not necessarily the
 views and opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South African
 Law unless the University agrees in writing to the contrary.




 This communication is intended for the addressee only. It is confidential.
 If you have received this communication in error, please notify us
 immediately and destroy the original message. You may not copy or
 disseminate this communication without the permission of the University.
 Only authorized signatories are competent to enter into agreements on behalf
 of the University and recipients are thus advised that the content of this
 message may not be legally binding on the University and may contain the
 personal views and opinions of the author, which are not necessarily the
 views and opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South African
 Law unless the University agrees in writing to the contrary.

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Installing Dspace on ubuntu

2009-07-15 Thread François Parmentier
Do you have a proxy?

In this case, you need to configure maven to use this proxy.

On Tue, Jul 14, 2009 at 4:06 PM, Lewatle
Phaladilewatle.phal...@wits.ac.za wrote:
 Thanks for reply

 What i dit is:


 My Operating System : Ubuntu 9.4

 sudo apt-get install java-1.6.0-sun

 sudo useradd -m dspace
 sudo passwd dspace

 sudo mkdir /dspace-1.5.2-src-release
 sudo chown dspace /dspace-1.5.2-src-release


 $sudo su postgres
 createuser -U postgres -d -A -P dspace
 createdb -U dspace -E UNICODE  dspace

 then

 sudo vi /dspace-1.5.2-src-release/dspace/config/dspace.cfg

 I changed


 dspace.dir = /dspace-1.5.2-src-release
 dspace.url = http://localhost:8080/xmlui
 db.url = jdbc:postgresql://localhost:5432/dspace


 sudo su - dspace
 $ cd  /dspace-1.5.2-src-release/dspace/



 dsp...@lewatle-desktop:/dspace-1.5.2-src-release/dspace$ mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace XML-UI (Manakin)
 [INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
 [INFO]   DSpace Kernel :: API and Implementation
 [INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI
 [INFO]   DSpace LNI :: Core Implementation
 [INFO]   DSpace LNI :: Web Application Resources
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI
 [INFO]   DSpace OAI :: API and Implementation
 [INFO]   DSpace OAI :: Web Application Resources
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI
 [INFO]   DSpace JSP-UI :: API and Implementation
 [INFO]   DSpace JSP-UI :: Web Application Resources
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD
 [INFO]   DSpace SWORD :: API and Implementation
 [INFO]   DSpace SWORD :: Web Application Resources
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace LNI :: CLI Client Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace XML-UI (Manakin)
 [INFO]    task-segment: [package]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom



 the command maven never completed it was just showing Downloading until when
 it terminated. complaining about the repository. my repository from synaptic
 package manager works well. but mvn package it doesn' t complete download.


 From here i started to get errors with other steps .


 Regards

 Lewatle



























 On Tue, Jul 14, 2009 at 01:33:42PM +0200, Lewatle Phaladi wrote:
 I am struggling on dspace installation on ubuntu can everyone assist,
 please sent me installation manual that can be very easy, i want to use
 dspace 1.5.2 on ubuntu 9.4.

 I installed all prerequisites and i am not able to finish on dspace.

 Two things will help you to get useful answers:

 o  Don't Reply to a message that has no connection with your problem.
    Often this is expressed:  don't hijack threads.  If you are
    presenting a new question, start a new thread.

 o  Do tell us what your specific problem is.  I am not able to
    finish tells us nothing that we can act on.  Step by step:

    o  What did you do?  (What command did you enter, or what feature
   of a GUI panel did you activate, or suchlike?)

    o  What did you expect to happen?

    o  What happened instead?  Please include details, such as literal
   text of messages or dialogs.

    o  Why do you believe that was wrong?

 DSpace, Tomcat (or your other servlet container), PostgreSQL or
 Oracle, and your OS all write message logs.  You can find a lot of
 useful information by gathering up the relevant entries from those
 logs.  We may need to see it too.

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Friends don't let friends publish revisable-form documents.

 This communication is intended for the addressee only. It is confidential.
 If you have received this communication in error, please notify us
 immediately and destroy the original message. You may not copy or
 disseminate this communication without the permission of the University.
 Only authorized signatories are competent to enter into agreements on behalf
 of the University and recipients are thus advised that the content of this
 message may not be legally binding on the University and may contain the
 personal views and opinions of the author, which are not necessarily the
 views and opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South African
 Law unless the University agrees in writing to the contrary.

 --
 Enter the BlackBerry Developer Challenge
 This is your 

Re: [Dspace-tech] Weird behavior while translating metadata labels

2009-07-03 Thread François Parmentier
Hi.

I just went to the page you point, and got the metadata labels in
French (which is my preferred language in Firefox), whatever the
chosen interface.

My 2 cents,
--
François

2009/7/3 Ricardo Beltrán ricardobelt...@ieee.org:
 Hello all,
 I'm upgrading to DSpace 1.5.2 and I've installed a bilingual
 (English/Spanish) instance. I've just added the language
 switcher to the header.jsp in order to let the user switch languages at any
 time. Everything works fine with the exception
 of metadata labels at the item view (see for example
 http://biiacs2.cide.edu/handle/10089/3502) .
 If you click the English/Spanish language switcher everything  will
 translated but not the metadata labels, with the
 unique exception of the Date/Fecha label.
 I've reviewed many times the Messages.properties and Messages_es.properties
 files and I just can't see
 an error.

 Thanks for your help
 Ricardo Beltran

 --

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



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


Re: [Dspace-tech] journal volumes, issues, article and the introductory text metadata

2009-04-03 Thread François Parmentier
This is sometimes used to display an HTML summary for the journal.

There is a size limit (at least in DSpace 1.4, it is 512 characters).


On Thu, Apr 2, 2009 at 9:45 PM, Mark H. Wood mw...@iupui.edu wrote:
 On Thu, Apr 02, 2009 at 01:32:42PM +0100, Andrew Marlow wrote:
 collection. I plan to use the introductory text metadata in a collection to
 hold the volume, issue, article ordering id, year, month and page range for
 each article.

 I'm curious:  what will people do with that?  Why isn't it sufficient
 to tag each item (article) with the metadata for that item?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Friends don't let friends publish revisable-form documents.

 --

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



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


Re: [Dspace-tech] DSpace-tech Digest, Vol 35, Issue 16

2009-03-10 Thread François Parmentier
That's VERY strange, as:

1. you installed your DSpace on C:
2. your error message references D:
3. the path in your error message is valid on MY computer!
4. I don't remember posting such an error message (but it may have
happened).

Are you sure this is really your error message, or did you (intentionally or
not) paste from an old message on the mailing-list?
--
François PARMENTIER

On Sat, Mar 7, 2009 at 1:52 PM, Islam Ahmad is...@techie.com wrote:

  Dear All,

 I have the following error while running dspace

 my dspace is on C:/DSpace so I used the command

 C:/DSpace/bindsrun.bat org.dspace.administer.CreateAdministrator

 but I have the following error.

 Using DSpace installation in: D:\parmentf\mes documents 
 \workspaceGanymede\irevues-dspace-1.4.2-source
 Exception in thread main java.lang.NoClassDefFoundError: org/ 
 dspace/administer/CreateAdministrator
 Caused by: java.lang.ClassNotFoundException: 
 org.dspace.administer.CreateAdministrator


 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)


 Please help me as soon as possible

 Thanks

 Islam Ahmad


 -- Be Yourself @ mail.com!
 Choose From 200+ Email Addresses
 Get a *Free* Account at www.mail.com http://www.mail.com/Product.aspx!


 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


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


Re: [Dspace-tech] Speed problem in postgres during batch ingesting

2009-01-28 Thread François Parmentier
This is a nice article, but I can't see if the server is dedicated to this
DSpace and how much memory is allocated to Java processes.

On a fairly loaded server, it took me 15 seconds per document on a 680,000
items DSpace (with 512MB allocated).

On Tue, Jan 27, 2009 at 4:09 PM, Stuart Lewis s...@aber.ac.uk wrote:

  Given that the test in the paper uses neither postgres nor the DSpace
  import tool, that seems unlikely.

 30,000 items shouldn't pose a big problem for any mature DBMS (e.g.
 Postgres
 / MySQL etc). If there are problems at that scale, they are more likely to
 be in other parts of the system.

 We've recently finished testing DSpace ingest to 333,000 items using
 Postgres. Again, this wasn't using the batch importer, but instead using
 SWORD. Deposits into an empty repository took about 1.5 seconds each, and
 at
 a third of a million items they took about 7 seconds. So the problems
 probably aren't with Postgres. For details see:


 http://blog.stuartlewis.com/2009/01/19/dspace-at-a-third-of-a-million-items/

 Cheers,


 Stuart
 _

 Gwasanaethau Gwybodaeth  Information Services
 Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: stuart.le...@aber.ac.uk
 Ffon / Tel: (01970) 622860
 _



 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] standards to facilitate metadata extraction during text extraction

2008-12-15 Thread François Parmentier
During my PhD, this was still a research subject (automatic extraction of
data from physical structure of a document).
Have a look at http://www.loria.fr/equipes/read/
I don't know whether there have been free or proprietary systems since then.

When the layout of your documents is a regular one, some rather simple
process may be useful, but if it varies too much, it is a much more
complicated task!
--
François PARMENTIER / INIST-CNRS

On Sun, Dec 14, 2008 at 12:52 AM, Andrew Marlow 
marlow.and...@googlemail.com wrote:

 This may seem like a crazy or naive question, but is there any standard
 laid down by publishers or societies that authors must adhere to so that the
 extraction of metadata from articles can be easily automated? Having just
 performed a text extraction on a non-searchable PDF I see that there is no
 easy way to get any metadata out. But if a society had conventions for the
 layour of the article, specifying location and format of title, authors,
 abstract, bibliography etc, then it might be possible. I have seen a very
 regular visual layout in the PDFs from some places. Using OCR techniques it
 might be possible to locate blocks of interest. It might also be possible
 from a text extraction but that might be harder since all visual layout
 information is gone (at least it was with the tool I used). I wonder if this
 is being considered by anyone. I am very new to this area so please excuse
 me if this seems like a silly question.
 --
 Regards,

 Andrew M.


 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] pseudonym vs email-address

2008-12-12 Thread François Parmentier
Hi.

I can only speak for v1.4.2, but I don't think it is much different for
1.5.x: as email is a column of of eperson table (which also gets a
eperson_id column), why couldn't you change the email value, instead of
using a pseudonym.
This would be better if the user could change the email himself.
--
François Parmentier / INIST-CNRS

On Thu, Dec 11, 2008 at 10:13 AM, Jochen Lienhard 
lienh...@ub.uni-freiburg.de wrote:

 Hallo,

 thanks to Bruc for the answer and to Kevin for the patch.

 I think my third question about the email-address is a basic question,
 that not only touches shibboleth.

 If I understand right, the email-address is the login-name of the user
 and the address, where to post the alerts.
 Can this email-address change? perhaps if someone moves to another
 provider.
 If it could not be changes all alerts get lost and the user must create
 the list of alerts again.

 The email-address is the basic value to give the rights to a person too,
 isn't it?
 Can you be sure, that this person will keep the email-address forever?
 ... I think NO, because some provider
 assign email-address after some time again to other persons. So this
 person can get the password,
 with the forgotten call and login and have the rights of the other
 person before.

 I think pseudonym (targetedID) would be a nice feature for users, who
 want to use alerts and nothing else,
 but for the authors you need some more informations too.

 Coming to my final point and question:
 Can the email-address be replaced by a pseudonym, or isn't this
 imposible because of the DSpace
 user database.

 Greetings

 Jochen
 
  3rd question: should be easy to use targetedID as an identifier, will
 upload the patch for it soon (including your suggested modification from
 awhile back!).
 
 
 
  Third question:
  Can I use a targetedID instead of the mail-address for Shibboleth?
  But how can I add the email address direct in DSpace when using
 shibboleth?
 
 

 --
 Dr. rer. nat. Jochen Lienhard
 UB Universität Freiburg
 Dezernat EDV
 Tel: (0761) 203-3908
 Email: lienh...@ub.uni-freiburg.de



 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] FW: HANDLE update issue

2008-12-12 Thread François Parmentier
I once rewrite the update-handle-prefix script to work with oracle, instead
of postgresql (in version 1.4.2 of DSpace).

I mainly replaced
---8---
echo update handle set handle=overlay(handle placing '$2' from 1 for
$oldPrefixLen) where handle like '$1%'; | psql
# update the metadatavalue table entries
echo update metadatavalue set text_value=overlay(text_value placing
'$2' from 23 for $oldPrefixLen) where text_value like '
http://hdl.handle.net/$1%'; | psql
---8---
with
---8---
echo update handle set handle='$2'||substr(handle,$oldPrefixLen+1) where
handle like '$1%'; | sqlplus $DSPACE_CNXSTR
# update the metadatavalue table entries
echo update metadatavalue set text_value='
http://hdl.handle.net/'||'$2'||substr(text_value,23+$oldPrefixLen) where
text_value like 'http://hdl.handle.net/$1%'; | sqlplus $DSPACE_CNXSTR
---8---
where $DSPACE_CNXSTR is the connection string to Oracle.

This worked for me.

Only my 2 cents.
--
François PARMENTIER / INIST-CNRS

On Wed, Dec 10, 2008 at 10:32 PM, Stuart Lewis s...@aber.ac.uk wrote:

 Hi Tom,

  I'm trying to update a lot of communities and collections that were set
 up
  prior to our HANDLE being assigned. So according to the cookbook I'm
 doing:
 
  update-handle-prefix 123456789 10420 (10420 being the new HANDLE number)
 
  After seeing how many items are being updated and selecting yes,  the
  all-too-familiar-by-now string of Java errors:
 
  Is this YAOI (yet another Oracle incompatibility)? I'm tempted to go into
 the
  database and manually write some SQL commands to update the  tables. Is
 that
  even an option? After the metadatavalues table is updated, what else has
 to be
  done?

 After the metadatavalues table has been updated, all that happens is the
 search and browse indexes are rebuilt, but this can be run manually using
 [dspace]/bin/index-update

 The query that is failing is:

 UPDATE metadatavalue SET text_value= (SELECT 'http://hdl.handle.net/' ||
 handle FROM handle WHERE handle.resource_id=item_id AND
 handle.resource_type_id=2) WHERE  text_value LIKE 'http://hdl.handle.net/%
 ';

 If you are able to find out what is causing the error by running it
 directly, please post your solution and we'll get the script updated.

 Many thanks,


 Stuart
 _

 Gwasanaethau Gwybodaeth  Information Services
 Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: stuart.le...@aber.ac.uk
 Ffon / Tel: (01970) 622860
 _



 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] recognise user by IP address

2008-12-02 Thread François Parmentier
We want here to use IP authentication, but for version 1.4.2 of DSpace.

Is it possible?

I know there was a patch in SourceForge:
https://sourceforge.net/tracker2/index.php?func=detailaid=1566820group_id=19984atid=319984but
I was unable to use it correctly, when I looked at it (perhaps due to
problems in the database).

I also found that:
http://www.krugle.org/examples/p-5DFWGqOOSydqcBnH/IPAuthentication.java
but did not have time to look further...

What's the right way?
--
François Parmentier / INIST-CNRS

On Tue, Dec 2, 2008 at 8:53 AM, Claudia Jürgen 
[EMAIL PROTECTED] wrote:

 Hi Andrew,

 you can add ip based authentication to the authentication stack in
 DSpace and define authentication rules via the config parameter
 authentication.ip.GROUPNAME = iprange[, iprange ...].

 Claudia Jürgen


 Andrew Marlow schrieb:
  Hello,
 
  please excuse my ignorance about dspace, I am new here. What do people
 think
  to the idea of identifying users by their IP address? This would be an
  alternative to logging in via the traditional username+password. This
 would
  be associated with an administrative function that registered user groups
  with IP address ranges.
 
 
 
  
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
  Build the coolest Linux based applications with Moblin SDK  win great
 prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
 
 
  
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two more questions regarding handles

2008-10-09 Thread François Parmentier
You could use the script update-handle-prefix (in dspace/bin) to change your
spaced prefix to a trimmed one.

On Wed, Oct 8, 2008 at 6:49 PM, Jason Fowler [EMAIL PROTECTED] wrote:

 First, and most important, Handle.net is not resolving my prefix. I know
 it's probably a problem on my end. My firewall is open for incoming and
 outgoing on the appropriate ports. However, I keep getting this error in my
 handle server error log:

 2008/10/08 11:41:54 CDT 100 class net.handle.server.HdlHttpInterface:
 Error setting up server socket: java.net.BindException: Cannot assign
 requested address

 Any ideas as to what might be causing this?

 Second, when I first set up my handle configuration, I accidentally had a
 small bit of whitespace after the prefix in dspace.cfg. Now, every item i
 add has a handle prefix that looks like this: handle/10392 /11

 Any ideas as to how I should go about correcting this?

 Thanks,

 Jason Fowler, CA
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 502-897-4573
 [EMAIL PROTECTED]

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] re garding ant fresh_install

2008-10-06 Thread François Parmentier
Hi.
Perhaps you're not in the [dspace-source] directory, where build.xml is
located, but in [dspace] directory, when you launch ant fresh_install.

Just my 2 cents.
--
François PARMENTIER / INIST-CNRS

On Mon, Sep 29, 2008 at 1:39 PM, minsozi [EMAIL PROTECTED] wrote:


 Hi
 Im having trouble installing dspace 1.4 on windows xp,i installed
 postgresql
 and apache tomcat but ant fresh_install gives an error:Buildfile:build.xml
 does not exist' Build failed.I dont know what to do next,need some help.

 --
 View this message in context:
 http://www.nabble.com/regarding-ant-fresh_install-tp17402845p19722281.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] List of months

2008-09-26 Thread François Parmentier
Yes, but don't modify DCDate !
I tried. And it messed all up!
These values are needed elsewhere, if I remember well.

On Thu, Sep 25, 2008 at 4:02 PM, Víctor Izaguirre [EMAIL PROTECTED] wrote:

 Tks,

 I found it in org/dspace/content/DCDate.java

 /**
  * The month names
  */
 private final static String[] MONTHNAMES = { January, February,
 March, April, May, June, July, August, September,
 October, November, December };

 2008/9/25 François Parmentier [EMAIL PROTECTED]

 In what version of DSpace?
 In 1.4 I had to modify some java class (I don't remember which one) to put
 month number instead of first 3 letters of the name of the month in English.

 [dspace-source]/org/dspace/app/webui/jsptags/ItemListTag.java:

metadata = UIUtil.displayDate(dd, false, false) + thumbs;

 [dspace-source]/org/dspace/app/webui/util/UIUtil.java:

//sb.append(DCDate.getMonthName(month).substring(0, 3) + -);
sb.append(month+-);

 Hope this helps.
 --
 François PARMENTIER / INIST-CNRS

 On Tue, Sep 23, 2008 at 9:59 PM, Víctor Izaguirre [EMAIL PROTECTED]wrote:

 Hello,
 I need translate to spanish the list of months, where do i do that??

 Tks very much.

 --
 Saludos cordiales,

 Víctor Izaguirre Castro

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





 --
 Saludos cordiales,

 Víctor Izaguirre Castro

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.4.2, Windows: CreateAdministrator fails

2008-09-17 Thread François Parmentier
Thanks Claudia.

I was too tired to remember that Java is a compiled language!

After fixing the buildpath.bat bug, it worked.

Is this bug known?
On Windows 2000, I have to replace the %~s1 with %1 (this is a plain 1.4.2
DSpace).
--
François Parmentier / INIST-CNRS

On Tue, Sep 16, 2008 at 7:14 PM, Claudia Juergen 
[EMAIL PROTECTED] wrote:

 Salut Francois,

 you got to run the command from the dspace installation directory not the
 source directory.
 During installation you specified the installation directory with the
 configuration parameter dspace.dir in dspace.cfg.

 Hope that helps

 Claudia

  Hello,
 
  I just installed DSpace 1.4.2 on Windows 2000, with Eclipse.
  Tomcat works, as Postgres, but I can't create an administrator:
 
  D:\parmentf\mes
  documents\workspaceGanymede\irevues-dspace-1.4.2-source\bindsrun.bat
  org.dspace.administer.CreateAdministrator
  Using DSpace installation in: D:\parmentf\mes
  documents\workspaceGanymede\irevues-dspace-1.4.2-source
  Exception in thread main java.lang.NoClassDefFoundError:
  org/dspace/administer/CreateAdministrator
  Caused by: java.lang.ClassNotFoundException:
  org.dspace.administer.CreateAdministrator
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 
  Here is the CLASSPATH build by the .bat (I echoed it):
  .;C:\Program
  Files\Java\jre1.6.0_02\lib\ext\QTJava.zip;config;lib\activation.jar
 
 ;lib\bcmail-jdk14-135.jar;lib\bcprov-jdk14-135.jar;lib\commons-cli.jar;lib\commo
 
 ns-codec-1.3.jar;lib\commons-collections.jar;lib\commons-dbcp.jar;lib\commons-fi
 
 leupload.jar;lib\commons-io.jar;lib\commons-lang-2.1.jar;lib\commons-pool.jar;li
 
 b\fontbox.jar;lib\handle.jar;lib\jakarta-poi.jar;lib\jargon.jar;lib\jaxen.jar;li
 
 b\jdom.jar;lib\jena.jar;lib\jstl.jar;lib\log4j.jar;lib\lucene.jar;lib\mail.jar;l
 
 ib\mets.jar;lib\oaicat.jar;lib\oro.jar;lib\PDFBox.jar;lib\postgresql-8.2-506.jdb
 
 c2.jar;lib\rome.jar;lib\serializer.jar;lib\servlet.jar;lib\standard.jar;lib\tm-e
  xtractors.jar;lib\xalan.jar;lib\xercesImpl.jar;lib\xml-apis.jar
 
  Although it seems that src is NOT in CLASSPATH, when I add it, it does
 not
  work either.
  --
  François PARMENTIER / INIST-CNRS
 
  PS: I forgot to mention that plain 1.4.2 buildpath.bat does not work on
 my
  Windows 2000: I had to change
 
  set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%~s1
 
  into
 
  set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%1
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
  world
 
 http://moblin-contest.org/redirect.php?banner_id=100url=/___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Postgres database connection fails

2008-09-16 Thread François Parmentier
Hello,

In my understanding, createdb is run under the unix user's rights (here,
root?) you're logged on.
To create a db, you need to be the unix user which runs the postgres daemon.

My 2 cents,
--
François Parmentier / INIST-CNRS

On Tue, Sep 16, 2008 at 12:56 PM, Sangamnerkar Tushar
[EMAIL PROTECTED]wrote:

 Hello ,
 RHEL 5 *DSpace 1.4.2* Java 1.6.0_02  *Postgres 8.1.9*

 while running *initdb*  message is data exists in folder is the message
 Is it necessarey to initdb for pgsql 8.1.9

 createuser runs ok

 *Error during createdb  -U dspace *
 **
 *could not change to /root*
 FATAL: Ident authentication failed for user dspace

 have altered the pgsql.conf   listen_addresses entry
 and have added

 *host dspace dspace 127.0.0.1 255.255.255 md5*
 *local template1 postgres trust*
 *local template1 dspace trust  *  to pg_hba.conf

 Tushar Sangamnerkar






 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.4.2, Windows: CreateAdministrator fails

2008-09-16 Thread François Parmentier
Hello,

I just installed DSpace 1.4.2 on Windows 2000, with Eclipse.
Tomcat works, as Postgres, but I can't create an administrator:

D:\parmentf\mes
documents\workspaceGanymede\irevues-dspace-1.4.2-source\bindsrun.bat
org.dspace.administer.CreateAdministrator
Using DSpace installation in: D:\parmentf\mes
documents\workspaceGanymede\irevues-dspace-1.4.2-source
Exception in thread main java.lang.NoClassDefFoundError:
org/dspace/administer/CreateAdministrator
Caused by: java.lang.ClassNotFoundException:
org.dspace.administer.CreateAdministrator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Here is the CLASSPATH build by the .bat (I echoed it):
.;C:\Program
Files\Java\jre1.6.0_02\lib\ext\QTJava.zip;config;lib\activation.jar
;lib\bcmail-jdk14-135.jar;lib\bcprov-jdk14-135.jar;lib\commons-cli.jar;lib\commo
ns-codec-1.3.jar;lib\commons-collections.jar;lib\commons-dbcp.jar;lib\commons-fi
leupload.jar;lib\commons-io.jar;lib\commons-lang-2.1.jar;lib\commons-pool.jar;li
b\fontbox.jar;lib\handle.jar;lib\jakarta-poi.jar;lib\jargon.jar;lib\jaxen.jar;li
b\jdom.jar;lib\jena.jar;lib\jstl.jar;lib\log4j.jar;lib\lucene.jar;lib\mail.jar;l
ib\mets.jar;lib\oaicat.jar;lib\oro.jar;lib\PDFBox.jar;lib\postgresql-8.2-506.jdb
c2.jar;lib\rome.jar;lib\serializer.jar;lib\servlet.jar;lib\standard.jar;lib\tm-e
xtractors.jar;lib\xalan.jar;lib\xercesImpl.jar;lib\xml-apis.jar

Although it seems that src is NOT in CLASSPATH, when I add it, it does not
work either.
--
François PARMENTIER / INIST-CNRS

PS: I forgot to mention that plain 1.4.2 buildpath.bat does not work on my
Windows 2000: I had to change

set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%~s1

into

set DSPACE_CLASSPATH=%DSPACE_CLASSPATH%;%1
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] re indexing error

2008-09-10 Thread François Parmentier

I got a similar problem, but I did not know whether the no-creation of the
browse index was bound to the SQLException or not.
From what you sent, it seems that it did.

Here is what I got:
8
 ./index-all
Creating browse index
Indexing all Items in DSpaceError: Browse index NOT created
java.sql.SQLException: ORA-30036: unable to extend segment by 8 in undo
tablespace 'UNDO_SIGLE'
 
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at
org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519)
at
org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539)
at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631)
at org.dspace.browse.Browse.indexAll(Browse.java:599)
at org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74)
Creating search index
8

We will extend the tablespace, I hope it will fix my problem.

For yours, I suspect that you did not downgrade your database, as
itemsbyauthor is a table in 1.4.2 (and certainly in 1.4.1).
Maybe you should reinstall 1.4.2?
--
François Parmentier
INIST-CNRS


Chad Hansen wrote:
 
 I recently upgraded to the 1.5 alpha version of DSpace.
 Now, however, I would like to go back to my trusty 1.4.1 version (or 1.4.2
 would work too).
 
 I am having a problem with the reindexing process.
 
 When I run /dspace/bin/index-all, I get the following output:
 
 Creating browse index
 Indexing all Items in DSpaceError: Browse index NOT created
 java.sql.SQLException: ERROR:  relation itemsbyauthor does not exist
 
 at
 org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:126)
 at
 org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:451)
 at
 org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:281)
 at
 org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:179)
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
 at
 org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:519)
 at
 org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:539)
 at org.dspace.browse.Browse.indexRemoveAll(Browse.java:631)
 at org.dspace.browse.Browse.indexAll(Browse.java:599)
 at
 org.dspace.browse.InitializeBrowse.main(InitializeBrowse.java:74)
 Creating search index
 Done with indexing
 
 what do I do now?
 
 --
 Chad G.
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/reindexing-error-tp15069170p19370893.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech