Re: [Dspace-tech] ant fresh_install error

2008-04-22 Thread Desmond Elliott
Hossein Hamam wrote:
 Dear All,
 We are using JDK 1.6.0, upon issuing ant fresh_install, we are getting the
 following error:


 Buildfile: build.xml

 BUILD FAILED
 /web/dspace/dspace/target/dspace-1.5.0-build.dir/build.xml:88: No supported
 regular expression matcher found

 Total time: 0 seconds

 Did this occur with anyone? What is wrong? How could it be solved?

 Best Regards,


 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
You need to install the ant-optional package

- Desmond

-- 
Desmond Elliott   |  Hewlett-Packard Limited registered Office:
Research Associate|  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 8526  |  RG12 1HN.
[EMAIL PROTECTED]|  Registered No: 690597 England

The contents of this message and any attachments to it are
confidential and may be legally privileged. If you have received this
message in error, you should delete it from your system immediately
and advise the sender. To any recipient of this message within HP,
unless otherwise stated you should consider this message and
attachments as HP CONFIDENTIAL.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace database creation error

2008-04-21 Thread Desmond Elliott
Hossein Hamam wrote:
 Dear All,
 Upon issuing the below command, while logged in as postgres user, i am
 getting the following error:

 createdb -U dspace -E UNICODE dspace
 createdb: could not connect to database postgres: FATAL:  Ident
 authentication failed for user dspace

 Did this occur with anyone? Any clue how to solve it?

 Thank you for the urgent help!
 Hossein


 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
Hossein,

In this response, I am assuming you are not using Windows. If this is 
not the case, hopefully somebody running DSpace under Windows can respond.

Have you created the database user 'dspace' and have you configured your 
database server to allow connections for the database user 'dspace'? The 
installation documentation section Relational Database: (PostgreSQL or 
Oracle) describes some changes you need to make to your postgresql.conf 
and pg_hba.conf to allow connections.

- Desmond

-- 
Desmond Elliott   |  Hewlett-Packard Limited registered Office:
Research Associate|  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 8526  |  RG12 1HN.
[EMAIL PROTECTED]|  Registered No: 690597 England

The contents of this message and any attachments to it are
confidential and may be legally privileged. If you have received this
message in error, you should delete it from your system immediately
and advise the sender. To any recipient of this message within HP,
unless otherwise stated you should consider this message and
attachments as HP CONFIDENTIAL.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] item rating system

2008-04-10 Thread Desmond Elliott
George,

The recommender system project at HP Labs is a research project and has 
no targeted release date, yet; we are planning to release the code as an 
add-on in the future.

A technical report will be published which explains what we have done 
and how we have done it. I'll send an email to the list when the report 
is available.

- Desmond

-- 
Desmond Elliott   |  Hewlett-Packard Limited registered Office:
Research Associate|  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 8526  |  RG12 1HN.
[EMAIL PROTECTED]|  Registered No: 690597 England

The contents of this message and any attachments to it are
confidential and may be legally privileged. If you have received this
message in error, you should delete it from your system immediately
and advise the sender. To any recipient of this message within HP,
unless otherwise stated you should consider this message and
attachments as HP CONFIDENTIAL.


George Hamilton wrote:
 Scott, John

 I see the difference between the recommender system, developed by HP,
 and a rating system we are thinking about (and we are currently only
 thinking about it, it may be that the project would be happy with the
 recommender system) as:

 1) In a rating system privileged users input the rating/scores, whereas
 in the recommender system the ratings are calculated by the system.
 2) A user comment would be associated with each rating in a rating system.

 Is there any release date for the recommender system?

 George

 Scott Phillips wrote:
   
 John,

 Absolutely, I when I said well suited for manakin I meant in the
 presentation of the rating system using the modularity provided by the
 framework. So it can be build as an addon aspect without necessarily
 being integrated into the core of dspace. I've only heard a few
 whispers about the recommender system that is being developed by HP,
 but that is a good point that there is some crossover. Perhaps the
 rating system should feed into the recommender system as a data
 source. Do you know some contacts George can use to find out more
 about the these projects and HP and Minho?

 However, I can see the purpose and use-case of a rating system
 distinct from recommender system.

 Scott--

 On Apr 9, 2008, at 1:31 PM, John S. Erickson wrote:


 
 I don't understand why an item rating system would be well-suited
 for
 manakin --- even though I'm wearing the Manakin T-Shirt today! ;)

 I see item rating as a function of a recommender system (c.f. the
 work
 by Minho or HPLabs) and thus deeper than interface...

 Yes, the manner and style in which ratings are solicited and
 recommendations presented to the user might be well-suited to manakin,
 but the actual thing that is persisting individual ratings, compiling
 them and presenting recommendations must surely be deeper...

 Scott Phillips wrote:

   
 George,

 This been an often requested feature that is well suited for Manakin.
 I know several people have it on their to-do list but none have
 started working on a project of this type. I think several would
 appreciate Edinburgh being able to take the lead on this.

 Scott--


 On Apr 7, 2008, at 8:55 AM, George Hamilton wrote:


 
 Hello

 We're thinking about adding the ability for users to rate items in
 dspace (Manakin / XMLUI) along the lines of the amazon rating
 system.
 Has anyone looked into this?

 George

 --
 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.


 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Register now and save $200. Hurry, offer ends at 11:59 p.m.,
 Monday, April 7! Use priority code J8TLD2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-

   
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save
 $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 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 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save
 $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

