Re: [Dspace-tech] Reindexing vs Tomcat running

2007-02-13 Thread Graham Triggs
will also need to add a 'search.dir.create' entry to your dspace.cfg as per the comments. Let me know if you have any questions. G -- Graham Triggs Technical Architect Open Repository +44 (0)20 7631 9942 This email has been scanned by Postini. For more information please visit http

Re: [Dspace-tech] JDK 1.6.0

2007-02-13 Thread Graham Triggs
Hi, Under the 'downloads' tab, in the bar, there is a 'previous releases' link. http://java.sun.com/javase/downloads/index_jdk5.jsp Note that I have done some preliminary work using 1.6 locally - haven't hit any issues so far. But that is far from thorough testing. However, I wouldn't expect to

Re: [Dspace-tech] Reindexing vs Tomcat running

2007-02-14 Thread Graham Triggs
With the patch applied, you will also need to add a 'search.dir.create' entry to your dspace.cfg as per the comments. Let me know if you have any questions. G -- Graham Triggs Technical Architect Open Repository +44 (0)20 7631 9942 This email has been scanned by Postini

Re: [Dspace-tech] Reindexing vs Tomcat running

2007-02-14 Thread Graham Triggs
; That should do it, right? I don't think this will break anything. I simply want to see what goes on (resource being used) when the indexer is running, but I don't want it to replace the active one being used by DSpace. Thanks! Jose -Original Message- From: Graham Triggs

Re: [Dspace-tech] Reindexing vs Tomcat running

2007-02-14 Thread Graham Triggs
- From: Jose Blanco [EMAIL PROTECTED] To: 'Graham Triggs' [EMAIL PROTECTED] Cc: dspace-tech@lists.sourceforge.net Sent: Wednesday, February 14, 2007 8:14 PM Subject: RE: [Dspace-tech] Reindexing vs Tomcat running Graham: Let me explain what I want to do. I want to leave the web application

Re: [Dspace-tech] Compatibility bug with Oracle 10g

2007-02-15 Thread Graham Triggs
On Tue, 2007-02-13 at 09:52 +, Jim Downing wrote: José A. Rubio wrote: java.lang.IllegalArgumentException: Value for SIZE_BYTES is not an integer This has come up before: - https://sourceforge.net/tracker/?func=detailatid=119984aid=1460754group_id=19984 You could try the patch

Re: [Dspace-tech] Item Submission error.

2007-02-15 Thread Graham Triggs
Lucene is unable to obtain a lock for adding new items to the index. I suspect that the (unix) account that you are running Tomcat/DSpace under is unable to get write permissions to the temp directory specified below. Can you check the permissions that are allowed on that directory, and that the

Re: [Dspace-tech] Blocking an IP from accessing DSpace

2007-02-16 Thread Graham Triggs
From: George Kozak [EMAIL PROTECTED] Does anyone have any suggestions on how I can restrict an abusive IP ? I don't have any experience in doing this, and how you would go about it depends on your situation (choice of application server, whether you want to restrict all access to DSpace, or

Re: [Dspace-tech] Dspace and Oracle Application Server 10g

2007-02-16 Thread Graham Triggs
From: Mark Diggory Is there something unique about Oracle Application Server that is stopping two separately deployed web-apps from both using the same db? I suspect you would be as surprised as I would if you were told that was the case. It would be a massive limitation. I'm a little naive

Re: [Dspace-tech] Implementing OAI-PMH as a Data Provider

2007-02-21 Thread Graham Triggs
endorsed, not a directory. Should I still create a directory under lib and copy the jar there?? ---Original Message--- From: Graham Triggs Date: 2/20/2007 5:29:52 PM To: Sue Walker-Thornton; Tim Donohue Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Implementing

Re: [Dspace-tech] Can´t see diacritics in WebUI

2007-02-21 Thread Graham Triggs
Hi Rafa, We run into pretty much the same issue ourselves - we're hosting for institutes across Europe, and so are starting to see requirements for all sorts of characters to be stored. This is whilst using on Oracle 10 database that is set for ISO-8859-1. Currently, we can't do anything about

Re: [Dspace-tech] Create administrator exception error

2007-02-27 Thread Graham Triggs
From: Dorothea Salo [EMAIL PROTECTED] Exception in thread main java.lang.ClassFormatError: org.postgresql.Driver (un recognized class file version) At a guess, the postgresql.jar isn't right (or isn't present). The postgresql.jar must be present, otherwise it would be a ClassDefNotFound

Re: [Dspace-tech] Internal Error with DSpace feedback message

