Re: [Dspace-tech] log4j causing slowness for DSpace

2010-04-07 Thread Graham Triggs
Jason, It's highly unlikely that Log4J is causing the startup to be slow. Whilst your startup takes in the region of 10 minutes, there is no indication in the log as to when each of those log4j warnings appeared, or what was occurring at the time. The regular re-occurrence of org.apache.commons.d

Re: [Dspace-tech] DSpace 1.6 Run With Tomcat Security Manager Enabled, Anybody?

2010-04-07 Thread Graham Triggs
Hi Christian, It's good to see someone else working on this. I did look at it myself at one stage, in a mad ambition to be all 'correct' about it. And after chasing down the rabbit hole for hours creating a seemingly never-ending list of permissions, I came to the conclusion that as I've got a fir

Re: [Dspace-tech] Improper Install?

2010-04-11 Thread Graham Triggs
The 'work' directory is under the control of Tomcat. If the application specific directories are not being created, then it is almost certainly because the user that Tomcat is being run under does not have permission to write to the work directory. G On 7 April 2010 19:56, bryce ray wrote: > I'

Re: [Dspace-tech] tomcat reporting memory leak?

2010-09-21 Thread Graham Triggs
On 20 September 2010 15:59, Tom De Mulder wrote: > On Mon, 20 Sep 2010, Damian Marinaccio wrote: > > > I'm seeing the following log messages in catalina.out: > > [...] > > SEVERE: The web application [] appears to have started a thread named > [FinalizableReferenceQueue] but has failed to stop it

Re: [Dspace-tech] tomcat reporting memory leak?

2010-09-29 Thread Graham Triggs
On 29 September 2010 11:38, Hilton Gibson wrote: > Using the XMLUI. > Does DSpace really need this and what happens when we go to one million > items ?? > > Does DSpace really need that? No. As I have said, I'm running 30 separate repositories - using JSPUI (circa 1.4.2 / 1.5 codebase) - all on a

Re: [Dspace-tech] tomcat reporting memory leak?

2010-09-29 Thread Graham Triggs
On 29 September 2010 11:48, Tom De Mulder wrote: > A lot of the back-end code of DSpace, the very core of it, is inherently > inefficient I don't entirely disagree with that statement - there are some things that can definitely be improved, particularly where you have to deal with more items in

Re: [Dspace-tech] tomcat reporting memory leak?

2010-09-29 Thread Graham Triggs
That begs the question as do you think something else should be chosen / recommended? There really isn't anything preventing you using Jetty, etc. but Tomcat is actually a pretty solid server that does a lot of things quite well - and particularly in recent versions in being defensive against bad

Re: [Dspace-tech] tomcat reporting memory leak?

2010-10-04 Thread Graham Triggs
On 29 September 2010 14:17, Tom De Mulder wrote: > I know you like to talk down the problem, but that really isn't helping. > This isn't about talking down the problem - it's about finding where the real problems are and not just patching the immediate concerns. And considering the interests of

[Dspace-tech] A simplified version of dspace-services and Tomcat unloading

2010-10-04 Thread Graham Triggs
Hello all, So, we've been debating the performance / resource usage of DSpace 1.6. This has just happened to coincide with work that I needed to do to qualify DSpace 1.6 (and/or 1.7) for our own use. So, for the past week or so, I've been hammering away at profiling DSpace. This isn't a comprehens

Re: [Dspace-tech] tomcat reporting memory leak?

2010-10-06 Thread Graham Triggs
On 5 October 2010 16:33, Simon Brown wrote: > Which nobody has requested, making this a massive red herring. I fail > to see how cutting back on unnecessary and redundant database access > constitutes "overhead to cover up the problems of larger > repositories". One person's "unnecessary and re

Re: [Dspace-tech] A simplified version of dspace-services and Tomcat unloading

2010-10-06 Thread Graham Triggs
On 5 October 2010 19:17, Sands Alden Fish wrote: > What resources were leaking here exactly? Leaking resources across > requests can have some serious consequences depending on the resources, and > I'm curious to know exactly what type of errant behavior we could expect > from a 1.6.x version ru

Re: [Dspace-tech] DSpace/Maven help request - update dependency version

2010-10-06 Thread Graham Triggs
That version of tm-extractors is quite old. There is a newer version on the Google site - http://code.google.com/p/text-mining/ - but it will take a bit of work wrapping things up for general use. It has dependencies on newer versions of POI than 0.4, and some distinct improvements to it's robust

Re: [Dspace-tech] A simplified version of dspace-services and Tomcat unloading

2010-10-10 Thread Graham Triggs
On 7 October 2010 06:55, Mark Diggory wrote: > You know I'm for (1) simplified spring only service manager. (2) jdbc > data source delivered by servlet container (3) dropping reflectutils. > Well, the JDBC datasource is a change to dspace-api rather than -services, but there is no reason why it

Re: [Dspace-tech] manikin question

2010-10-10 Thread Graham Triggs
On 8 October 2010 19:06, Walker, David wrote: > > breaking up the xslt into separate files for each page > > actually defeats the design goals of the XMLUI theming tier. > > I.E. having one file within which all customizations reside to > > manage your theme. > > I think there are advantages and

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-10 Thread Graham Triggs
It's a second level browse - ie. if your 4th browse index is 'subject', then it's someone looking at all the items that have a particular subject entry. This shouldn't be that expensive a query (given there is no offset involved), but you may have an issue with an index missing (although the brows

Re: [Dspace-tech] A metadata schema for journals - Prism ?

2010-11-11 Thread Graham Triggs
Hi Robin, Theo is quite right - I think PRISM is a good standard for repositories to support for published material. In fact, it's probably more important for SWORD to be able to accept PRISM metadata than it is to support SWAP - given the majority of sources that might supply data via SWORD alrea

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-11 Thread Graham Triggs
te though, should we > run index-init?) and things went ok for a while, but now back up to 99% and > the same query appears in pg_stat_activity. > > We are running Postgres 8.1.18. > > cheers, > Steve > > > > > > On 11/11/2010, at 11:10 AM, Graham Triggs wrote:

Re: [Dspace-tech] postgres/postmaster 99%

2010-11-12 Thread Graham Triggs
exes (only via index-update though, should we > run index-init?) and things went ok for a while, but now back up to 99% and > the same query appears in pg_stat_activity. > > We are running Postgres 8.1.18. > > cheers, > Steve > > > > > > On 11/11/2010, at 11:1

Re: [Dspace-tech] Prism Metadata for DSpace

2010-11-14 Thread Graham Triggs
That's probably because a lot of the examples of Prism in practice relate to online publications - which don't have the same pagination requirements. If you have a look at Nature - for example: http://www.nature.com/nri/journal/v10/n11/full/nri2858.html - and view the source of that document, you

Re: [Dspace-tech] strange effect with dspace-1.7.0

2010-12-21 Thread Graham Triggs
That doesn't entirely surprise me - I've seen odd things with 2.0.x, and it all gets tied up with the overlay war capabilities that were introduced to the war plugin during that release cycle. As Maven 2.2.0 was released back in July(?) 2009, I don't think it's entirely unreasonable to just deprec

Re: [Dspace-tech] Search

2011-01-04 Thread Graham Triggs
t; I guess the problem is in the mask of number ##.### because the "." can be > a delimiter line. > > What do you thing? > > If anyone wants to know my DSpace is > http://www.iof.mg.gov.br/ultima-edicao.html and send comments and > suggestions. I'll be very happy. &g

Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Graham Triggs
Which UI are you using - JSP or XML? If it's XMLUI, then it sounds like it might be caching elements of the Cocoon pipeline, in which case you should stop the application and remove the cache from within the web application directory, and/or disable Cocoon caching. On 19 January 2011 15:03, Fred

Re: [Dspace-tech] Lots of browse errors