Re: [Dspace-tech] Long Delay in doing Submit - Part 2

2008-02-15 Thread Desmond Elliott
I hypothesise that retrieving the ResourcePolicy for each of the 359 
Collections and then determining if a user is a member of the Group 
associated with the Collection is why there is a long delay in 
submissions from the MyDSpace interface.

George could insert log.info() method calls into the SubmitServlet.java 
file at line 306, and after line 309, and re-compile and re-deploy. 
These calls would log the time of the start and the end of the operation 
for users who are / are not administrators to attempt to help determine 
if this is the reason for long delays. If this proves there is an 
objective difference in the time then the log methods can be moved 
closer to the end of the call tree to determine exactly where most 
computation occurs.

The SubmitServlet adds a Collection[] to the select-collection step of 
the submission process [-1] line 308.

This Collection[] is created through a call to the 
Collection.findAuthorized(context) static method [0] line 1150.

The findAuthorized() method calls the findAll() method, [0] line 273, 
which returns a list of all Collections in the collection database table 
which should not be an expensive operation since it queries the database 
and retrieves 359 rows.

A line contained inside the findAll() method block, line 285, determines 
if the Collection object to be added to the Collection[] is cached in 
memory. This should not be an expensive operation since the fromCache() 
method determines if the Collection object is cached in a HashMap - 
which offers O(1) access, [1] line 289.

The returned Collection[] is then examined, for each Collection object, 
to determine if the current user has authorisation to write to that 
Collection. The AuthorizeManager class method authorizeBooleanAction() 
[2] line 217, calls authorizeAction() [2] line 131, calls authorize() 
[2] line 258.

The authorize() method in AuthorizeManager retrieves a ResourcePolicy 
and determines if the user is authorized as per the ResourcePolicy to 
have access to the collection.

Users who are admins do have have to step through the ResourcePolicy 
stage. George states that he suffers a delay when trying to submit from 
the MyDSpace page but that it is a shorter delay than what others are 
experiencing - 30s - 60s vs 60s - 300s. The only stage in the process 
I can determine where there is a difference between Admins and Users is 
at this point.

Having to retrieve the ResourcePolicy for each of the 359 collection 
objects and determine if a user is part of that ResourcePolicy could be 
the choke point.

I appreciate any thoughts on my analysis of what could be causing the 
problem that George is experiencing.

[-1] 
http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/app/webui/servlet/SubmitServlet.java?view=markup
[0] 
http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/content/Collection.java?view=markup
[1] 
http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/core/Context.java?view=markup
[2] 
http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_4_x/dspace/src/org/dspace/authorize/AuthorizeManager.java?view=markup

-- 
Desmond Elliott   |  Hewlett-Packard Limited registered Office:
Research Associate|  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 8526  |  RG12 1HN.
[EMAIL PROTECTED]|  Registered No: 690597 England

The contents of this message and any attachments to it are
confidential and may be legally privileged. If you have received this
message in error, you should delete it from your system immediately
and advise the sender. To any recipient of this message within HP,
unless otherwise stated you should consider this message and
attachments as HP CONFIDENTIAL.


George Kozak wrote:

 Hi...
 Back in January, I wrote to the list about a problem we are having
 (at Cornell) with DSpace after we migrated from v. 1.3.2 to v. 1.4.2.

 Basically, if someone logs into DSpace by clicking on My DSpace and
 then clicks on the Start a New Submission button, there can be a
 delay from anywhere from 30 seconds to several minutes before the
 Submit: Choose Collection screen appears.  Clicking on the Start a
 New Submission button in My DSpace can run the CPU usage up over
 40%.  This doesn't happen if one goes directly to the Collection to
 which he or she is authorized to submit and clicks on the Submit to
 this Collection button there.

 Randall Floyd of Indiana University thought that this might be a
 cleanup program in PostGreSQL, but I run vaccumdb nightly and do a
 re-index daily.

 Claudia Jurgen of TU Dortmund suggested that this may be the result
 of a complicated Community/SubCommunity/Collection structure (we have
 118 Communities/Sub-Communities and 359 Collections).

 I have been looking at alternatives.  I have put a message on the My
 DSpace main page telling people

Re: [Dspace-tech] Question about the Dspace bookmark patch

2007-11-15 Thread Desmond Elliott
yinjin wrote:
 Hi All,

 I'm working on Dspace 1.5 with manakin. I saw postings on this page
 http://www.nabble.com/--dspace-Patches-1812282---Item-bookmarking-t4614092.html
 about the dspace bookmark patch. However, I'm not sure if this patch is
 going to work with manakin as there is no MyDSapce in manakin. Anyone
 knows?

 Thanks,
 Ying


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
This patch will not work with Manakin as you correctly pointed out 
because there is no My DSpace in Manakin.

It is also worth pointing out that Manakin and the old JSP-based UI are 
not compatible with each other so it would require a re-write to make 
this work with the Manakin XMLUI interface.

Perhaps you could revert to the JSPUI to test out the bookmarking patch 
to see if it fits your needs?

-- 
Desmond Elliott   |  Hewlett-Packard Limited registered Office:
Research Intern   |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 8526  |  RG12 1HN.
[EMAIL PROTECTED]|  Registered No: 690597 England

The contents of this message and any attachments to it are
confidential and may be legally privileged. If you have received this
message in error, you should delete it from your system immediately
and advise the sender. To any recipient of this message within HP,
unless otherwise stated you should consider this message and
attachments as HP CONFIDENTIAL. 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech