[Dspace-tech] Internal System error when deleting a community or collection

2007-08-07 Thread Charl Roberts

Hi



I wonder if anybody can help me. I'm getting the following error when
trying to delete some test collections or communities:



Exception:

org.postgresql.util.PSQLException: ERROR: update or delete on
collection violates foreign key constraint
collection2item_collection_id_fkey on collection2item



Any help would be appreciated.



Regards,

Charl



htmlbodyfont face = verdana size = 0.8 color = navyThis 
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./font/body/html-
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


Re: [Dspace-tech] Internal System error when deleting a community orcollection

2007-08-07 Thread Jayan Chirayath Kurian
http://drtc.isibang.ac.in/pipermail/dlrg/2007-July/001261.html

 

This may be of help to you. Please try this only on the TEST machine.

 

Jayan

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charl
Roberts
Sent: Tuesday, August 07, 2007 3:18 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Internal System error when deleting a community
orcollection

 

Hi

 

I wonder if anybody can help me. I'm getting the following error when
trying to delete some test collections or communities:

 

Exception:

org.postgresql.util.PSQLException: ERROR: update or delete on
collection violates foreign key constraint
collection2item_collection_id_fkey on collection2item

 

Any help would be appreciated.

 

Regards,

Charl

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 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


[Dspace-tech] multilinguism support for DSpace 1.4.2

2007-08-07 Thread Christos Berberidis
Hi to all,

Does anyone knows if there is a patch for DSpace 1.4.2 to support
more than one languages? There are patches for older versions, but for
1.4.2?

Thanks in advance...
-
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


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Stuart Lewis [sdl]
Hi Jayan,

 (1)  In my repository all items except the single uploaded item (10220/62562)
 are having the default handler (123456789). How to run the
 update-handle-prefix script on Windows? Will this affect the handler service?

You might find it easier to first apply this patch:

http://sourceforge.net/tracker/index.php?func=detailaid=1642563group_id=19
984atid=319984

This uses Java rather than a Unix shell script to make the changes.

It should not affect the service at all - all it does is change the
identifiers in the database to use your new handle value.

(As always - test first on a backup!)
  
 (2) The protocol to be enabled for 2641 port is TCP or UDP?

UDP is better if you can.

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
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


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Jayan Chirayath Kurian
Thanks Stuart.

 

The handle works fine. The problem was with the dspace url in the
dspace-config file. 

 

http://hdl.handle.net/10220/62562

 

For starting the handle server at the command prompt 

 E:\DSpace\bindsrun
-Dlog4j.configuration=log4j-handle-plugin.properties net.han

dle.server.Main E:\dspace\handle-server

 

In this case I need to leave the command line window open for the handle
server to function. If I close the command line window, handle server
stops. Is there a way to use javaw to run the handle so that the
process runs at the background. I have given a password (passphrase for
the server cert) for the handler setup. In this case how to give the
password for the handle server to startup running the process at the
background. Please suggest

 

Thanks,

Jayan

 



From: Jayan Chirayath Kurian 
Sent: Tuesday, August 07, 2007 12:12 PM
To: dspace-tech@lists.sourceforge.net
Subject: Handle Configuration in DSPace 1.4.1/Windows 2003

 

Hi!

 

From CNRI I received the handle 10220. I have listening ports 2641 (TCP)
and 8000 (TCP). The handler is started as follows (A). The url of an
uploaded item is http://hdl.handle.net/10220/62562 . While accessing the
URL the following error is displayed (B). The dspace config handler
parameter is updated with 10220. 

 

(1)  In my repository all items except the single uploaded item
(10220/62562) are having the default handler (123456789). How to run the
update-handle-prefix script on Windows? Will this affect the handler
service?

 

(2) The protocol to be enabled for 2641 port is TCP or UDP?

 

Please suggest.

Thanks

Jayan

 

 

(A)

 

E:\DSpace\bindsrun -Dlog4j.configuration=log4j-handle-plugin.properties
net.han

dle.server.Main E:\dspace\handle-server

 

UDP handle Request Listener:

   address: /155.69.24.194

  port: 2641

TCP handle Request Listener:

Starting UDP request handlers:address: /155.69.24.194

.  port: 2641

Starting TCP request handlers: .HTTP handle Request Listener:

   address: /155.69.24.194

  port: 8000

Starting HTTP request handlers: ...

..DONE

..

 

 

(B)

 

2007/08/07 11:07:59 GMT+08:00 75 class net.handle.server.HandleServer:
error getting values: HandleException (HANDLE_DOES_NOT_EXIST) 

HandleException (HANDLE_DOES_NOT_EXIST) 

at
org.dspace.handle.HandlePlugin.getRawHandleValues(HandlePlugin.java:263)

at
net.handle.server.HandleServer.doResolution(HandleServer.java:2601)

at
net.handle.server.HandleServer.processRequest(HandleServer.java:1229)

at
net.handle.server.HandleServer.processRequest(HandleServer.java:1188)

at
net.handle.server.HdlHttpRequestHandler.handleHtmlRequest(HdlHttpRequest
Handler.java:687)

at
net.handle.server.HdlHttpRequestHandler.run(HdlHttpRequestHandler.java:5
37)

at java.lang.Thread.run(Unknown Source)

2007/08/07 11:21:31 GMT+08:00 25 Started new run.

Saving global values to: C:\Documents and
Settings\Administrator\.handle\root_info

2007/08/07 11:21:39 GMT+08:00 50 unspecified max_handlers count, using
default: 200

2007/08/07 11:21:39 GMT+08:00 50 unspecified max_handlers count, using
default: 200

2007/08/07 11:21:39 GMT+08:00 50 unspecified max_handlers count, using
default: 200

2007/08/07 11:22:20 GMT+08:00 75 class
net.handle.server.HdlTcpRequestHandler: Exception processing request:
HandleException (MESSAGE_FORMAT_ERROR) Invalid message length: 168626701

-
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


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Stuart Lewis [sdl]
Hi Jayan,

 For starting the handle server at the command prompt
 E:\DSpace\bindsrun -Dlog4j.configuration=log4j-handle-plugin.properties
 net.han
 dle.server.Main E:\dspace\handle-server
  
 In this case I need to leave the command line window open for the handle
 server to function. If I close the command line window, handle server stops.
 Is there a way to use ³javaw² to run the handle so that the process runs at
 the background. 

For a possible solution, take a look at:

http://cadair.aber.ac.uk/dspace/handle/2160/318

(See slides number 4  5)

Cheers,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
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


[Dspace-tech] OAI harvesting of restricted access DSpace collections

2007-08-07 Thread Clive Gould
Hi

Came across this statement on the DSpace Web site referring to DSpace 1.3.2

Is the content still true for Dspace 1.4.2 ???

Thanks

Clive


Access control
OAI provides no authentication/authorisation details, although these could
be implemented using standard HTTP methods. It is assumed that all access
will be anonymous for the time being.

A question is, is all metadata public? Presently the answer to this is
yes; all metadata is exposed via OAI-PMH, even if the item has restricted
access policies. The reasoning behind this is that people who do actually
have permission to read a restricted item should still be able to use
OAI-based services to discover the content.

If in the future, this 'expose all metadata' approach proves
unsatisfactory for any reason, it should be possible to expose only
publicly readable metadata. The authorisation system has separate
permissions for READing and item and READing the content (bitstreams)
within it. This means the system can differentiate between an item with
public metadata and hidden content, and an item with hidden metadata as
well as hidden content. In this case the OAI data repository should only
expose items those with anonymous READ access, so it can hide the
existence of records to the outside world completely. In this scenario,
one should be wary of protected items that are made public after a time.
When this happens, the items are new from the OAI-PMH perspective.




-
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


[Dspace-tech] RADIUS authentication in DSpace

2007-08-07 Thread Clive Gould
Hi everyone

I've included a section in my DSpace blog explaining how I got DSpace
Radius authentication working with MS AD via a Freeradius proxy.

http://www.linuxtraining.org.uk/blogger.html#twentyfive

Best wishes

Clive


-
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


Re: [Dspace-tech] help

2007-08-07 Thread Jayan Chirayath Kurian
Change the webui.strengths.show = false to
   webui.strengths.show = true in config/dspace.cfg file.




