Re: [Dspace-tech] Nested Metadata

2015-08-04 Thread Graham Triggs
Hi Peter, I think you may not be too far off with that approach. However, one key thing that gets missed - you provide an example where dc.contributor.author that captures rich metadata. Which we shouldn't be doing - dublin core is meant to be simple, and simple data is what we should be capturin

Re: [Dspace-tech] tomcat bound to port 80

2015-08-03 Thread Graham Triggs
Hi, The error that you have received is because the main DSpace application can't communicate with the secondary Solr application - which by default it expects to be in the same Tomcat, and on the default port of 8080. Note that the circumstances of this error point to a very good reason why you

Re: [Dspace-tech] dspace import throws NullPointerException

2015-07-31 Thread Graham Triggs
Hi, I think the point is that the value is returning null - e.g. it is not set in your dspace.cfg - and so a null is passed into the new File(), and throwing a NullPointerException. Ugh. That code needs updating - the static initializer in ItemImport ought to have try {} catch around it, and the

Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional information)

2015-04-08 Thread Graham Triggs
Is it at all possible that you have two separate processes / applications attempting to access the same Solr index - so one locks it, and the other is unable to? For example, maybe a context file under /config/Catalina/localhost and an application in /webapps? Regards, G On 08/04/2015 17:17:0

Re: [Dspace-tech] Build Errors: DSpace 5.1 + Maven 2

2015-04-08 Thread Graham Triggs
Hi David, The installation document states that Maven 3.x is required. Regards, Graham On 06/04/2015 14:36:58, Baker, David A. wrote: I'm attempting a fresh install of 5.1 using the Maven 2 theme on Debian Wheezy. I'm getting errors on the build. I've tried both: mvn -U clean package -Dmirage

Re: [Dspace-tech] Must I Build/Install as Tomcat service user?

2014-12-22 Thread Graham Triggs
On 19 December 2014 at 21:47, Chris Gray wrote: > You will run into many problems along the way. I started that way and > had to revert. > > DSpace seems to be programmed under the assumption that $CATALINA_BASE is > the same as $CATALINA_HOME (which it isn't under the Ubuntu/Debian package) >

Re: [Dspace-tech] umlauts in Search results

2013-12-06 Thread Graham Triggs
Hi Kevin, Please see the comments in this class: https://github.com/DSpace/DSpace/blob/03276502d60b2644c0c2e6e1ace8846eb6cd5bf5/dspace-api/src/main/java/org/dspace/sort/OrderFormat.java Note that for authors, the standard normalization used is: https://github.com/DSpace/DSpace/blob/03276502d60b

Re: [Dspace-tech] Browser

2012-08-22 Thread Graham Triggs
Try right-clicking on the element, and selecting 'Inspect element' from the menu. If you look at the CSS for #ds-header-logo, you'll see that you are using a relative path for the header image. That isn't going to work as the URL changes. G On 22 August 2012 12:41, Webshet, Sisay (ILRI) wrote:

Re: [Dspace-tech] Aside: PostgreSQL 9 working well with DSpace

2012-06-15 Thread Graham Triggs
Actually, 8.2 went EOL at the end of last year, so it wouldn't hurt to make the official 'requirements' be at least 8.3, even if 8.2 happens to work. For the next release, I would even be tempted to say that the official minimum is 8.4 (it's already highly recommended). It may work with 8.3 / 8.2,

Re: [Dspace-tech] dspace java upload limit

2012-05-24 Thread Graham Triggs
Hi, Using Maven 3 is not currently supported. Please use version 2.2.1. Regards, G On 24 May 2012 12:52, Ajay Parikh wrote: > Dear All > I am new to D-space as a developer > I have install d-sapce. i am using Eclips to customize d-space . i have > set up environment when i build (Maven) proje

Re: [Dspace-tech] dspace kernel java segfault error 6

2012-04-23 Thread Graham Triggs
Hi Evelio, It's very rare to see segfaults from Java in normal circumstances. And it's highly unlikely that the Apache proxy has any effect on it. There are really only two likely culprits for a segfault in this case: a) A bug in the Java virtual machine - this could be more likely if you are ru

Re: [Dspace-tech] [Dspace-devel] DSpace & IDEs - Features, Observations, and Recommendations