2011-01-27 Thread Graham Triggs
Jeffrey, I agree with Claudia that the request itself looks odd. I would want to look at / find out what was generating that link in the first place. But at the same time, the code ought to be able to handle with this more gracefully (ie. know that it's an item index and ignore the value parameter

Re: [Dspace-tech] Lost Indexes

2011-02-01 Thread Graham Triggs
Herbert, You need to work back through the stack trace. First thing you'll notice is that the BrowseException that is thrown in updateCommunityMappings is a wrapping of a caught SQLException. Following the stack trace of the SQLException ('caused by' in your output), you'll go through the Oracle

Re: [Dspace-tech] Re bugs in the Oracle implementation

2011-05-02 Thread Graham Triggs
Tim, There is absolutely no requirement to have an Oracle license for a testathon. The Oracle XE database is easy to install, works exactly the same as the full licensed copy, and we'll get nowhere near the limits in data sizes for the purposes of a testathon. I'm quite happy to assist with imple

Re: [Dspace-tech] Conflict with mixing metadata schemas and batch ingest

2011-05-09 Thread Graham Triggs
On 9 May 2011 09:31, Robin Taylor wrote: > > 2) While you can mix metadata elements for an item from multiple > > schemas in manual submission, for the batch ingest you can only > > specify a single schema for the batch. > > I haven't used this in recent times but I thought you could mix sche

Re: [Dspace-tech] Conflict with mixing metadata schemas and batch ingest

2011-05-10 Thread Graham Triggs
On 10 May 2011 16:44, Mark H. Wood wrote: > > http://www.dspace.org/1_7_0Documentation/System%20Administration.html#SystemAdministration-Configuringmetadata\prefix\.xmlforDifferentSchema

Re: [Dspace-tech] NPE error in searching after an upgrade to 1.7.1 (plus patches)

2011-05-15 Thread Graham Triggs
Hi, There is an error in the 1.7.1 source. Lines 170 & 171 of org.dspace.app.xmlui.aspect.artifactbrowser.AbstractSearch need to be moved so that they come after the call to performSearch(). These two lines are expecting the queryResults object to be set, but that won't happen until after the se

Re: [Dspace-tech] Problem with ordering in browsing

2011-05-19 Thread Graham Triggs
Please take a look at a previous post of mine on this subject: http://dspace.2283337.n4.nabble.com/Browse-UTF-8-and-sorting-in-1-5-tp3281449p3281450.html Regards, G On 19 May 2011 15:18, Peter Dietz wrote: > Hi Ladislav, > > I've noticed that our librarians here are happier with sorting when w

Re: [Dspace-tech] The file "update-discovery-index" not found...

2011-06-09 Thread Graham Triggs
Hi, All of the batch scripts have been replaced by a launcher. Typically, you would replace: bin/

Re: [Dspace-tech] The file "update-discovery-index" not found...

2011-06-09 Thread Graham Triggs
/launcher.xml As you can see, it has an 'update-discovery-index' command (configured to use the org.dspace.discovery.IndexClient class) Regards, G On 9 June 2011 14:33, Sergiu Ioan Irimia wrote: > Mr. Graham Triggs, > > I know how to use the dspace launcher: > > -server:W

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

Re: [Dspace-tech] (What look like) Lucene errors on import andindex-all

2007-03-17 Thread Graham Triggs
Hi Mark, If you look back at the stack trace you posted: at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) there is a reference to libgcj - which means that it is running under the GNU JDK. You may well be using the Sun JDK to run your application server, and even to com

Re: [Dspace-tech] Lucene error

2007-03-26 Thread Graham Triggs
Jake, You are having the same problem as Mark Jordan. Although you've compiled you classes using JDK 1.5, when you are running index-all, it is picking up the GNU GCJ installation when the command 'java' is executed. How you fix it is dependent on how you installed the Sun JDK, and/or what distri

Re: [Dspace-tech] sshfs assetstore and index-all