From: Shali 9846303531 [mailto:[EMAIL PROTECTED]
Sent: Tue 8/7/2007 6:04 PM
To: Jayan Chirayath Kurian
Subject: help



Sir,

How can get the number of items in each collection automatically along with the 
collection

i am using ubuntu for dspace.

thanking you,
-- 
Shali.K.R
Asst.Librarian(Digital) 
Vidya Academy of Science  Technology
Thrissur, Kerala.
Mob:9847593531,9846303531 
-
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


Re: [Dspace-tech] OAI harvesting of restricted access DSpace collections

2007-08-07 Thread James Rutherford
On Tue, Aug 07, 2007 at 01:26:37PM +0100, Clive Gould wrote:
 Came across this statement on the DSpace Web site referring to DSpace 1.3.2
 
 Is the content still true for Dspace 1.4.2 ???

Yes, I believe it is.

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  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


Re: [Dspace-tech] Problem with new submission

2007-08-07 Thread Katarzyna Derc
I tried changing the bridge and followed your advice, and i still got the
same error, so I installed dspace with postgres and it's working fine now
Maybe it's about the Submision/getSubmissionInfo source code after all ...

Kasia


2007/8/1, Graham Triggs [EMAIL PROTECTED]:

 Daniel and Kasia,

 What version of the Oracle JDBC drivers are you running?

 The 1.4.2 code is only tested/supported with the 10.2.x series of JDBC
 drivers (it doesn't matter if the database software is older, the new
 drivers will still work).

 Also, are you using a 'thin' connection string (jdbc:oracle:thin), or
 'oci'?

 G

 On Mon, 2007-07-30 at 14:54 -0700, Daniel Fernÿe1ndez wrote:
  Hi:
 
  When trying to make a new submission, after the first four steps
  (Describe, Describe, Describe, Upload) the Verify page shows almost
  all data as null values. Does somebody know how this can be possible
  or how can I solve it?
 
  I suspect that this has something to do with getSubmissionInfo
  method in the SubmitServlet class, when trying to create the new
  SubmissionInfo object.
 
  I'm using D-Space 1.4.2 and Oracle 9.2.0.4 running on RedHat
  Enterprise 3.x
 
  All input is apreciated.
 
 
 
  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
  Regístrate ya - http://correo.espanol.yahoo.com/
 
 -
  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 email has been scanned by Postini.
 For more information please visit http://www.postini.com


-
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


[Dspace-tech] Moving an item from one collection to another

2007-08-07 Thread Blanco, Jose
I need to move an item from one collection to another.  I tried ( in my
dev area ) to use ItemExport to get the item, and then I deleted the
item using the interface, then I used ItemImport to put the item in the
new collection, but when I log in as admin to view the item it seems to
have created a different item_id and I can't edit the item.  I don't
have confidence in this procedure.  Is there a better way to do this?

Thanks!
Jose

-
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


Re: [Dspace-tech] Moving an item from one collection to another

2007-08-07 Thread Claudia Juergen
Hi Jose,

there is a move item patch in the patch queue, but I haven't tried it yet.

You can achieve this on db level with the following commands:

update item set owning_collection=NewCollectionID where item_id=ItemID;

update collection2item set collection_id=NewCollectionID where
collection_id=OldCollectionID and item_id=ItemID;

hope that helps

Claudia

 I need to move an item from one collection to another.  I tried ( in my
 dev area ) to use ItemExport to get the item, and then I deleted the
 item using the interface, then I used ItemImport to put the item in the
 new collection, but when I log in as admin to view the item it seems to
 have created a different item_id and I can't edit the item.  I don't
 have confidence in this procedure.  Is there a better way to do this?

 Thanks!
 Jose

 -
 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 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


Re: [Dspace-tech] Moving an item from one collection to another

2007-08-07 Thread Blanco, Jose
Thnaks!  I got an aswer just like this one privately from another Dspace
user.  This is what I thought I might have to do.  I suppose I will have
to run index-all after making this change, right? 

-Original Message-
From: Claudia Juergen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 2:36 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Moving an item from one collection to another

Hi Jose,

there is a move item patch in the patch queue, but I haven't tried it
yet.

You can achieve this on db level with the following commands:

update item set owning_collection=NewCollectionID where item_id=ItemID;

update collection2item set collection_id=NewCollectionID where
collection_id=OldCollectionID and item_id=ItemID;

hope that helps

Claudia

 I need to move an item from one collection to another.  I tried ( in 
 my dev area ) to use ItemExport to get the item, and then I deleted 
 the item using the interface, then I used ItemImport to put the item 
 in the new collection, but when I log in as admin to view the item it 
 seems to have created a different item_id and I can't edit the item.  
 I don't have confidence in this procedure.  Is there a better way to
do this?

 Thanks!
 Jose

 --
 --- 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 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


[Dspace-tech] (no subject)

2007-08-07 Thread Jayan Chirayath Kurian
Hi! 

 

In the dspace repository after a search for a keyword, the log file
(given below) returns results=(0,0,3).  3 indicates the no of
matches for the keyword. Please suggest regarding the other two digits
(0,0,3) in the result.

 

Thanks,

Jayan

 

2007-08-08 11:57:30,506 INFO  org.dspace.search.DSQuery @ Final query
string: mass communciation

2007-08-08 11:57:30,617 INFO
org.dspace.app.webui.servlet.SimpleSearchServlet @
anonymous:session_id=7D5D46E1E11876318DDF688844913828:ip_addr=127.0.0.1:
search:query=mass communciation,results=(0,0,3)

-
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


Re: [Dspace-tech] Search result numbers

2007-08-07 Thread Stuart Lewis [sdl]
Hi Jayan,

 In the dspace repository after a search for a keyword, the log file (given
 below) returns ³results=(0,0,3)².  ³3² indicates the no of matches for the
 keyword. Please suggest regarding the other two digits (0,0,3) in the result.
  
 2007-08-08 11:57:30,506 INFO  org.dspace.search.DSQuery @ Final query string:
 mass communciation
 2007-08-08 11:57:30,617 INFO org.dspace.app.webui.servlet.SimpleSearchServlet
 @ 
 anonymous:session_id=7D5D46E1E11876318DDF688844913828:ip_addr=127.0.0.1:search
 :query=mass communciation,results=(0,0,3)

They refer to:

 1) The number of Community hits
 2) The number of Collection hits
 3) The number of Item hits

So if you tried the following query:

http://cadair.aber.ac.uk/dspace/simple-search?query=information

(As it stands at 8/8/2007)

You would get the numbers (2,4,131)

The code that produces the log line can be found on lines 291-294 of
org.dspace.ap.webui.servlet.SimpleSearchServlet:

// Log
   
log.info(LogManager.getHeader(context, search, logInfo + query=\

+ query + \,results=( + resultsCommunities.length + ,

+ resultsCollections.length + , + resultsItems.length + )));

Hope that helps,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
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