2007-02-28 Thread Graham Triggs
What is your dspace.hostname set to? It looks like you've got something with less than 2 dots - ie. host.com, whereas the code is expecting there to be at least two - ie. www.host.com G On Wed, 2007-02-28 at 14:39 +0800, Jayan Chirayath Kurian wrote: Hi! We have Dspace 1.4.1 on

Re: [Dspace-tech] Tomcat vs Resin (vs other containers)

2007-03-12 Thread Graham Triggs
On Fri, 2007-03-09 at 11:01 +, Richard Jones wrote: Tomcat has always, IMO, been mildly unstable, and we've been having some problems recently that have encouraged me to look at other containers. Any specific issues that you can / care to share? It was alleged on some site or other

Re: [Dspace-tech] [Dspace-devel] DSpace 1.4.2

2007-04-04 Thread Graham Triggs
would be that it adds an additional dependency: ICU4J. Unfortunate, but required for compatibility with earlier JDK releases, without resorting to undocumented Sun classes. The choice, as they say, is yours... ;-) G -- Graham Triggs Technical Architect Open Repository Tel: +44 (0)20 7631 9942

Re: [Dspace-tech] Install help

2007-04-04 Thread Graham Triggs
/- { permission java.security.AllPermission; }; This was taken from: http://forums.pentaho.org/showthread.php?p=157283 Someone will probably shout if it's wrong! G -- Graham Triggs Technical Architect Open Repository Tel: +44 (0)20 7631 9942 Skype: grahamtriggs On Tue, 2007-04-03 at 14

Re: [Dspace-tech] compilation warning.

2007-04-06 Thread Graham Triggs
Jose, -Xlint:deprecation will just give you more information about the use of deprecated API. There is already a patch to address the use of deprecated APIs: http://sourceforge.net/tracker/index.php?func=detailaid=1667989group_id=19984atid=319984 however, there is no requirement to apply this

Re: [Dspace-tech] Licenses Dspace

2007-04-11 Thread Graham Triggs
that you place inside your repositories, but that is an entirely different question. Regards, G -- Graham Triggs Technical Architect Open Repository Tel: +44 (0)20 7631 9942 Skype: grahamtriggs This email has been scanned by Postini. For more information please visit http://www.postini.com

Re: [Dspace-tech] JAVA question

2007-04-14 Thread Graham Triggs
Private static Logger log = Logger.getLogger(SFXLinkTag.class); My question is this: How do I make these same changes in a .jsp, such as display-item.jsp? I was able to figure out the syntax for the 1st and last lines of code, but didn't know what to do with the parameter inside Logger

Re: [Dspace-tech] Oracle and dspace

2007-04-16 Thread Graham Triggs
that will be released fairly soon as 1.4.2. There is still testing taking place on this code, but so far I am not aware of any Oracle related problems with the upcoming release, and it *should* just install and run successfully. G -- Graham Triggs Technical Architect Open Repository Tel: +44 (0

Re: [Dspace-tech] Adding items without bitstreams

2007-04-18 Thread Graham Triggs
On Wed, 2007-04-18 at 06:52 +0100, Stuart Lewis [sdl] wrote: At present it is not possible - but will be in the next major release of DSpace (1.5) which will include what is known as the 'configurable submission system' (CSS). Hi Stuart, This is very good news for us, as we already have

Re: [Dspace-tech] Cannot get a connection, pool exhausted

2007-04-18 Thread Graham Triggs
On Wed, 2007-04-18 at 13:33 +0100, Richard Jones wrote: I just put a page on the wiki with some thoughts and possible ways of debugging this, as it happens: http://wiki.dspace.org/index.php/Idle_In_Transaction_Problem If you can have a look at the results of the query that this page

Re: [Dspace-tech] Timeout and dspace.log

2007-04-24 Thread Graham Triggs
1) Someone can correct me if I'm wrong, but I think it just works on the standard session timeout, so: You can specify the timeout of a session in the deployment descriptor of your web application (web.xml): web-app session-config session-timeout60/session-timeout /session-config

Re: [Dspace-tech] Maximum File Size