2007-03-27 Thread Graham Triggs
Monika, Your local mount point is /var/www/dspace_root/assetstore - your asset store is only available (locally) through that path. However, your config file is set to have reference the datastore as /dspace/assetstore (your config likely reads: assetstore.dir=${dspace.dir}/assetstore, where dsp

Re: [Dspace-tech] OAI-PMH and Oracle

2007-03-27 Thread Graham Triggs
On Mon, 2007-03-26 at 18:23 +0200, dspace wrote: > Of course, it was added several days ago... > Thxs > > > Graham Triggs escribió: > > Are you now running Michael's patch in addition to the one the I sent > > you? > > > > This may be an error in the applica

Re: [Dspace-tech] RE : MediaFilter clarification

2007-03-29 Thread Graham Triggs
On Thu, 2007-03-29 at 11:29 -0400, Tellier, Stephane wrote: > Dspace isn't an OCR tool, because this kind of process is very > difficult to do and I don't know if any are free and open-source > actually... There is Tesseract-OCR: http://code.google.com/p/tesseract-ocr/ although it isn't Java bas

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

2007-04-04 Thread Graham Triggs
se schema. The single biggest argument against it's inclusion 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 T

Re: [Dspace-tech] Install help

2007-04-04 Thread Graham Triggs
base "file:${catalina.home}/webapps/dspace/-" { 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

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

2007-04-04 Thread Graham Triggs
ement still if we switch to Java 5? In which case > I'd push this off to DSpace1.5 (which will require Java 5 or > greater). And if so, it should probably be the case that we explore > its implementation in the XMLUI if any at all changes are needed. > >

Re: [Dspace-tech] Migrating data from Postgres to Oracle in DSpace 1.4.1

2007-04-05 Thread Graham Triggs
a DSpace that supports the use of CLOBs, and to start with a schema that uses CLOB columns where necessary/possible before you migrate the data in. In practise, I would therefore suggest that you upgrade to 1.4.1 on your Postgres database, and then migrate to Oracle after 1.4.2 is released. G --

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: however, there is no requirement to apply t

Re: [Dspace-tech] Licenses Dspace

2007-04-11 Thread Graham Triggs
ries as you like. There are other concerns that affect the content 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

Re: [Dspace-tech] JAVA question

2007-04-13 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 Log

Re: [Dspace-tech] Oracle and dspace

2007-04-16 Thread Graham Triggs
es have been accepted into the code 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

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 sim

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): 60 ... The number within the session-timout element must be expressed i

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 app

Re: [Dspace-tech] language problems

2007-05-03 Thread Graham Triggs
Hi, You need to setup your application server to support UTF-8 encoded URLs. See: for how to do this with Tomcat. G On Thu, 2007-05-03 at 10:30 +0800, Anny Bridge wrote: > Hi, > > I input a word in Japane

Re: [Dspace-tech] dspace.cfg -- db.statementpool = true

2007-05-08 Thread Graham Triggs
From: Damian Marinaccio >From dspace.cfg: > ># Determine if prepared statement should be cached. (default is true) >db.statementpool = true > > > >I cannot find ANY documentation related to this statement. What are the >implications o

Re: [Dspace-tech] dspace.cfg -- db.statementpool = true

2007-05-09 Thread Graham Triggs
Kind of hard to say. What's happening is fairly obvious - close() has been called on the underlying Postgres PreparedStatement object, but the DelegatingPreparedStatement is remaining in the pool. I would suspect that the Connection that had been used in creating the statement has been closed at

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 curren

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 wou

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] DSpace with Oracle 10 Installation Problem.

2007-05-30 Thread Graham Triggs
Doubt db.name gets involved - that should only change the SQL that is executed. I suspect that the db.url and db.driver may be inconsistent (ie. the url is for Oracle and the driver is for Postgres, or vice versa). G On Wed, 2007-05-30 at 14:29 +0100, James Rutherford wrote: > Quick sanity-check

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 anyt

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 f

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: http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&metada

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

2007-06-06 Thread Graham Triggs
the OAICat code, not the DSpace plugin, and I really suspect that your application is using an outdated version. Regards, G - Original Message - From: "Keith Jones" <[EMAIL PROTECTED]> To: "Graham Triggs" <[EMAIL PROTECTED]> Cc: "Jodi Schneider"

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

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 it

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 u

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

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 effec

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 se

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