2012-01-13 Thread Graham Triggs
On 13 January 2012 19:25, Peter Dietz wrote: > You can't debug XSLT development, but that doesn't bother me. As of IntelliJ IDEA 11 - well, the commercial 'Ultimate' edition - that isn't the case any more. If you create an XML file for the input that you expect to pass to the stylesheet, you can

Re: [Dspace-tech] java.sql.SQLException: org.postgresql.util.PSQLException: ERROR: relation "bi_5_dmap" does not exist

2011-08-22 Thread Graham Triggs
Hi Ian, Sounds like the browse configuration that your web app is running with is out of sync with the database and/or the dspace.cfg. I would restart your web application, and run a 'bin/dspace index-init -r' to complete recreate the browse tables. Regards, G On 22 August 2011 12:18, Wellaway,

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

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

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-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
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-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] 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] 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] 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] Handle Server Problems

2010-03-11 Thread Graham Triggs
Sounds like you need to remove the lock file from the txns directory. Regards, G On 11 March 2010 22:32, Cameron, Jacob wrote: > Our handle server has stopped responding. > > > > I’ve killed and restarted the process several times and had it working > again this morning. But it has died again

Re: [Dspace-tech] Problem with authorization created during Submission process in DSpace 1.5.1

2010-03-11 Thread Graham Triggs
Hi Sue, Don't worry, the READ policy on the COLLECTION has no effect on the access of the items. In fact, it doesn't really have any effect on the access of the Collection home page/browse itself, either :( For accessing items, what you need to be concerned with is the DEFAULT_ITEM_READ and DEFA

Re: [Dspace-tech] Sloooow submission process in DSpace 1.5.1

2010-02-23 Thread Graham Triggs
Hi Simon, On 23 February 2010 17:47, Simon Brown wrote: > Sorry to stick my oar in here, but... > Oars are always welcome. > I don't think this is the case. I'm sure it was the intention, but > from what we've been able to determine, each DescribeStep for in- > progress items calls InProgress

Re: [Dspace-tech] Sloooow submission process in DSpace 1.5.1

2010-02-12 Thread Graham Triggs
Hi Joel, On 12 February 2010 17:04, Richard, Joel M wrote: > I'll put my two cents in here... > > I haven't dug deep into ways of making these queries work better than they > already do, but my experience tells me that there has to be a faster way of > doing these operations. Sequence scans (i.e

Re: [Dspace-tech] Bad robot! Googlebot and Internal Server Errors

2010-02-11 Thread Graham Triggs
On 11 February 2010 14:37, Tom De Mulder wrote: > You should add "/dspace" to the start of those disallowed patterns, > because your DSpace URLs start with "/dspace" after the hostname. > > You should also ensure that the robots.txt is available at the root of the server... ie. https://dspace.st

Re: [Dspace-tech] Sloooow submission process in DSpace 1.5.1

2010-02-04 Thread Graham Triggs
Hi Sue, (You don't say explicitly, so I'll assume that you are using Postgres) I can't explain why the addition of metadata rows is taking so long - there are a number of factors that could come into play... server getting many / expensive requests, resource contention, postgres needs maintaining

Re: [Dspace-tech] [Dspace-devel] JSPUI language detection - request for comment

2010-01-28 Thread Graham Triggs
BTW, 1 + 2 are technically the same thing... the EPerson's default locale is stored in the current session when they log in - overriding what is currently there. The UI selection will update the Locale in the current session - overriding whatever is there currently (either a previous choice, or

Re: [Dspace-tech] DSpace & secure passwords

2009-10-16 Thread Graham Triggs
ecure transport. SSL Pages /ldap-login* GET PUT POST CONFIDENTIAL If this doesn't work, the next best option would be to write a servlet filter that checks for secure transport, and redirects if it isn't - then map it to the login pages in the web.xml. Graham Triggs Technical

Re: [Dspace-tech] Google Analytics and DSpace 1.5.2 part 2

2009-09-23 Thread Graham Triggs
Hi, It won't be the upgrade to 1.5.2. Google Analytics tracking works via Javascript in the browser - so as long as the code appears correctly in the HTML, and can be executed, then it will track. And in this case, the code does appear correctly. But it isn't being executed. Hacking a saved f

Re: [Dspace-tech] Creative Commons problem

2009-07-24 Thread Graham Triggs
FYI, the problem that I reported to Creative Commons has been fixed. G -Original Message- From: Graham Triggs [mailto:gra...@biomedcentral.com] Sent: 23 July 2009 10:38 To: Robin Taylor; Tech General Subject: Re: [Dspace-tech] Creative Commons problem Hmmm... Not sure about that one

Re: [Dspace-tech] Creative Commons problem

2009-07-23 Thread Graham Triggs
Hmmm... Not sure about that one. I've run into this issue: http://code.creativecommons.org/issues/issue142 G > -Original Message- > From: Robin Taylor [mailto:robin.tay...@ed.ac.uk] > Sent: 23 July 2009 10:31 > To: Tech General > Subject: [Dspace-tech] Creative Commons problem > > A

Re: [Dspace-tech] AJP Errors

2009-06-12 Thread Graham Triggs
Looks like a known (now fixed) bug in Cocoon 2.2 http://www.mail-archive.com/d...@cocoon.apache.org/msg57582.html G From: Sean Carte [mailto:sean.ca...@gmail.com] Sent: Fri 12/06/2009 07:01 To: Van Ly Cc: dspace-tech Subject: Re: [Dspace-tech] AJP Errors 20

Re: [Dspace-tech] [Dspace-devel] TAMU OAI Harvester

2009-04-30 Thread Graham Triggs
From: Mark H. Wood [mailto:mw...@iupui.edu] >3) "How can addons interject into the administrative interface?" > > Well, in DSpace 2.0 we'll have Spring underneath it all (as I > understand it), and may be able to do dependency-injection tricks > to cram new administrative UI into the existing

Re: [Dspace-tech] Java Heap dumps during Filter-Media

2009-04-09 Thread Graham Triggs
Nice work Larry, I've replaced our PDF text extraction and thumbnail generation with this code. Thankfully, running on Debian, adding the third party tools was as hard as "apt-get install xpdf" ;) I actually ran into a few more difficulties with the ImageIO libraries - it's a pity that you don

Re: [Dspace-tech] download citation in EndNote format

2009-03-05 Thread Graham Triggs
Morning, Yes, I do know more about it ;) It was developed just prior to the 1.5 release, and I had been targetting getting it into that release. However, we were entering a phase of stabilising the code at that time, and there was one significant problem with it... The detail of metadata capt