2007-04-25 Thread Graham Triggs
On Wed, 2007-04-25 at 09:24 +0200, José A. Rubio wrote: Dear William, In our installation, with Oracle 10g, and applying the path to its proper functioning, we have found problems with files of 1 gig or more. Perhaps, it's a problem of our specific system .. What patch(es) did you apply?

Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-25 Thread Graham Triggs
Hi, 1) Why would an institution use more than one PI system? How do you determine which PI system generates a PId (base it on collection, community)? There are a lot of theoretical reasons why multiple PI schemes may be in use. Even if you have the simple case of an institute / repository

Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread Graham Triggs
On Tue, 2007-05-29 at 10:44 +0100, James Rutherford wrote: 3) Including special characters in the URL string doesn't seem like a good idea. While they are valid characters, it does take extra processing to encode/decode them from layer to layer. As I mention on the wiki, my current idea

Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread Graham Triggs
On Tue, 2007-05-29 at 11:43 +0100, James Rutherford wrote: I don't see what's so unusual or undesirable about colons. The reasoning behind doing it this way was so that the value after /uri/ is the canonical form of the identifier. The colon is a reserved character, and in this example would

Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-29 Thread Graham Triggs
On Tue, 2007-05-29 at 12:52 +0100, James Rutherford wrote: Well if we're going to be strict, we should escape the value of the handle 1234/56 as 1234%2F56. Since DSpace already breaks this rule, I didn't deem including a colon as such a great crime ;) Fair point, and you are probably right.

Re: [Dspace-tech] Persistent identifiers in DSpace -- thoughtsplease

2007-05-30 Thread Graham Triggs
On Tue, 2007-05-29 at 14:58 +0100, James Rutherford wrote: Using UUIDs (as suggested earlier) would *work*, but would produce horrid URLs. Note that I never suggested using UUIDs as part of a URL. What I said is that UUIDs would give you a robust scheme of internal unique identifiers - and in

Re: [Dspace-tech] handle server on windows

2007-06-01 Thread Graham Triggs
Hi Karen, The Unix script won't work (it might be OK under Cygwin) - you can convert to dos, but if the logged in session is exited, the console app *will* be closed and the handle server shutdown. The best way to run the handle server under Windows is to install it as a service. There isn't

Re: [Dspace-tech] Accented char in filename problem

2007-06-06 Thread Graham Triggs
On Wed, 2007-06-06 at 07:49 +0100, Stuart Lewis [sdl] wrote: 2) Add another copy of the bitstream to the item, without the accented char in the filename, using the Add Bitstream functionality and Remove the bitstream that has the dodgy title - not sure though if the Remove function

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Graham Triggs
Not really. The badArgument is valid when you don't specify a metadataPrefix, and the noRecordsMatch error is valid when there are no records that match the date range specified. If you simply include a from timestamp, eg:

Re: [Dspace-tech] Accented char in filename problem

2007-06-07 Thread Graham Triggs
On Wed, 2007-06-06 at 14:16 +0100, Michael White wrote: a) If so, what version? 4.1.31 I may have misinterpreted the information I saw about Tomcat. It's possible that the bug was only filed against 4.0.4, not actually fixed in that release. The bug appears to have been closed on the 16th

Re: [Dspace-tech] Oracle

2007-06-12 Thread Graham Triggs
Hi, Hm... I don't think this is an SQL issue, I'm suspecting some faulty data somewhere. Either your start date or end date is not of the correct format - ie. 2007-01-01 - or you have a value in your metadatavalue that isn't a valid timestamp (ie. 2007-01-01T23:01:01Z). I'm suspecting that

Re: [Dspace-tech] File Storage

2007-06-13 Thread Graham Triggs
On Tue, 2007-06-12 at 22:47 -0400, Don Gourley wrote: On Tue, June 12, 2007 9:58 pm, Jimmy wrote: Hi, I want to store the assets(bit stream) on another server but not the DSpace application server . Is there any other solution? Here's one: NFS Another one, what we use but not

Re: [Dspace-tech] 1.4.2 Oracle Upgrade Problem

2007-06-15 Thread Graham Triggs
It look's like it can't find the registrationdata_seq. Try running: SELECT registrationdata_seq.nextval FROM dual; it probably won't work, in which case you will need to create the sequence. First, run: SELECT MAX(registrationdata_id) FROM registrationdata; to see if there are any IDs already

Re: [Dspace-tech] Lucene/Postgre and scalability

2007-06-19 Thread Graham Triggs
On Mon, 2007-06-18 at 15:10 -0400, Jose Blanco wrote: 2. Does any one have any idea what the performance would be like with 12 million records in a lucene environment with or without an accompanying database? And would a dual storage system ( Lucene and database ) work well when you have to

Re: [Dspace-tech] Non-ASCII Unicode and searching in DSpace