Re: [Dspace-tech] DSpace Oracle statement pool

2007-07-06 Thread Graham Triggs
Stephane, This is pretty much the best / only course of action for using Oracle drivers with DBCP. IMHO, a better solution for Oracle installations would be to bypass the DBCP code, and use the Oracle provided pooling. G On Fri, 2007-07-06 at 09:17 -0400, Tellier, Stephane wrote: > Hi , > >

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

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] Another Internal System Error

2007-07-15 Thread Graham Triggs
The 'trick' is to go down the stack trace until you find what is calling the DatabaseManager - in this case, it's MetadataValue.create(), which means it is trying to insert into the MetadataValue table. This probably means it is complaining about the text_value column, which is/should be a CLOB

Re: [Dspace-tech] Another Internal System Error

2007-07-15 Thread Graham Triggs
river. Upgrade the driver to the latest 10g release. You can still connect to previous database releases, and they improve CLOB identification / handling. G - Original Message - From: "Brian Helstien" <[EMAIL PROTECTED]> To: "Graham Triggs" <[EMAIL PROTECT

Re: [Dspace-tech] Expose DSpace as Tomcat ROOT application (was Re:First name, family name order)

2007-07-19 Thread Graham Triggs
Actually, Windows kind of supports symbolic links. But (IIRC) you need the resource kit to be able to create them. Even then, I'm not sure if Tomcat will follow them - btw, Tomcat won't follow a symbolic link under Linux, unless you have it enabled in the config (allowLinking must be set to true f

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 hierarchica

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 t

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

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 ident

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 (jdbc:o

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

2007-08-08 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 you

Re: [Dspace-tech] UTF-8 encoding in search mystery

2007-08-23 Thread Graham Triggs
On Thu, 2007-08-23 at 07:23 +0100, Stuart Lewis [sdl] wrote: > Looking at the headers from your server, it says the server is apache 2, so > I am guessing you are using mod_jk? > > If so, have you got the following option set? > > JkOptions +ForwardURIEscaped > > If not, it will likely fix your

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 you'v

Re: [Dspace-tech] Problem with statistics

2007-09-11 Thread Graham Triggs
; 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 > > > > >

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 t

Re: [Dspace-tech] Dspace not writing to dspace.log file

2007-09-13 Thread Graham Triggs
Hi, It's possible that filter-media had something to do with it, but under normal circumstances it shouldn't. What is likely here is that something has renamed or replaced the dspace.log file that Tomcat was writing to. As Tomcat retains an open handle on the log file, it will continue writing

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 addre

Re: [Dspace-tech] Clustering of Dspace servers

2007-09-19 Thread Graham Triggs
replicating 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 Clev

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

2007-09-19 Thread Graham Triggs
uring generation, and I would suspect a change 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. Fo

Re: [Dspace-tech] Dspace: IllegalArgumentException

2007-09-21 Thread Graham Triggs
t doesn't work, we'll assist you further. G -- Graham Triggs Technical Architect Open Repository Manuel Echeverry wrote: > > Hi > > > > In our university we have 3 instances of dspace > > > > http://dspace.icesi.edu.co/dspace/ > > http://dspace.icesi

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 th

Re: [Dspace-tech] DSpace Installation: Java-Problem

2007-10-25 Thread Graham Triggs
What is the output of: ant -diagnostics G On Thu, 2007-10-25 at 13:12 +0200, Robert Roggenbuck wrote: > No, I didn't an 'ant clean'. After doing it successful, unfortunately > the problem remains... > > Robert > > Claudia Jürgen schrieb: > > Hi Robert, > > > > did you try ant clean before yo

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 succ

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 s

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 doe

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

2007-11-15 Thread Graham Triggs
Do you have the manager application installed on Tomcat? (http://localhost:8080/manager/html) If so, what does it say about the status of the DSpace application? Have you checked the Tomcat log files? Is Tomcat running under a security manager? (I'm not sure how this is / would be configured u

  1   2   3   >