Re: [Dspace-tech] Does anyone use SWORD with DSpace yet?

2009-01-22 Thread Graham Triggs
Hi, Yes, we offer the SWORD interface on all Open Repository hosted repositories - and we have clients that are working with it to develop systems to populate the their repositories with content. Which brings us to an interesting limitation of the reference implementation, that I would like to

Re: [Dspace-tech] SVN 1_5_X branch fails to compile

2008-12-08 Thread Graham Triggs
The latest revision in SVN looks fine to me: http://dspace.svn.sourceforge.net/viewvc/dspace/branches/dspace-1_5_x/dspace-api/src/main/java/org/dspace/app/statistics/StatisticsLoader.java?revision=3321&view=markup Looks like you have a merge with your own local changes. G On 08/12/2008 09:00,

Re: [Dspace-tech] Can you upgrade directly from DSpace 1.4.2 to 1.5.1 without first installing 1.5?

2008-11-21 Thread Graham Triggs
Glenn, I would advise to do these as separate steps. Overall, you'll take a bit more down time, but doing them together increases the risk of having a problem / makes it harder to diagnose. Not that either step is particularly risky, but if you had a problem with - say - the handle server, wou

Re: [Dspace-tech] Importing problem -- items not going into collection

2008-11-17 Thread Graham Triggs
Hi, The browse configuration in your dspace.cfg does not match the tables that have been created in the database. You need to run index-init first - then subsequent index-updates will be successful. If you change the browse configuration again, you'll have to run index-init. G Thomas A McGee

Re: [Dspace-tech] Install many instance of Dspace in 1 machine