2007-07-04 Thread Graham Triggs
Yes, this browse problem has been discovered before, and there is a solution to it ;) The ordering is dependent on the 'sort_' columns of the browse table. By altering the normalisation of the data that is stored there, you can affect the way the ordering is done, without the LC_COLLATE side

Re: [Dspace-tech] Searching PDF-scanned documents: Adobe Capture asolution?

2007-07-04 Thread Graham Triggs
Hi, The problem with your scanning attempts is that you are just capturing an image of the page. To have searchable content, you need to perform optical character recognition on the images. According to: http://www.adobe.com/uk/products/acrcapture/ Then yes, this will create PDFs that contain

Re: [Dspace-tech] [Dspace-general] DSpace Bistream

2007-07-05 Thread Graham Triggs
On Thu, 2007-07-05 at 16:03 +0100, James Rutherford wrote: On Wed, Jul 04, 2007 at 01:13:38PM +0200, Ina Smith wrote: My question relates to the preservation of the bitstream URL: In stead of linking from another database (e.g. our library catalogue) to the Item URL, we would like to link

Re: [Dspace-tech] Checksum checker not working

2007-07-06 Thread Graham Triggs
On Thu, 2007-07-05 at 17:40 +0100, Jim Downing wrote: Hi Rafa, Rafa Carreres wrote: Running [dspace-src]/bin/checker, I get this error: Exception in thread main java.lang.RuntimeException: Problem inserting missing bitstreams. ORA-00911: invalid character at

Re: [Dspace-tech] newbie question

2007-07-11 Thread Graham Triggs
You changed the user that Tomcat is being launched as, right? ;) If so, then the '/var/lib/tomcat5/work' folder will still have the old tomcat5:root permissions. You will need to 'chown -hR' it for Tomcat to be able to compile the JSP files. G On Wed, 2007-07-11 at 10:44 +0200, Felix Mayerhofer

Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-19 Thread Graham Triggs
On Thu, 2007-07-19 at 12:03 -0400, Robert Tansley wrote: +1 on ability to assign arbitrary external IDs to bitstreams. +1 on ability to assign 'hierarchical' external IDs to bitstreams (for graceful fallback if files are deleted etc). Minor point, but you don't actually need a hierarchical

Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-19 Thread Graham Triggs
On Thu, 2007-07-19 at 10:06 -0600, Zhiwu Xie wrote: Then what will happen if I remove one file from an item and add another file? Will the new file get the old handle or a new one or I can choose? How deletion of objects assigned external ids is not something that DSpace should force on to a

Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-20 Thread Graham Triggs
From: James Rutherford [EMAIL PROTECTED] This is, in my humble opinion, pure evil. How can you consider something to be an *identifier* if you can't actually guarantee that it identifies something? I absolutely agree. But how can you guarantee that it resolves to what it is meant to be

Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-20 Thread Graham Triggs
From: James Rutherford [EMAIL PROTECTED] Assigning or displaying? I find it hard to believe that you actually have a problem with giving identifiers to files, but I can understand why you might not want your users to know about them. Because I don't believe that an identifier should be

Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-20 Thread Graham Triggs
From: James Rutherford [EMAIL PROTECTED] I absolutely agree. But how can you guarantee that it resolves to what it is meant to be identifying if you completely disallow the possibility to reassign it? I'd flip this around and say how can you guarantee that it resolves to what it is meant to

Re: [Dspace-tech] [vote] Do we want to assign external identifiers(Handles) to files?

2007-07-24 Thread Graham Triggs
On Tue, 2007-07-24 at 09:22 +0100, James Rutherford wrote: As I see it there are (broadly) two camps: those who believe that every meaningful tier in the DSpace content hierarchy should get external identifiers, and those who don't (or at least those who can't decide and so want it to be

Re: [Dspace-tech] [vote] Do we want to assign externalidentifiers(Handles) to files?

2007-07-24 Thread Graham Triggs
On Tue, 2007-07-24 at 11:12 -0400, Robert Tansley wrote: The problem is I'm not sure how easy it is to disentangle the logic of assigning IDs (what gets an ID of what form) and minting IDs. If the 'Handle' piece of the implementation could be as simple as a 'mint' method (i.e. if all

Re: [Dspace-tech] Problem with new submission

2007-08-01 Thread Graham Triggs
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

Re: [Dspace-tech] Handle problem - HTTP 403 error after upgraded to 1.4

2007-08-09 Thread Graham Triggs
Hi, Haven't heard of that one before! If you are going to http://hdl.handle.net/x and getting a 403, then it sounds like there is either a problem with your access to the handle.net proxy (nothing to do with your DSpace installation), or the handle is resolving, and it is forwarding to

Re: [Dspace-tech] Problem with statistics

2007-09-11 Thread Graham Triggs
Hi, Well, the relevant part of this is the only thing that's not in English!! But the context is clear enough - it's having trouble parsing a valid date. Can you confirm that the start / end dates that you are passing to the script are of the form '-mm-dd'. If your input is valid, then

Re: [Dspace-tech] Problem with statistics

2007-09-11 Thread Graham Triggs
or Dissertation%' AND metadata_field_id = ( SELECT metadata_field_id FROM metadatafieldregistry WHERE element = 'type' AND qualifier IS NULL) ) This query gives me error in dspace and in my sql+ worksheet. Sorry and thank yoy very much, Andrea Garrido From: Graham Triggs [EMAIL

Re: [Dspace-tech] RE : Increasing upload.max

2007-09-13 Thread Graham Triggs
Jose, You can't just change the variable that is used to hold the return from getIntProperty() / pass to setSizeMax(). The method getIntProperty() returns an int, and will only ever be able to return values that fit into an int. You'll need to add a getLongProperty() to the ConfigurationManager

Re: [Dspace-tech] Handle server + funky firewall

2007-09-19 Thread Graham Triggs
On Tue, 2007-09-18 at 22:16 +0100, [EMAIL PROTECTED] wrote: On the configuration wizard, i gave the external IP, and sent the zip file to handle.net Then, I've changed in config.dct the bind_address the external IP to the 10.x.x.x Yes, you should initially register the external IP address.

Re: [Dspace-tech] Clustering of Dspace servers

2007-09-19 Thread Graham Triggs
the database. It would / could be used for replicating session data between multiple web servers. In that case it is complimentary to either Sequoia or Slony, not an alternative. G -- Graham Triggs Technical Architect Open Repository BioMed Central Ltd Middlesex House 34-42 Cleveland Street London

Re: [Dspace-tech] Extra characters spontaneously littering pages

2007-09-19 Thread Graham Triggs
to /jsp/layout/location-bar.jsp G -- Graham Triggs Technical Architect Open Repository BioMed Central Ltd Middlesex House 34-42 Cleveland Street London, W1T 4LB This email has been scanned by Postini. For more information please visit http://www.postini.com

Re: [Dspace-tech] Problems using legacy oracle database (in latin1)

2007-10-11 Thread Graham Triggs
Jose, It's vaguely possible to run it using national character set columns (NCHAR, NCLOB), to allow for a different character encoding (the ncs columns could be UTF-8, whilst everything else remain Latin-1). However, we've been down that route, and it involves some very nasty customisations to

Re: [Dspace-tech] Using Dspace with MYSQL

2007-11-05 Thread Graham Triggs
On Sat, 2007-11-03 at 18:44 -0700, pavan krishnamurthy wrote: Hi all, I am trying to setup DSpace with MYSQL as database. I saw the patch which was given in the mailing list. Now i am confused how to use the file 1) naming_patch.txt 2) database_schema.sql people who have succesfully

Re: [Dspace-tech] Build Failed : sun.misc cannot be resolved

2007-11-07 Thread Graham Triggs
pavan krishnamurthy wrote: Hi, I was trying to install dspace. When i try to do ant fresh_install; i get so many warnings plus two errors saying 1)The import sun.misc cannot be resolved 2)BASE64Encoder cannot be resolved to a type The sun.* packages are part of the Sun JDK. They