2008-11-10 Thread Graham Triggs
Cachiusa, PermGen is a seperate area of memory from the heap, set aside by the JVM to store 'permanent' information like class information and string literals. (Such information is always resident for the duration of the ClassLoader that created/loaded it - in a container environment like Tomac

Re: [Dspace-tech] Problem Searching

2008-11-04 Thread Graham Triggs
Hi, Are there any errors reported in your dspace.log? The DSIndexer class has some static initialisation code (that reads from dspace.cfg). If you have any errors in your configuration, then the class won't initialise, giving you this exception. G Zaya Kh wrote: > Hi all expert, I installed D

Re: [Dspace-tech] filter-media problem - question on size limit

2008-10-24 Thread Graham Triggs
If anyone has example PDFs that cause the text extraction to fail (smaller PDFs preferably!) that they are able to share, please send them - or a link to retrieve them - to me. Thanks, G Mark H. Wood wrote: > I found this: > >http://java-source.net/open-source/pdf-libraries > > PJX and PDF

Re: [Dspace-tech] filter-media problem - question on size limit

2008-10-23 Thread Graham Triggs
Tim Donohue wrote: > (2) If you look closely at the PDFBox site, you'll notice that software > has *not* had an updated release since Oct 2006. And if you keep looking at that site, you aren't likely to see much activity in the future. You should try looking here: http://incubator.apache.org/pd

Re: [Dspace-tech] Sub-community policies

2008-10-21 Thread Graham Triggs
Richard M. Davis wrote: > We have a Sub-Community (called HOUP) and we want access to the > bit-streams restricted to one Group of users (apart from Administrator). > (It's not important whether or not the abstract/metadata view gets > restricted too.) > > So I've done what you'd expect: remove

Re: [Dspace-tech] DSPACE browse error

2008-10-21 Thread Graham Triggs
717 1950 > > > -Original Message- > From: Graham Triggs [mailto:[EMAIL PROTECTED] > Sent: 17 October 2008 16:12 PM > To: Charl Roberts > Cc: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] DSPACE browse error > > If you are getting a docum

Re: [Dspace-tech] Handle Server died

2008-10-20 Thread Graham Triggs
Hi George, So, you opted to use encryption in the simple setup? Looks like the encrypted file that was generated is/has become corrupt. But this is all entirely with the CNRI provided code (and the JVM). I would contact CNRI for support. G George Kozak wrote: > Hi... > > Two weeks ago I moved

Re: [Dspace-tech] DSPACE browse error

2008-10-17 Thread Graham Triggs
If you are getting a document not found error, then your URLs are wrong. Are you still using links to /[dspace]/browse-title, /[dspace]/browse-author, etc? The new urls are /[dspace]/browse?type=title, Charl Roberts wrote: > Hi, > > > > We’ve recently upgraded to 1.5. All seems to work

Re: [Dspace-tech] Index-init

2008-10-13 Thread Graham Triggs
You can run index-init with the website up, but bear in mind: 1) There may be a few exceptions thrown whilst the tables are being created (prior to population) 2) The browse lists won't be fully populated until the index-init script has finished running (may take some time on a large repository

Re: [Dspace-tech] Problem with filter-media

2008-10-09 Thread Graham Triggs
Hi Susan, These are long known issues with PDF text extraction. And they are both due to bugs in the underlying libraries that are used, and not necessarily an issue with the PDF content or size. For the heap space issue, a new configuration option was added to DSpace 1.5 - if you add to

Re: [Dspace-tech] plugins and custom classes in 1.5.x

2008-10-04 Thread Graham Triggs
I'll concur with Mark's comments about the use of Maven modules. A small note about Java package spaces though - org.dspace.authenticate is the correct place for it to be if you are intending to submit it as a patch. If it's just a local customisation, it's better to use a package appropriate

Re: [Dspace-tech] FW: Java heap space error when trying to update a Collection

2008-10-04 Thread Graham Triggs
Elliot Metsger wrote: > We've noticed issues with heap size as well, specifically when using the > wildcard policy tool, the media filter manager, and some in-house tools that > iterate over dspace objects using a single Context. > > When dspace objects like Item or Bitstream are instantiated, they

Re: [Dspace-tech] Range query