Re: [Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Graham Triggs
Dorothea Salo wrote: Hi, all, If I can divert a tiny bit of attention from the testathon... I'm trying to make author names on item-display pages clickable. The URL pattern for this is browse-author-items?author= plus the author's URL-encoded name -- which is the problem, as there doesn't

Re: [Dspace-tech] DSpace Installation Saga: Please Help!

2007-11-15 Thread Graham Triggs
in the $dspace.source/config/dspace.cfg file that points to the Tomcat server.xml upon compilation? There is nothing in the Display Name field in the Tomcat manager application for DSpace. Thanks, Billy On Nov 15, 2007 12:20 PM, Graham Triggs [EMAIL PROTECTED] wrote: Do you have

Re: [Dspace-tech] Exception error with creative commons submission

2007-11-19 Thread Graham Triggs
Hi, This is a known issue, due to a change on the Creative Commons site. Please see the link below for more details and a fix. http://sourceforge.net/tracker/index.php?func=detailaid=1824710group_id=19984atid=119984 G On Mon, 2007-11-19 at 16:16 +0200, Swanepoel, Barrie wrote: Dear all

Re: [Dspace-tech] [Dspace-devel] DSpace User Group at Open Repositories 08

2007-11-19 Thread Graham Triggs
A. On Mon, 2007-11-19 at 11:36 -0500, John S. Erickson wrote: Graham, thanks for this! Can you say something about how/whether submissions to the plenary may get pushed to various UG's, i.e. if they are not appropriate for the general session? I think that has happened in the past for some

Re: [Dspace-tech] Creative Commons issues EVEN AFTER recent fixes

2007-11-20 Thread Graham Triggs
Shane Beers wrote: One of the individuals who deposits documents into our IR is continuining to have issues with the Creative Commons portion of the process. When the individual clicks on the proceed link, the iFrame goes blank and the page remains static. Only by skipping the creative

Re: [Dspace-tech] ORA-01000: nUmero mAximo de cursores abiertos excedido

2007-12-11 Thread Graham Triggs
Hi, Ensure that you have disable the prepared statement cache in your dspace.cfg: db.statementpool = false G On Tue, 2007-12-11 at 14:26 -0300, Rodrigo Castro Artigas wrote: HI, I AM run process import and have the followind message: java.sql.SQLException: ORA-01000: número máximo de

Re: [Dspace-tech] ORA-01000: nUmero mAximo de cursoresabiertos excedido

2007-12-11 Thread Graham Triggs
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Triggs Sent: Tuesday, December 11, 2007 12:49 PM To: Rodrigo Castro Artigas Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] ORA-01000: nUmero mAximo de cursoresabiertos excedido Hi

Re: [Dspace-tech] Dspace 1.5 customizable submission

2008-01-07 Thread Graham Triggs
Tim, Obviously there has to be binding between the JSP interface and the processing class - however, I don't see why that needs to be a class extended from the main processing class. So, like xmlui, you could just specify a 'binding' class that implements the JSP binding interface

Re: [Dspace-tech] Browse configuration

2008-01-07 Thread Graham Triggs
Hi Bill (and Jeffrey), I have just now committed a change to the browse code that allows you to specify multiple meteadata fields for the 'unique metadata' tables. For example: webui.browse.index.2 = author:metadata:dc.contributor.advisor,dc.contributor.author:text states that both the

Re: [Dspace-tech] Dspace 1.5 customizable submission

2008-01-07 Thread Graham Triggs
On Mon, 2008-01-07 at 11:01 -0600, Tim Donohue wrote: (1) No ability to easily change the review JSP without recompiling. But, that may not be a big deal...as you noted the same is currently true for the JSPs used to create the various submission forms There is nothing to say we couldn't

Re: [Dspace-tech] Cannot delete collections from Dspace

2008-01-09 Thread Graham Triggs
Filippos, When you upgraded to 1.4.x, the DCVALUE table should have been deleted after it's contents were migrated over to METADATAVALUE, and a view put in it's place. It looks like this hasn't happened, and that you still have a DCVALUE table in your database, that has it's old contents (and

[Dspace-tech] Final Reminder: Call for Papers - DSUG @ OR08

2008-01-14 Thread Graham Triggs
.ecs.soton.ac.uk/cfp.html. Looking forward to seeing you all in April. Graham PS - If anyone is interested in helping to review the submissions, please contact me. -- Graham Triggs Technical Architect Open Repository / BioMed Central This email has been scanned by Postini. For more information please

Re: [Dspace-tech] Reindexing after 1.5 upgrade

2008-01-18 Thread Graham Triggs
Hi, The problem is that a document has been written to your Lucene indexes that hasn't got a handle. You could update the DSIndexer to check if the handle is null first, but with the other changes to how the indexes are populated in 1.5, you would be best off simply recreating your index from

Re: [Dspace-tech] Sort Author - Submission to dspace-tech

2008-01-29 Thread Graham Triggs
Hi, Yes, that was a very early iteration of the ordering patch, so you may have run into problems. That said, I thought I tested that particular piece of funtionality - it's been a while since I looked at the 1.4.x browse code (been too immersed in the new 1.5+ system), but it should have been

Re: [Dspace-tech] Two instances on one server

2008-02-05 Thread Graham Triggs
2? Try 20 instances on a single Tomcat! Anyway - according to your specific questions: 1) Tomcat configurations - in a 'standard' installation, you don't need to change the Tomcat config much (apart from adding the UTF-8 encoding)... as long as your instances are modelled in that fashion,

Re: [Dspace-tech] Testing dspace-1.5_xx

2008-02-05 Thread Graham Triggs
Paulo, I presume the test JSP and XML instances are: http://www.jobim.org/dspace/browse-title http://www.jobim.org/dspace-xmlui/browse-title If so, these are the wrong urls, and refer to the 'old' browse system, which has been removed in 1.5 - are these based on an older snapshot of the 1.5

Re: [Dspace-tech] Poor response time in DSpace 1.4.2

2008-02-28 Thread Graham Triggs
Mark H. Wood wrote: That's on PG 8.0.8, and I'm bugging the Gentoo PG team to find out why we're stuck at 8.0 when 8.3 is in beta and 8.2 has been out and stable for many months. FYI, Postgres 8.3 was released at the start of this month. G     This e-mail is confidential and should not be

Re: [Dspace-tech] Hardware used in DSpace repositories

2008-04-09 Thread Graham Triggs
Robin Taylor wrote: Hi Mika, For what it is worth, we currently run 5 Dspace instances in the same Tomcat without any problems. Using Tomcat manager allows us to stop/start/deploy one instance without affecting the others. 2 servers - each with dual core pentiums 2.4Ghz, 8GB ram, mirrored

Re: [Dspace-tech] Hardware used in DSpace repositories

2008-04-09 Thread Graham Triggs
Mark H. Wood wrote: Using Tomcat manager allows us to stop/start/deploy one instance without affecting the others. Very handy! Every time you do this, though, it gobbles up some PermGen memory. I'm doing frequent stop/start cycles on the test box right now, and after

Re: [Dspace-tech] Indexing of scanned PDFs