2008-10-04 Thread Graham Triggs
Yes, in theory (at least for 1.5+ - haven't checked earlier) For example, a query like author:[aa TO ab] Will find all items with authors that start with 'aa' (it will also find any authors that exactly match 'ab', but not 'aba', etc.) G Jochen Lienhard wrote: > Hi, > > does DSpace support ra

Re: [Dspace-tech] Question regarding handle.jar

2008-10-01 Thread Graham Triggs
Mark Diggory wrote: > I will ask why are you trying to alter the existing handle.jar? The > current one we publish into the maven repository (which your build > has downloaded) should be adequate for DSpace 1.5.1 and the current > Handle service. Are you encountering problems running the handle > s

Re: [Dspace-tech] Dspace and Open JDK

2008-09-30 Thread Graham Triggs
Hi, I don't believe that anyone has tried this, however I don't see any reason why this shouldn't work. G mahesh mahesh wrote: > Hi, > > I am new to this . > Can i compile dspace with open jdk package ? > > Thanks > > Mahesh > > >

Re: [Dspace-tech] FW: Java heap space error when trying to update aCollection

2008-09-29 Thread Graham Triggs
Sue, I'm not denying that there is an efficiency problem / bug in DSpace to be bombing out on a minor Collection change just because of the number of Items. But 256 / 512Mb really is virtually nothing these days. I can easily exceed that editing the DSpace source in an IDE. I'll regularly see

Re: [Dspace-tech] Getting other fields in browse

2008-09-25 Thread Graham Triggs
Hi, Take a look at the dspace.cfg file. There is an entry webui.itemlist.columns that you can use to specify which metadata fields you want displayed in the list. Note that you will also need entries in your messages.properties file(s) for the column headings - they start 'itemlist.' followed

Re: [Dspace-tech] Configuring the Browse List (JSPUI)

2008-09-24 Thread Graham Triggs
Vezina Marie-Helene wrote: > Thank you Graham, > > Very clear answer. > > I guess the final goal I was pursuing while playing around with the browse > configuration was to be able, for my Browse lists, to have one Date column > that would display dc.date.submitted for ETDs and dc.date.issued

Re: [Dspace-tech] 2 questions about large files

2008-09-23 Thread Graham Triggs
Larry Stone wrote: > The LNI *might* be able to do this for you. It streams directly from > the incoming PUT body through a Zip decoder into a Bitstream, so theoretically > there is no artificial length limit. However, the _implementation_ of any of > those layers of software might not be able to

Re: [Dspace-tech] Configuring the Browse List (JSPUI)

2008-09-22 Thread Graham Triggs
Hi, >2008-09-19 16:21:01,748 WARN org.dspace.app.webui.jsptag.LayoutTag @ > Exception >javax.servlet.ServletException: javax.servlet.jsp.JspException: >org.apache.jasper.JasperException: javax.servlet.ServletException: >org.dspace.browse.BrowseException: Browse Index configuratio

Re: [Dspace-tech] Can the workflow step "I Grant the License" be bypassed in DSpace 1.4.2???

2008-09-18 Thread Graham Triggs
Yes... and no. There is no way of changing this behaviour without altering the DSpace code (which you have access to). To be strictly accurate, you would still have to write code to accomplish this with 1.5 - the key difference is that you aren't forced to alter the code that is shipped as DS

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 wit

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

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: with " /> If you are using the overlay war [against the war distributed in the Maven repository], you can simply copy the entire search/results.jsp from the standard war, place it a

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

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 Debia

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 f

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

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

Re: [Dspace-tech] Browse, UTF-8 and sorting in 1.5

2008-06-27 Thread Graham Triggs
Urban, It is done this way, because simply writing UTF-8 to the database tables results in very random sorting (for diacritics). And by random, I mean things like Z with a particular diacritic appearing in the middle of the 'A' entries - that's just broken in any language / locale. By decompos

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] 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 = dateissued:it

Re: [Dspace-tech] Erratic Browse functionality

2008-06-18 Thread Graham Triggs
Flemion Shafeeq wrote: >> Checked code to find a table named *Community2Item, *which is absent >> in the dspace database tables,(there is a table named >> communities2item) but comfortably used in the code. >> The interesting part is the same script when run on the development >> machine runs f

  1   2   3   >