2008-04-23 Thread Graham Triggs
Dorothea Salo wrote: You didn't say what version of DSpace you're running (and honestly, I'm not completely sure this was fixed in 1.5 -- anybody know?), but... one thing that may be happening is that the filter-media cron job is dying. Since it's written without error-recovery, it stops dead

Re: [Dspace-tech] UTF-8 problems in Dspace 1.5

2008-05-01 Thread Graham Triggs
Can you confirm what is being written into the database? For the item metadata, all the values are written into CLOB columns. The Collection/Community name is a VARCHAR2. I suspect there is an issue in the way that the values are being written to / read from those two different types of

Re: [Dspace-tech] Tomcat can't find DSpace

2008-05-13 Thread Graham Triggs
James Rutherford wrote: As noted, GNU Java is only equivalent to J2SE 1.4.2 (and Java 1.5 is a requirement for DSpace 1.5 -- I'm pretty sure that is specified in the docs somewhere). I'm not sure I would even go that far. From http://gcc.gnu.org/java/: It has been merged with GNU Classpath

Re: [Dspace-tech] Index-init error

2008-06-09 Thread Graham Triggs
Jose, There is a known corruption bug in Lucene 2.3.0, that is meant to be fixed in the later releases (they are currently on 2.3.2) Instead of going back to an older version, can you try using the latest version of Lucene (2.3.2)? There are some useful changes in the 2.3.x series that I

Re: [Dspace-tech] Index-init error

2008-06-09 Thread Graham Triggs
Diggory wrote: Did we upgrade this in the branch Graham? On Jun 9, 2008, at 8:20 AM, Graham Triggs wrote: Jose, There is a known corruption bug in Lucene 2.3.0, that is meant to be fixed in the later releases (they are currently on 2.3.2) Instead of going back to an older version, can you

Re: [Dspace-tech] filter-media error in DSpace 1.4.2

2008-06-10 Thread Graham Triggs
There is no fix - it is essentially a bug within PDFBox. In 1.5, there is a workaround that catches the out of memory exceptions, and skips the record. G Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: No wonder I didn't get any responses on my previous message...no one

Re: [Dspace-tech] filter-media error in DSpace 1.4.2

2008-06-12 Thread Graham Triggs
within DSpace 1.4.2? Thanks, Sue -Original Message- From: Graham Triggs [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 2:58 PM To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] filter-media error

Re: [Dspace-tech] index init

2008-06-27 Thread Graham Triggs
Jeffrey, Page 52 is correct. Page 64 is a copy of the old comments from dspace.cfg. The comments and example in dspace.cfg are also correct, and should have guided you away from the erroneous information in p64 of the manual ;) Your configuration should be: webui.browse.index.1 =

Re: [Dspace-tech] No browse index for date

2008-06-27 Thread Graham Triggs
Gary, The browse indexes are generated in tables within the database. All the 'metadata' indexes (see dspace.cfg) generate bi_1, bi_2, etc. tables (again, see the comments in dspace.cfg) For the non-metadata indexes, they are just references to the bi_item table, that specify which sort column

Re: [Dspace-tech] Borked sequence in author browse

2008-06-30 Thread Graham Triggs
Steve Thomas wrote: Hi. We're running 1.4.2. Our Author browse is producing an odd sequence of authors, e.g. Brown, Alfred Leonard Brown, Alice Brown, A. M. Brown, A. R. Brown-Augsburger, P. -- it looks very much like the sequence is ignoring punctuation (good) AND ignoring

Re: [Dspace-tech] Not able to display item

2008-07-03 Thread Graham Triggs
Hi, Yes. Obtain the latest XHTMLHeadCrosswalk class from the 1.5 branch in Subversion. (known bug where it doesn't check if the metadata value contains null, and tries to insert it into the JDOM tree anyway) G Blanco, Jose wrote: I'm getting an internal error when accessing an item. The

Re: [Dspace-tech] Achieving security by obscurity

2008-07-09 Thread Graham Triggs
Scott Phillips wrote: We wanted to expose dspace's metadata in a way that can be used by other applications. They are nice restfull urls that are actionable and easily predictable. In most cases, that should be seen as a good thing. I can see in certain situations that you wouldn't want

Re: [Dspace-tech] Filter-media in 15

2008-07-15 Thread Graham Triggs
Larry Stone wrote: It _should_ never get an NPE over a missing configuration key. Given our sparse testing resources it behooves us to make the code as resilient as possible. I'll disagree slightly - it isn't necessarily wrong for code to blow up. In cases like this, it's probably better for

Re: [Dspace-tech] Another Ant fresh_install error: Bad Packet Type

2008-07-21 Thread Graham Triggs
Sounds like you might have a wonky ojdbc jar. What version is it? Can you try replacing it with the latest version downloaded from Oracle? G Rebekah Burke wrote: Hi all, I am on step 7, the ant fresh_install step, of installing Dspace 1.5 from the PDF manual, using Oracle 11g on Debian

Re: [Dspace-tech] [Dspace-devel] Batch Import document

2008-07-25 Thread Graham Triggs
Bradley McLean wrote: Unfortunately, I can't think of a good way for us to collectively edit either a .doc or an .odt, so that presents a challenge. Well, we can collectively edit a document in Google Docs, which can then be downloaded as a PDF... G This email has been scanned by Postini. For

Re: [Dspace-tech] 1.5 - sort results bug

2008-07-31 Thread Graham Triggs
Hi, In dspace-jspui-webapp/src/main/webapp/search/results.jsp, replace the line: input type=hidden name=query value=%= query % / with input type=hidden name=query value=%= URLEncoder.encode(query,UTF-8) % / If you are using the overlay war [against the war

Re: [Dspace-tech] [Fwd: How to configure dspace to use a mail server running on ssl ports]

2008-08-05 Thread Graham Triggs
The options in dspace.cfg only allow you to connect to a mail server running on a non-standard port. They do not tell DSpace to make a secure connection to that port. See the link below for more information on using SSL with JavaMail. http://www.javaworld.com/javatips/jw-javatip115.html G

Re: [Dspace-tech] DSpace 1.4.2 Browse performance issues

2008-08-08 Thread Graham Triggs
Sue, You are right both about the performance of browse in 1.4.2, and the problems that you will have trying to limit the number of rows considered by the query. The real problem with the query is the use of the DISTINCT view (note that the 'where sort_author' part outside of the view in your

Re: [Dspace-tech] Configurable browse error

2008-08-18 Thread Graham Triggs
You have to run [dspace-installation]/bin/index-init after you have changed/installed the configuration. G Anderson, Charles W wrote: We've been playing around with the configurable browse, and decided to configure a new browse index based on the metadata element dc.type. I added the

Re: [Dspace-tech] Reusing bitstream sequence number

2008-08-18 Thread Graham Triggs
Richard Rodgers wrote: I do worry about opening door #1 [content rejection], since taking assets as found seems pretty close to the bedrock use-case for digital repositories - at least preservation-minded ones. Well, that is an interesting argument! Now, if we look at assets 'as found'

Re: [Dspace-tech] css bitstreams

2008-09-10 Thread Graham Triggs
Dorothea Salo wrote: Good point. Would I be right in hazarding a guess that this was originally designed as a gesture toward relatively simple updating of this set of configuration options (without direct database-mucking)? And that this is therefore a special case of the general issues with

  1   2   >