Re: [Dspace-tech] Fresh Install of DSpace 5.3
Hi Keith, could you confirm the maven command(s) you're using to build DSpace, and which version of maven you're using? It seems like the assembly goal is trying to run before the package goal has completed... Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 11 August 2015 at 07:18, Keith Jones mad...@udel.edu wrote: Hi, I just downloaded the source code for DSpace 5.3 and went to build it, but got the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default) on project dspace: Failed to create assembly: Error adding file 'org.dspace.modules:additions:jar:5.3' to archive: /export/home/putnam/dspace/SOFTWARE/dspace-5.3-src-release/dspace/modules/additions/target/additions-5.3.jar isn't a file. - [Help 1] Any help will be appreciated. Thanks -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to find item with strange metadata value of |||
Hi Alan, that's close, but not quite what I was suggesting: the ||| will not be stored in the database, that's added in when indexing the values to Solr, so I think a SQL query like: select item_id from metadatavalue where metadata_field_id=86 and (text_value='' OR text_value IS NULL); Will be closer to what you're after. If you want to try and find items that might match in solr, you could try something like curl http://localhost:8080/solr/search/select?query=*:*fq=FIELDNAME_filter :||| Where FIELDNAME is the name of the field as configured in the discovery spring configuration (eg. 'subject', 'type', 'author', and so on) Cheers! Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 1 August 2015 at 01:28, Alan Orth alan.o...@gmail.com wrote: So I found the metadata_field_id for this metadata item using a known valid value: dspace=# select * from metadatavalue where text_value='DRYLAND CEREALS'; ... and then I tried to find text values containing several variations of |||, like '\|\|\|', '%|%', '%\|%' etc... dspace=# select item_id from metadatavalue where metadata_field_id=86 and text_value='|||'; But I am not getting any hits. I also figured that, since we figured CSV export by nature wouldn't expose this anomaly, that I could simple export and re-import, but DSpace said no changes were detected upon re-import. Hmmm. Anyone know how I could query Solr directly for this information? Alan On Fri, Jul 31, 2015 at 9:35 AM Alan Orth alan.o...@gmail.com wrote: Thanks for the interesting suggesting, Kim! This is happening in DSpace 4.3. I will try to poke around in the database, as you're probably right that this anomaly probably wouldn't make it through a CSV export... Alan On Thu, Jul 30, 2015 at 1:44 PM Kim Shepherd kim.sheph...@gmail.com wrote: Hi Alan, Discovery filters use ||| as a separator between lowercase value and a display/stored value, eg. something|||SomeThing I'm sort of surprised it displays in the sidebar, because acting as the separator, it should be pulled out, but I think the first thing I'd look for is empty or null metadata values in your database (probably easier than CSV because of how metadata export works), for the field in question. What version is this happening in? M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 30 July 2015 at 20:45, Alan Orth alan.o...@gmail.com wrote: Hi, I've got an strange metadata value shown in one of our XMLUI Discovery sidebar facets, and I'm not sure how to find the offending item to fix it. The value is displaying as |||, and I've narrowed down the collection the item belongs to by navigating through my communities and looking at the facet in question. I've exported the metadata as CSV and attempted to find the item using LibreOffice and OpenRefine but nothing strange sticks out... Does anyone have any suggestions? Thanks, Alan -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace maven build problem
Hi Atul, I haven't encountered this one before, so I'm not totally sure, but my suggestions are: - See if you can upgrade to Maven 3.0.5 as it's the recommended build version for DSpace 5 - Build with mvn clean package to force dependency update - Optionally, you can even try purging your ~/.m2/repository artifacts (or even just ~/.m2/repository/org/dspace/dspace-rdf if you see it there) (the reason for the latter two is it sort of looks like something might be corrupt with that particular war file...) Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 28 July 2015 at 17:58, atul jaiswal atul2002f...@gmail.com wrote: Hi i am installing DSpace 5.2 on RHEL 6. But always build failure at the point of RDF local customization. PLZ help me..I am using maven 3.0.3,apache ant1.8.2 jdk-7u51-linux-x64.rpm -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [Dspace-general] SWORD or custom XMLUI forms?
On 15 June 2015 at 13:10, Anton Angelo anton.ang...@canterbury.ac.nz wrote: [...] Currently we use PHP forms that generate Dspace archives we then batch import, and I like the flexibility of web forms, but I want to streamline the process. The advantage of using XMLUI custom forms is the lack of a separate layer to administer, and hooking into the various authority control mechanisms that are provided. This is for Theses and Dissertations, which will be entered by our staff, not by students. Kia ora Anton, (cc dspace-tech since I get slightly techie here) I think you've identified the basic difference - do you want an integrated system to support - which will be more flexible and extensible in terms of UI and intermediate transformation, but require more initial work and ongoing maintenance - or keep things simple with the out-of-box submission processes? I personally have tended to use SWORD for deposit so I can do whatever I like in the [self or mediated] deposit forms, integrated apps, etc. If you plan to use authority control, it is true that using external forms you'd have to implement some lookups again (I have some WIP on this sort of thing, based on a prototype we made at OR2014) but you're not locked out of using authority control altogether - you can pass the keys in with the ingest metadata, as far as I know: https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values#AuthorityControlofMetadataValues-UnattendedSubmission Some questions that might help you choose: * Do you have staff/infrastructure resource to support an external thesis deposit webapp? * Do you have design requirements that differ wildly from the out of box look/feel of XMLUI submission? * Do you have requirements to do other clever things with deposited theses - eg. submit to multiple repositories, submit to bindery, catalogue, etc. * Do you have requirements to use authority control without too much extra development? * Do your staff (who will be involved in thesis deposit) already use your DSpace submission forms for other processes? Cheers Kim -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Fwd: How to search items by metadata using REST API?
Hi all, This reminds me of a related issue I was thinking about the other day - as the REST API evolves and starts to see production use, we might want to think about versioning it somehow, keeping support for previous schemas/endpoint functionality, etc (within reason) so that we don't break existing integrations and UIs with new releases, and to help with documentation. I don't know how easy this is to achieve in practice, and I already need to brush up on my JAX-RS...perhaps it could be something like keeping note of which REST versions are compatible with which DSpace kernel versions, so that during the maven build, a particular REST module release tag can be pulled down if it's still compatible with the dspace-api being built. Thoughts? Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 16 June 2015 at 11:52, Terry Brady terry.br...@georgetown.edu wrote: Alan, The following PR has some code that will search metadata via the API: https://github.com/DSpace/DSpace/pull/954 I am also on 4.3, so this code is compatible with DSpace4.3. Terry On Thu, Jun 11, 2015 at 5:58 AM, Alan Orth alan.o...@gmail.com wrote: Ah, it seems the `/rest/items/find-by-metadata-field` endpoint doesn't exist in DSpace 4.x. Neither does the `/rest/login` endpoint. The docs need to make more of a point to say which versions these are supposed to work in... ;) Alan On Thu, Jun 11, 2015 at 12:24 PM Alan Orth alan.o...@gmail.com wrote: Thanks. It seems my query is well formed but it returns an HTTP 405 Method Not Allowed response. Perhaps DSpace 4.x's REST API isn't sufficient for the find-by-metadata-field query. Or perhaps I need to log in as you illustrated here: https://github.com/BrunoNZ/dspace-rest-requests I guess I'll fork that repo and give this a more structured test. I already found some syntax and usability bugs there (mixing sh and bash, not reading the sourced variables, etc). Alan On Wed, Jun 10, 2015 at 8:30 PM, Bruno Zanette brunonzane...@gmail.com wrote: Hey Alan, Take a look at the commentaries on the REST-API's documentation's page. I've answered a similar question there. https://wiki.duraspace.org/display/DSDOC5x/REST+API?focusedCommentId=68068154#comment-68068154 But basically, the request that you have to send is something like this: curl -k -4 -H accept: application/json -H Content-Type: application/json -X POST https://demo.dspace.org/rest/items/find-by-metadata-field; -d '{key: dc.title,value: Test Webpage,language: en_US}' Em qua, 10 de jun de 2015 às 14:08, Alan Orth alan.o...@gmail.com escreveu: Hey, I'm using DSpace 4.3 and trying to search for items matching certain metadata. The REST API docs on GitHub[0] mention that you can POST to `rest/items/find-by-metadata-field`, but it doesn't give any more information than that (like how to specify query parameters). I've tried several variations of the following: $ http --print Hhb POST ' http://localhost:8080/rest/items/find-by-metadata-field' dc.subject=LACTATION It always returns with an HTTP 405. What is the proper way to use this? Does the POST require I login first or something? Thanks, [0] https://github.com/DSpace/DSpace/tree/master/dspace-rest -- Alan Orth alan.o...@gmail.com https://alaninkenya.org https://mjanja.ch In heaven all the interesting people are missing. -Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Alan Orth alan.o...@gmail.com https://alaninkenya.org https://mjanja.ch In heaven all the interesting people are missing. -Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] XOAI and filters based on access permissions
Kia ora Deborah, I've done a bit of testing in 5.2, and will do the same test in 3.4 tomorrow -- though I think it'll be the same, looking at the DSpaceAuthorizationFilter in 3.x vs 5.x, and my findings/notes are that this does work nicely, in that people won't be able to do a GetRecord for your restricted items in *any* context (including default) that uses the bitstreamaccessFilter filter (now called bitstreamAccessCondition in DSpace 5.x for any others reading this), BUT the trick is that the authorization filter doesn't actually look at bitstream policies! It looks at bundle policies. I'm not really sure why.* Here's an example you can try in my test repository: Record page: (i'm keeping item public so we can check it) http://dspace.shepherd.nz/handle/or2015/256 OAI GetRecord request for that handle: http://dspace.shepherd.nz/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:dspace.shepherd.nz:or2015/256 You should see an error response with The given id does not exist So here is my suggestion: 1. Make sure that your default context references the bitstreamaccessFilter, and any other contexts in which you don't wish these items to appear (there is the potential that you could have contexts in which you generally don't want this filter, but do want to exclude Symplectic items - in these cases, you may need to rethink - in DSpace 5 there are some clever things that can be done with ANDing and ORing various filters together, but prior to that you might have to think about filtering based on metadata instead. It sounds like as long as you keep your Restricted Theses as they are and keep the bundle policies in place, this will work OK for you) 2. Find a few items and makes sure there is no Anonymous:READ policy for the ORIGINAL bundle, and then rebuild your OAI catalog with ${dspace}/bin/dspace oai import -c -v ${dspace}/bin/dspace oai import clean-cache Some good news: you don't need to restart Tomcat to check your changes! The DSpace kernel reads configuration whenever you run that dspace oai command, and is independent of Tomcat. For the future, and for others wondering about issues like this, there are also ways to use logical filter definitions to NOT a MetadataValueExists filter, so you could check for the existence of a metadata value like pubs.elements-id (Symplectic Elements adds this to every repository item) and *exclude* the item from the context. (and for these specific items, which you've mentioned are also non-public at the ITEM level, I believe the fix https://jira.duraspace.org/browse/DS-1856 in DSpace 5 would fix this without any other intervention). Anyway, I am hoping my suggestions above work for 3.x - I'll try to find time to test them - and sorry to keep harping on about DSpace 5, I have it on the brain a bit at the moment ;) I realise upgrade! is not a very good answer to specific problems like this! Cheers Kim * If you look at https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/filter/DSpaceAuthorizationFilter.java, you will see the check: Item dspaceItem = (Item) HandleManager.resolveToObject(context, handle); AuthorizeManager.authorizeAction(context, dspaceItem, Constants.READ); for (*Bundle b* : dspaceItem.getBundles()) AuthorizeManager.authorizeAction(context,* b*, Constants.READ); return true; It's the same in 3.x classes. This might be intentional or it might just be an oversight while iterating item bundles, I'll check doc and might log a JIRA issue M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 29 May 2015 at 16:26, Fitchett, Deborah deborah.fitch...@lincoln.ac.nz wrote: Hi there, We’re on DSpace 3.1 and have just switched over to XMLUI. All we know about DSpace we learned from a 2-day workshop and from working through this XLMUI switch, so please bear with us! Currently we have our XOAI feed set up such that it effectively excludes items from two collections: · “Restricted thesis” collection – theses accessible to our own staff and students only. Items have anonymous READ access, but bitstreams are restricted · “Symplectic” collection – intended as a dark archive of copyrighted material kept for internal purposes. Items and bitstreams are all access-restricted. Firstly, we’ve noticed that while this excludes the items from ListIdentifiers and from ListRecords, the metadata for the “Symplectic” collection is still returned in a GetRecord request if you know the handle. (It isn’t returned in the “Restricted thesis” collection.) This is unexpected and very undesirable for us. Can anyone explain it and/or suggest a way to ensure this doesn’t happen? Secondly, we’d like to move to a situation where: · “Restricted thesis” collection is included (at least in one OAI context – this is so we can harvest it into our library’s discovery layer Primo
Re: [Dspace-tech] move an item from one collection to another
Hi Ahmed, that seems unusual. Are you using JSPUI or XMLUI? Can you attach a screenshot of the Move Item screen? (I assume there are more than two collections in your repository?) Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 30 May 2015 at 21:06, Ahmed Maher ama...@kwareict.com wrote: Hi All, when i try to move an item from collection to another only one collection available to move the item to it and the dropdown list of collection does not exits to choose the collection thanks -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Imported Items' Access Denied!
Whoops, replied from an unsubscribed address, let me try that again: Hi Layale, could you include a paste or screenshot of the collection policies, and an example of the policies from one of the items? It's hard to know exactly what the problem might be, but I wonder if the collection has a policy allowed READ for Anonymous but not a DEFAULT_ITEM_READ policy for Anonymous. Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 1 June 2015 at 18:45, Layale Bassil l...@aub.edu.lb wrote: Hello again, Any help here? Thanks! *From:* Unauthenticated AUBnet User [mailto:l...@aub.edu.lb] *Sent:* Wednesday, May 27, 2015 12:16 PM *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] Imported Items' Access Denied! *Importance:* High Hello, I am using Dspace 4.2. I created a collection and set its Authorizations to Anonymous Read. I want it to be public and accessible by all users. I did a batch import of many items to this collection but when I try to access any of the imported items, I get “This item is restricted” eventhough it should be public and enheriting authorizations from its parent collection. This is how older Dspace used to work. Can you please tell me if in this version authorizations have changed? How can I enherit the authorizations from the parent collections to all its items? Thank you. Regards. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Possible issue with SOLR following an upgrade from 3.2 to 5.2
Hi Casey, It looks to me like these problems (at least, the errors pasted) could be related to some XMLUI aspect or pipeline issues rather than Solr itself. However, taking a look at your Solr index(es) and making sure the data is all there sounds like a good first step, and will at least eliminate it as a problem. By default, the Solr webapp is configured with a LocalhostRestrictionFilter enabled, to ensure that only your local DSpace [web]apps have access. You'll want to give yourself some direct access to Solr to help with testing and diagnosis - here are some instructions that will help you open your Solr webapp up to some specific IPs without letting the rest of the Internet in. (assuming Tomcat7) https://wiki.duraspace.org/display/DSPACE/Solr#Solr-InstructionsspecifictoTomcat7andnewer Once you've configured that, you can visit http://your.hostname/solr to get to the main admin page, or try a few queries like http://your.hostname/solr/search/select?q=*:* I'm keen to hear how you get on with all of that - keep us posted! If it doesn't help get to the bottom of the actual problem, you could maybe compare your XMLUI config and sitemaps between dev and prod instances... I'm wondering if some parts didn't get fully upgraded and are referring to invalid paths or getting stuck somewhere? Cheers Kim M: k...@shepherd.nz T: @kimshepherd P: +6421883635 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC https://keybase.io/kshepherd On 30 May 2015 at 08:24, Hume, Casey casey.h...@nist.gov wrote: Hello, We’re upgrading our existing 3.2 DSpace install to 5.2. We copied our production system into a dev environment and I was able to complete the upgrade without any issues, but upon replicating the process in production, everything has worked except that the Recent Submissions, Discovery, and Search do not work in the production server. I suspect this may have something to do with the solr application, but I’m fairly new to DSpace. At present, the only remaining issues appearing in the logs are below. If someone could confirm my suspicion, suggest a good method to test the solr setup or point me in a different direction it would be much appreciated. In cocoon.log: 2015-05-29 16:02:11,763 ERROR cocoon.handled - Failed to process pipeline at map:serialize type=xml - jndi:/localhost/dspace/xmlui/aspects/aspects.xmap:96:31 at map:generate type=file - jndi:/localhost/dspace/xmlui/aspects/aspects.xmap:95:55 at map:serialize type=xml - resource://aspects/Versioning/sitemap.xmap:135:40 … [and also messages such as] org.apache.cocoon.caching.impl.CacheImpl - Caching new response for PK_G-aspect-cocoon://DRI/2/discover?pipelinehash= in dspace.log: 2015-05-29 16:21:45,585 INFO org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for scope, null: 3 2015-05-29 16:21:45,989 INFO org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for scope, null: 3 2015-05-29 16:21:46,006 INFO org.dspace.app.xmlui.aspect.discovery.AbstractSearch @ anonymous:session_id=X:ip_addr=XXX.XXX.XXX.XXX:search:query=null,results=(0,0,0) Casey R. Hume, Ph.D. Computer Scientist, Office of Data Informatics (ODI) National Institute of Standards and Technology 100 Bureau Drive; (a)Building 222/Room A125 (x 2451) (b)Building 223/Room A3-- (x ) Gaithersburg, MD 20899-2300 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] jspui
Thanks Appreciate your info. Rgds Koh Kim Boon [Department-of-Information-and-Digital-Technology-Services_big png][SP_60] DID 67721129 | FAX 6772 1980 | 500 Dover Road Singapore 139651 | www.sp.edu.sghttp://www.sp.edu.sg/ This message may contain privileged/confidential information. If you are not the intended recipient, please destroy it and notify the sender immediately. Singapore Polytechnic is not liable for any unauthorised dissemination, copying or use of this message. From: emilio lorenzo [mailto:elore...@arvo.es] Sent: Saturday, 11 October, 2014 3:26 PM To: Koh Kim Boon; dspace-tech Subject: Re: [Dspace-tech] jspui Hi, Yes, you can remove it (and also the other webapps if you dont use it: LNI, SWORD, ...) It is a good security practice. Some alternatives a) remove it from pom.xml manifest b) remove the directory after the buld (porbably this is the easiest option) c) best luck El 11/10/2014 7:23, Koh Kim Boon escribió: Hi All, Can I know if I can remove jspui as I am using only xmlui? I am using Dspace 1.8 with Tomcat 7.053, and postgres 9.1 Pls advise. Koh Kim Boon [Department-of-Information-and-Digital-Technology-Services_big png][SP_60] DID 67721129 | FAX 6772 1980 | 500 Dover Road Singapore 139651 | www.sp.edu.sghttp://www.sp.edu.sg/ This message may contain privileged/confidential information. If you are not the intended recipient, please destroy it and notify the sender immediately. Singapore Polytechnic is not liable for any unauthorised dissemination, copying or use of this message. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Clickjacking vulnerabilitites resolution
Hi Can anyone advise if they have add in the code for X-frame-Options to Tomcat or Dspace to This is one example * Running HTTPS serviceHTTP request to https://dspace.lib.sp.edu.sg/xmlui/WEB-INF/.svn/entries (https://dspace.lib.sp.edu.sg/xmlui/WEB-INF/.svn/entries)HTTP response code was an expected 200HTTP header 'X-Frame-Options' not presentHTTP header 'X-Frame-Options' not present I am using Dspace 1.8 with Tomcat 7.053, and postgres 9.1 Koh Kim Boon [Department-of-Information-and-Digital-Technology-Services_big png][SP_60] DID 67721129 | FAX 6772 1980 | 500 Dover Road Singapore 139651 | www.sp.edu.sghttp://www.sp.edu.sg/ This message may contain privileged/confidential information. If you are not the intended recipient, please destroy it and notify the sender immediately. Singapore Polytechnic is not liable for any unauthorised dissemination, copying or use of this message. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] jspui
Hi All, Can I know if I can remove jspui as I am using only xmlui? I am using Dspace 1.8 with Tomcat 7.053, and postgres 9.1 Pls advise. Koh Kim Boon [Department-of-Information-and-Digital-Technology-Services_big png][SP_60] DID 67721129 | FAX 6772 1980 | 500 Dover Road Singapore 139651 | www.sp.edu.sghttp://www.sp.edu.sg/ This message may contain privileged/confidential information. If you are not the intended recipient, please destroy it and notify the sender immediately. Singapore Polytechnic is not liable for any unauthorised dissemination, copying or use of this message. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [Dspace-general] Regarding Ranking of Repositories
Hi Isidro and lists, Regarding point 6 -- I see what you're saying, but it shouldn't really be up to the DSpace community repositories (who all use the handle prefix / identifier system, as I'm sure you know!) to argue why 1234/123 is better than thesis/phsyics/something, because we're not the ones proposing that URI segments be part of any metric used to judge the world ranking of a repository. It's also not as simple as you might think, particularly when ensuring unique URIs and persistent URIs, etc. I think you're saying that URIs should either look nice or be meaningful, or both, but I'm not sure we should rely on URIs to be too meaningful, especially when we have ways of including that with semantic markup in references, structured data in our METS/ORE feeds via OAI, etc. Regarding point 5 -- I don't see that this matters either. No end user cares what the IR is actually called, surely? Whatever arguments you can make for our IRs having bad names, punishing us for preserving the permanence of those names and URIs we've already minted seems a bit unfair? The first IR I thought of when reading this was, of course, http://dspace.mit.edu. I think point 5 actually punishes EPrints repositories most unfairly, since eprints is an accepted name for digital manuscripts as well as the platform used -- I think I've even seen IRs called eprints.something.etc running platforms other than EPrints. Numbers 6 and 7, I think I agree with Mark, but don't really have anything to add. I don't really understand why this would even be considered as a metric, let alone grounds for exclusion. What are some examples of cases where long URIs (or, eg. directories as fulltext hosted in IRs with their own dir structures, which happens) or URIs which happen to contain numbers result in end users or machines not being able to properly locate/use hosted resources? Number 8 is probably the thing that will punish my own institution most, which is a pity because we have a large absolute amount of fulltext, but for various reasons, a lot of record only items as well. This is probably a philisophical argument about defining an OA repository I guess? I hope my criticisms here don't seem too harsh - thanks for taking the time to listen to feedback. On a lighter note, I'm sort of pleased these proposals have been doing the rounds, as I think it might just be the thing that convinces my own institution to take world repository ranking off our KPIs, and concentrate more on qualitative value of the repository we host. Cheers Kim (a DSpace dev/admin, and already biased against quantitative metrics in IRs so not exactly an objective commenter ;)) On 3 September 2014 07:56, Isidro F. Aguillo isidro.agui...@cchs.csic.es wrote: Dear colleagues, As editor of the Ranking Web of Repositories I published the referred info in order to open debate about issues that are, in my humble opinion, very concerning for the future of repositories. As my email address is clearly stated in the webpage, I do not understand why you decided not consider my position and explanations in this debate. I am going to answer the specific points introduced by Mark Wood and, of course, I am open not only to further discussions but to modify my proposals accordingly. From: Mark H. Wood mw...@iupui.edu Date: 2 September 2014 16:28 Subject: Re: [Dspace-tech] IMPORTANT NEWS: Important Info for Future Editions | Ranking Web of Repositories To: dspace-tech@lists.sourceforge.net, General List dspace-gene...@lists.sourceforge.net Points 4, 6 and 7 reveal a profound lack of understanding of hypertext and fundamental security issues, and I would not be surprised to learn that they ignore typical user behavior as well. Does anyone but a sysadmin. or developer really type in direct URLs to repository content? Citations please. Point 4. In many academic institutions the access to ports other than standards is forbidden due to security reasons. If you use other ones, the contents are invisible to the people accesing from other universities. Point 6 y 7. Explain me why .../handle/556/78/6789 is better than .../thesis/physics/Wood2013b and why aliasing is not possible. Probably authors will cite the URL of deposited files in their published papers, but with this awful, lengthy, useless addresses they probably prefer not to do. One of the main reasons for depositing papers is to increase their visibility, but this is only possible if other authors can locate easily them. Tipically, for example, in Google. Do you know the advantages of URL semantic content for improving position in Google? There are thousands of papers about academic SEO. For example, there are ones stating the advantages of using library instead of lib in webnames. I would argue that we can better do without appearing in the Ranking Web of Repositories, whatever that is, than to give up the ability to protect our users' credentials. (Point 4
Re: [Dspace-tech] Security vulnerability - Blind SQL injection
Hi As we are a government related agency, our IT agency does a regular security scan to check for weakness or vulnerabilities. Koh Kim Boon Department of Information and Digital Technology (Library Solutions) 500 Dover Road, Singapore 139651 DID: 67721129 Tel: 67721160 Fax: 61121969 Email: koh_kim_b...@sp.edu.sgmailto:koh_kim_b...@sp.edu.sg From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: Friday, 30 May 2014 4:10 PM To: Koh Kim Boon Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Security vulnerability - Blind SQL injection On 30 May 2014 03:32, Koh Kim Boon koh_kim_b...@sp.edu.sgmailto:koh_kim_b...@sp.edu.sg wrote: Recent my dspace server had a security scan and one of the vulnerabilities listed in blind sql injection. Hi Koh Can you tell us exactly the nature of the security scan Thanks. Hilton Gibson Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Security vulnerability - Blind SQL injection
Hi Guys Recent my dspace server had a security scan and one of the vulnerabilities listed in blind sql injection. I am using Dspace 1.8 with Tomcat 7.053, and postgres 9.1 Can I know if I need to upgrade to resolve the vulnerability issue, or the current configuration is already sufficient to eliminate the risk. Example of the risk http://dspace.***.**/xmlui/handle/get/90/discoverusing method POST Parameter querybehaves differently with the following payloads: 10' OR '16123'='1612310' AND '16123'='16124 Koh Kim Boon Department of Information and Digital Technology (Library Solutions) 500 Dover Road, Singapore 139651 DID: 67721129 Tel: 67721160 Fax: 61121969 Email: koh_kim_b...@sp.edu.sgmailto:koh_kim_b...@sp.edu.sg -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] OAI set specification
Hi all, my initial suggestion was going to be using Apache mod_rewrite to rewrite the hdl_ portion of the set query value, but now I realise you don't know in advance whether it's a collection or a community... (ie. com or col in the new value).. that is tricky. Depending on the number of communities and collections you have, you could still implement this with a series of rules, one per set (instead of a regex match/replace), but it doesn't scale very well and needs constant maintenance as you add/change your community and collection structure. Just a note -- your actual OAI endpoint URL isn't really changing, just the set ID format... if a OAI harvester does a request?verb=ListSets as normal, they'll get back a list of the (new) set IDs and can then harvest them without worrying about what they used to be, or will be in future... do you have any harvesters that are configured to just come in and harvest particular OAI sets? Cheers Kim On 1 April 2014 03:39, Brouns, Francis francis.bro...@ou.nl wrote: Hi Joan, did you get an answer to your question? We also have this problem, in that our harvester URL needs to stay the same as it was before in order for our site to be harvested. best wishes, Francis Brouns *From:* Joan Caparrós [mailto:joan.capar...@csuc.cat] *Sent:* 28 January 2014 17:17 *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] OAI set specification Hi everybody, I've notice that in the new OAI (with DSpace versión 3.x) a lot of things have changed, I'm worried about the set call. In other versions we did a call like this: request?verb=ListRecordsmetadataPrefix=eseset=*hdl*_10687_4 where set hdl_10687_4 was a comunity now I see that with the new version this call doesn't work and I have to do something like this request?verb=ListRecordsmetadataPrefix=eseset=*com*_10687_4 I have to *save* that *compatibility* because some harvesters already have my old comunities sets and now I can't change them. How can I make to ensure compatibility with the old version calls? -- . Joan Caparrós Tècnic de Projectes Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2 (Edifici Nexus)•08034 Barcelona T.93 551 6204•F.93 205 6979•joan.capar...@csuc.cat www.csuc.cat •Twitter @CSUC_info•Facebook•Linkedin Subscriu-te al butlletí; (www.csuc.cat/butlleti) . -- Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten worden ontleend. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Open Universiteit rules out any and every liability resulting from any electronic transmission. No rights may be derived from the contents of this message. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Moving items and inheriting policies
Hi all, I notice that since DSpace 3, moving an item and selecting inherit collection policies no longer removes existing policies on the object. It's hard to tell if this was an intentional change or not... I see a refactor in the way Item.inheritCollectionDefaultPolicies(Collection c) works, and the addition of adjustItemPolicies, adjustBundlePolicies, and filterPoliciesToAdd methods. I can see the new behaviour looks like it will work well for new items that are moving from submission or workflow into the archive (removing TYPE_SUBMISSION and TYPE_WORKFLOW) policies, but it seems as though the cases where an already-archived item is being moved from one collection to another has been overlooked? The comments for the method(s) still say remove all policies on an item and its contents, and remove all policies on bundle, but this behaviour isn't actually implemented any longer. (this has been confirmed by actually trying this out in the UI) Can someone shed some light on why this behaviour has changed, and maybe some history behind the refactor of inheritCollectionDefaultPolicies? If the new behaviour is intended, then I suggest we add a new UI option that can be selected in addition to inherit collection policies when moving an item, perhaps a drop down that forces a choice between add to existing policies or replace existing policies. If anyone is wondering why this is important, sometimes repository staff will need to move an existing item with open access policies into a closed or restricted access collection with some restrictive default read policies. Before DSpace 3, it was safe to check inherit collection policies while moving and know that the Anonymous READ policy would be removed from the item and its contents, and the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ policy would be applied in their place. As it stands now, Anonymous: READ will stay there, and the defaults will simply be added... and the item will still effectively be open to all. Cheers Kim -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Import metadata: no changes were detected
Hi Diwakar, Do you have a 'collection' column in your CSV? It is required by the Batch Metadata Edit tool, since the collection handle can be changed to move an item from one collection to another. I think the no changes detected error message, while not very descriptive of the actual problem, is occurring because a required column is missing. Cheers, Kim On 21 January 2012 04:38, Diwakar Timilsina diwa...@uark.edu wrote: Hi everyone, I am trying to update the dc.subject metadata field for some records in DSpace 1.7.2 using the admin web interface. I have a CSV file that looks like the following: id,dc.subject 158,Chemical engineering 168,Mechanical engineering However, when I try to import it, I get “No changes were detected” message. I have verified that existing dc.subject values are indeed different from the values I am trying to import. Has anyone seen this issue? Thanks you. Diwakar Timilsina Systems Analyst, UITS University of Arkansas, Fayetteville Email: diwa...@uark.edu Phone: 479.575.6160 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Combine Index Browse doesn't work
Hi Paulo, Good spotting.. we have two instances of this typo in the example Dennis refers to from the DSpace manual (page 243). It's an easy typo to make because Dublin Core XML will use elements like dc:title, etc! We'll make sure it's fixed in the 1.8 manual and the Wiki. Dennis, if you use Paulo's example below you should be set. Cheers, Kim On 9 October 2011 11:09, pa...@jobim.org wrote: Hi denis I think you have collin ':' instead of a point Should be webui.browse.index.9 = title:metadata:dc.title,dc.title.uniform,dc.relation.ispartofseries:title:full just guessing Paulo - Mensagem de jatrim...@ysu.edu - Data: Sat, 08 Oct 2011 09:27:11 -0400 De: Jeffrey Trimble jatrim...@ysu.edu Endereço para Resposta (Reply-To): Jeffrey Trimble jatrim...@ysu.edu Assunto: Re: [Dspace-tech] Combine Index Browse doesn't work Para: Dennis Tobar dennis.to...@gmail.com Cc: DSpace-tech@lists.sourceforge.net Here's what my combined indices look like: webui.browse.index.1 = dateissued:metadata:dc.date.issued:date:full webui.browse.index.2 = author:metadata:dc.contributor.*:text:single webui.browse.index.3 = title:metadata:dc.title,dc.relation.ispartofseries:title:full webui.browse.index.4 = subject:metadata:dc.subject.lcsh:text:single webui.browse.index.5 = series:metadata:dc.relation.ispartofseries:text:single Dennis, you are missing the 3rd part of the key in your entry as below, as notated in RED: webui.browse.index.9 = title:metadata:dc.title,dc:title.uniform:title:full,dc:relation.ispartofseries:title:full I believe that should fix the problem. You have to experiment with it a little. I can't log into one of my development servers from off campus, and one of them has lots of experiementation. Give that go and see what you get. --Jeff On Oct 7, 2011, at 4:31 PM, Dennis Tobar wrote: Hi all: This is my first email to Dspace Community, please be kind. Well, I'm testing the option described in Manual of Dspace 1.7.1 (section 9.13.2) about combine two (or more) metadata fields to make only one browse index (as I understand). I tried with (example described in the manual) in a testing server and it doesn't work in CLI. Here is the output: C:\dspace\bindspace index-init Using DSpace installation in: C:\dspace Started: 1318018958264 Ended: 1318018958514 Elapsed time: 0 secs (250 msecs) Exception: Browse Index configuration is not valid: webui.browse.index.9 = title :metadata:dc.title,dc:title.uniform,dc:relation.ispartofseries:title:full org.dspace.browse.BrowseException: Browse Index configuration is not valid: webu i.browse.index.9 = title:metadata:dc.title,dc:title.uniform,dc:relation.ispartof series:title:full at org.dspace.browse.BrowseIndex.init(BrowseIndex.java:202) at org.dspace.browse.BrowseIndex.getBrowseIndices(BrowseIndex.java:682) at org.dspace.browse.IndexBrowse.init(IndexBrowse.java:123) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:626) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) and the line in [dspace-dir]/config/dspace.cfg is: webui.browse.index.9 = title:metadata:dc.title,dc:title.uniform,dc:relation.ispartofseries:title:full (as appears in the Manual[1]) In the source I don't find the line that split the string into an array(?) to merge the metadata field or some like this. So, Is it a bug, an issue, a documentation error or an implementation error? Thanks in advance [1] http://www.dspace.org/1_7_1Documentation/DSpace-Manual.pdf -- Dennis Tobar Calderón Ingeniero en Informática UTEM Licenciado en Ciencias de la Ingeniería UTEM -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech Jeffrey Trimble System LIbrarian William F. Maag Library Youngstown State University 330.941.2483 (Office) jatrim...@ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu For he is the Kwisatz Haderach... - Final da mensagem de jatrim...@ysu.edu - -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains
Re: [Dspace-tech] fulltext in browse and search
RE #2: You could use query-time boosting to boost the relevance of the 'fulltext' field... I don't have an example of the top of my head but I think this should be possible... maybe even combining your original query with a fulltext:{query}^10 (where '10' is the boost value... this is probably too high! but suffices for demo purposes.) Another example: * A normal search for Brian Cox: http://demo.dspace.org/xmlui/discover?scope=%2Fquery=Brian+Cox Note that the first result is a non-text bitstream, so not full text. The second result is a text bitstream which should be indexed as fulltext. * A boosted text search for Brian Cox: http://demo.dspace.org/xmlui/discover?scope=%2Fquery=Brian+Cox+OR+(fulltext:*+AND+Brian+Cox)^10 Here we see the fulltext item appearing first, because the OR I wrote (which just combines the original query with a fulltext:* query) is boosted by 10. ^VALUE is standard lucene queryparser syntax, so it's easy to use with Solr too. Cheers, Kim On 7 October 2011 01:05, Bram Luyten b...@mire.be wrote: Hi Helix, 1. To this goal, you can put [* TO *] in the fulltext filter query, with a query like fulltext:[* TO *]. see it in action: http://demo.dspace.org/xmlui/discover?scope=%2Fquery=fulltext%3A[*+TO+*]submit=Go 2. As far as I know, I don't think that's possible. best regards, Bram -- [image: logo] *Bram Luyten* *@mire* *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com/www.atmire.com On Tue, Oct 4, 2011 at 11:46 AM, helix84 heli...@centrum.sk wrote: Hello, I'm using DSpace trunk with Discovery and I will stay on 1.8 when it comes out. Most of our records are bibliographic only and we will add full texts in small amounts as we gain access to them. We would like to make records with fulltexts prominently visible and make it also possible to search/browse only in items with fulltexts. Therefore I'd like to ask: 1) Is it possible to have a Discovery facet for items with fulltext? 2) Is it possible to rank items with full text before items without full text in browse/search? If so, how do I do it? Let's define fulltext items as item has at least one bitstream attached in the ORIGINAL bundle. Thanks in advance. Regards, ~~helix84 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dc.rights
Hi Lewatle, What version of DSpace are you running? If you're using DSpace 1.7.0 or later, I could help you out with a curation task I wrote to perform a very similar task... it's much nicer and safer (and easier to reuse) than doing it manually in SQL, and can be run via the UI on a single item, a collection of items, a community of items, or even the entire repository! We've added access rights curation tasks to our regular thesis and research output workflow, and they're working well so far, because they can perform bitstream restriction and populate dc.rights at the same time. Since it sounds like you're going 100% Open Access, your tasks will be even easier because they only need to populate metadata fields. Another, more ad-hoc way of doing this is exporting the item metadata you want to update as CSV, filling out the dc.rights column with 2 Publicly Accessible, then importing the metadata back into DSpace. It's also easy to revert since your original export could be treated as a 'backup'. Sorry this isn't an exact answer to your question -- just providing some non-SQL alternatives to achieving what you want... and they will guarantee that your indexes are updated, proper errors are thrown if a problem is encountered, etc... Cheers! Kim On 5 October 2011 20:55, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi All ** ** I want to open closed collections or items and make them available to public viewing, I have saw on the following link that is possible: http://www.ndltd.org/standards/metadata/etd-ms-v1.1.html#dc.rights I thought is a column in metadata * tables and I have opened tables to see if they have this column so I can change values to 2 = publicly accessible, any advice is appreciated. ** ** Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 1.7 build failed with Solr Stats
Hi Iola, Could you please reply with the maven error you encountered when trying to build with stats? This will help us figure out what might be going wrong. Cheers! Kim On 24 March 2011 21:45, Iola Hagen [ioh] i...@aber.ac.uk wrote: While trying to build the 1.7 package I got a build failed error, this looked to be connected to the Solr Stats and once I commented out the following code from the pom.xml the build completed successfully. !-- Builds DSpace Solr Stats for DSpace -- !-- profile iddspace-stats/id activation file exists../dspace-stats/pom.xml/exists /file /activation modules module../dspace-stats/module /modules /profile -- !-- Builds DSpace discovery for DSpace -- I unpackaged the dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has anyone else had any problems with this. Cheers Iola -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 1.7 build failed with Solr Stats
Hi Iola, The problem seems to be related to character encoding: /storage/repos/dspace17/dspace-1.7.0-src-release/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java:[26,13] unmappable character for encoding ASCII There are country names like Åland Islands that will cause problems in a non-UTF-8 environment (eg. ASCII, ISO-8859-1, windows-1252). I haven't encountered this issue before.. I'm guessing that your environment (eg. Windows, Linux), maven, or javac itself is not configured to use UTF-8 encoding. Could you give a bit more detail about what OS you're running, etc? (it seems from your comments that you're not using an IDE to build, but just in case you are, that will also need default character encoding changed to UTF-8) A possible workaround is to replace some of the non-ASCII characters in LocationUtils.java with their ASCII equivalents, but the better solution will be to try and get your environment fully UTF-8 compatible. Hope this helps! Sorry my answer isn't very precise. Cheers, Kim On 24 March 2011 22:54, Iola Hagen [ioh] i...@aber.ac.uk wrote: Here is the output from the mvn –e clean build with the solr stats still in the pom.xml *From:* Kim Shepherd [mailto:kim.sheph...@gmail.com] *Sent:* 24 March 2011 8:57 AM *To:* Iola Hagen [ioh] *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] 1.7 build failed with Solr Stats Hi Iola, Could you please reply with the maven error you encountered when trying to build with stats? This will help us figure out what might be going wrong. Cheers! Kim On 24 March 2011 21:45, Iola Hagen [ioh] i...@aber.ac.uk wrote: While trying to build the 1.7 package I got a build failed error, this looked to be connected to the Solr Stats and once I commented out the following code from the pom.xml the build completed successfully. !-- Builds DSpace Solr Stats for DSpace -- !-- profile iddspace-stats/id activation file exists../dspace-stats/pom.xml/exists /file /activation modules module../dspace-stats/module /modules /profile -- !-- Builds DSpace discovery for DSpace -- I unpackaged the dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has anyone else had any problems with this. Cheers Iola -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] REST API for DSpace
Hi Chris, Do you have a public-facing repository that is making use of this? It would be great to see it in action. I feel I may be a bit behind the times as far as this project goes..! Also, kudos to Bojan for continuing to support his work. Sounds like I need to give it another go :-) Cheers, Kim On 11 March 2011 02:14, Chris Hawkins chawk...@bplinux.com wrote: I have used it and so far it works perfectly. Our test repository does not use authentication and the plugin seems to work fine. Chris - Original Message - Hello everyone, Just wondering if anyone else has played around with Bojan Suzic's great REST API extension? I am trying to allow for REST queries to be done on my DSpace. With our DSpace anonymous users can search. It seems to me that you must log in as an authenticated user to do anything with the plug-in, is this correct? Thanks for any help you can provide, Mark -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Customized xmlui
Hi Jeff, I note you use 'webapps' in your XMLUI modules path, but it should be 'webapp'. That's just one quick hint.. (I'm guessing the typo is in your email rather than in your dspace dirs, but I'm just making sure ;)) Assuming you're using 'webapp', this *should* work fine, unless you're using 1.7 and Mirage. If you're using the Mirage theme, please note that: - It uses dri2xhtml-alt instead of dri2xhtml (different set of base templates) - It actually copies all the templates in dri2xhtml-alt into Mirage/lib/xsl, rather than overriding specific templates So in 1.7 Mirage, you need to make your xsl changes in [dspace]/modules/xmlui/src/main/webapp/themes/Mirage/lib/xsl/... ( if you were trying to edit item display templates, in the past you would have changed or overridden templates in [dspace]/modules/xmlui/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl, but in Mirage, you'd change or override [dspace]/modules/xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl ) Hope at least some of this helps ;) Can you confirm that your other changes are making it through (added images, CSS, etc) ? Cheers, Kim On 1 March 2011 05:18, Jeffrey Trimble jatrim...@ysu.edu wrote: So, I followed our documentation (and I should know, since I've been the editor/gardener of it for some time) and can't get my customized dri2xhtml to work. The theme is fine, but I customized a little of the DRI to get more labels to appear on the item view page. I made edit to DIM-Handler.xsl and placed the edited version under: [dspace-source]/dspace/modules/xmlui/src/main/webapps/themes/dri2xhtml Compiled it fine, everything looks good. Brought up tomcat, and no changes. Not even an error page. Cleaned out a cache, etc. Any comments or suggestions? Thanks in advance, Jeffrey Trimble System LIbrarian William F. Maag Library Youngstown State University 330.941.2483 (Office) jatrim...@ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu For he is the Kwisatz Haderach... -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace solr facets config
Hi Mckeane, This is done in Discovery's i18n configuration, a messages.xml file just like the one you will have edited under the main XMLUI module. Have a look in [dspace-src]/dspace-discovery/dspace-discovery-xmlui-api/src/main/resources/aspects/Discovery/i18n/messages.xml and you'll see the default labels for the _filter types that are configured with Discovery out of the box. You can add your own labels here, eg. xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter or xmlui.ArtifactBrowser.AdvancedSearch.type_var_filter (if you choose to configure this as a facet) You can also merge this file with your existing (non-discovery) XMLUI i18n configuration so it's a bit easier to manage and overlay. I'm not entirely sure what the function of your var field is since you're wanting to use dc.format.extent as the facet in dspace-solr-search.cfg anyway... you don't really need the copyField in there if you're not using the destination field for anything. (I do note that you've given a type of int rather than the dspaceFilter default, so I assume you're planning something there...) Hope this helps! Cheers, Kim On 18 February 2011 10:51, Mckeane Thomas mckeane.tho...@gmail.com wrote: Hello, I was reading Mr. Shepherd's blog on Dspace-solr-tips+trickshttp://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.html%20. I have added the following fields to [dspace]/solr/search/conf schema.xml file field name = var type = int indexed =true stored =true multiValued =true omitNorms =true / field name = dc.format.extent type = int indexed = true stored = true multiValued = true/ copyField source=dc.format.extent dest=var/ Also I added dc.format.extent to the line solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.coverage.spatial,dc.format.extent in the [dspace]/conf dspace-solr-search.cfg file. On the browser page I got the following: xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter and the items in that category. How do I create the labels to represent xmlui.ArtifactBrowser.AdvancedSearch.type_dc.format.extent_filter as a Category such as what is done for Author, Subject and Date Issued . Any help would be appreciated Mckeane -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] IllegalAccessError has occurred when posting thru SWORD to DSpace 1.7.0 rc1 with discovery consumer setting
Hi all, I've been trying to figure this out (DS-785, DSRV-11) and I've sorted the slf4j problems out, but I still can't get SWORD working properly, and it's times like these where my ignorance of dspace-services and the new event system becomes apparent! If anyone has time to check these JIRA issues and put me right or make suggestions, I'd be very grateful... the slf4j stuff can be worked around, but the inability for SWORD deposits to load the discovery eventconsumer is a problem I haven't managed to solve yet... Cheers, Kim On 16 December 2010 10:06, Kim Shepherd kim.sheph...@gmail.com wrote: I can reproduce a very similiar error using trunk r5875 + Discovery + SWORD, though for me, things fail trying to load DSpaceKernelManager (a few steps before the slf4j error below): java.lang.NoClassDefFoundError: Could not initialize class org.dspace.kernel.DSpaceKernelManager at org.dspace.utils.DSpace.init(DSpace.java:57) at org.dspace.utils.DSpace.init(DSpace.java:46) at org.dspace.discovery.IndexEventConsumer.init(IndexEventConsumer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:87) at org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:62) at org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:227) at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964) at org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159) at org.dspace.event.EventManager.getDispatcher(EventManager.java:111) at org.dspace.core.Context.commit(Context.java:333) at org.dspace.sword.SWORDContext.commit(SWORDContext.java:178) at org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:123) at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Will take a closer look at actual events fired during SWORD ingest and see if I can track it down Cheers, Kim On 15 December 2010 15:08, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi list, Illegal AccessError has occurred when I posted an item through SWORD to DSpace 1.7.0 rc1 with discovery cosumer setting. This error has not occurred when I posted through jspui nor xmlui. Also this error has not occurred when I posted through SWORD to DSpace without discovery consumer setting. The stacktrace is as follows: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83) at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:73) at org.dspace.kernel.DSpaceKernelManager.clinit(DSpaceKernelManager.java:28) at org.dspace.utils.DSpace.init(DSpace.java:57) at org.dspace.utils.DSpace.init(DSpace.java:46
Re: [Dspace-tech] IllegalAccessError has occurred when posting thru SWORD to DSpace 1.7.0 rc1 with discovery consumer setting
I can reproduce a very similiar error using trunk r5875 + Discovery + SWORD, though for me, things fail trying to load DSpaceKernelManager (a few steps before the slf4j error below): java.lang.NoClassDefFoundError: Could not initialize class org.dspace.kernel.DSpaceKernelManager at org.dspace.utils.DSpace.init(DSpace.java:57) at org.dspace.utils.DSpace.init(DSpace.java:46) at org.dspace.discovery.IndexEventConsumer.init(IndexEventConsumer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:87) at org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:62) at org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:227) at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964) at org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159) at org.dspace.event.EventManager.getDispatcher(EventManager.java:111) at org.dspace.core.Context.commit(Context.java:333) at org.dspace.sword.SWORDContext.commit(SWORDContext.java:178) at org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:123) at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Will take a closer look at actual events fired during SWORD ingest and see if I can track it down Cheers, Kim On 15 December 2010 15:08, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi list, Illegal AccessError has occurred when I posted an item through SWORD to DSpace 1.7.0 rc1 with discovery cosumer setting. This error has not occurred when I posted through jspui nor xmlui. Also this error has not occurred when I posted through SWORD to DSpace without discovery consumer setting. The stacktrace is as follows: java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83) at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:73) at org.dspace.kernel.DSpaceKernelManager.clinit(DSpaceKernelManager.java:28) at org.dspace.utils.DSpace.init(DSpace.java:57) at org.dspace.utils.DSpace.init(DSpace.java:46) at org.dspace.discovery.IndexEventConsumer.init(IndexEventConsumer.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:87
Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Hi Steve, As well as Keith's suggestion of inspecting your locale, I'd try a redump of the database with -E UNICODE passed to 'pg_dump', otherwise the dumped tables will still be in their original encoding. http://www.postgresql.org/docs/8.4/static/app-pgdump.html Cheers, Kim On 28 October 2010 10:46, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We've completed another restore but are still having the same issue. This time we created a new database with the UNICODE encoding as per the installation manual: createdb -U dspace -E UNICODE dspace We then took an export of the current production database: pg_dump dspace dspace-prod.dump and imported it into the new database: psql -d dspace -f dspace-prod.dump We then upgraded the database to 1.6: psql -U dspace -f /dspace-1.6-2-src-release/dspace/etc/postgres/database_schema_15_16.sql dspace And ran the index-init script: [dspace]/bin/dspace index-init But still the same issue as before. dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) Is there anything wrong with the above process? The next step we are going to attempt is checking the actual SQL dump for the bad characters but it is massive (1.5 Gb) thanks, Steve On 26/10/2010, at 10:10 AM, Steve Swinsburg wrote: Hi Kim, We took a *copy* of the database and refreshed it back to dev, so it is identical to the production one, then upgraded it in dev. So I'll need to find out if the original database from production was created that way. Perhaps we should take a dump of the production database instead, and then import that into a fresh UTF8 created database? I think the issue is that the original database was never created as UTF8. Thanks, Steve On 26/10/2010, at 9:17 AM, Kim Shepherd wrote: Hi Steve, Just to check, has your new/dev database been created with UTF8 character encoding? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total
Re: [Dspace-tech] [Dspace-general] Installing DSpace on Ubuntu
(switching CC to dspace-tech) Hi Bidhan, It's probably best to use the latest stable version of DSpace, which is 1.6.2. It's available here: http://sourceforge.net/projects/dspace/ Could you expand on the installation problems you're having? Where are you getting stuck? The DSpace installation guide ( http://www.dspace.org/1_6_2Documentation/ch03.html#N107D4) should help you through the process, but if you can let us know which step is failing, somebody should be able to help you out Cheers! Kim On 24 October 2010 22:18, bid...@email.com wrote: Hi Everybody, I am trying to install dspace 1.5 on Ubuntu 9.10 desktop version, but failed every time. Is there any easy method of installation? Bidhan Chaudhuri CGCRI, Kolkata -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error creating indexes 'invalid multibyte character for locale'
Hi Steve, Just to check, has your new/dev database been created with UTF8 character encoding? (pass -E UNICODE or -E UTF8 to createdb) Cheers, Kim On 25 October 2010 14:57, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2. We built the new 1.6.2 code and took a snapshot of our old production database and migrated in back to our dev environment (along with the assets). We then ran the db upgrade script. Now, when running the index-init script we get this: ./dspace index-init -v Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: invalid multibyte character for locale at org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691) at org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) We are on Postgres: PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Any tips? thanks, Steve -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] FW: DSpace: Internal Server Error
Hi Kari, What version of DSpace are you running? Have you run the stats reporting tools? eg: [dspace]/bin/dspace stat-initial [dspace]/bin/dspace stat-general [dspace]/bin/dspace stat-monthly [dspace]/bin/dspace stat-report-initial [dspace]/bin/dspace stat-report-general [dspace]/bin/dspace stat-report-monthly (note: these statistics are different to the usage statistics can be viewed for items, collections and communities in DSpace 1.6.x -- these are the traditional administrative reports which are generated directly from your DSpace logs) Cheers, Kim On 13 October 2010 22:19, Khayrazad Abou Niab Jabbour k...@aub.edu.lbwrote: Dear Kim, Hi, I keep getting the following error email message when using DSpace, and I was wondering if anyone could give me an advice or provide me with some information or a anyway to fix the error Thank you Kari -Original Message- From: k...@aub.edu.lb [mailto:k...@aub.edu.lb] Sent: Wednesday, October 13, 2010 10:35 AM To: Khayrazad Abou Niab Jabbour Subject: DSpace: Internal Server Error An internal server error occurred on http://192.168.100.142:8080/jspui: Date: 10/13/10 10:34 AM Session ID: BC7201DDBC9AF4510B93DFD628F71377 User: kari jabbour (k...@aub.edu.lb) IP address: 127.0.0.1 -- URL Was: http://localhost:8080/jspui/statistics -- Method: GET -- Parameters were: Exception: java.lang.NullPointerException at org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:240) at org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:106) at org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:87) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:401) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] What's wrong with the java version
Hi Martin, It seems as though there is still an old (version 1.3) java.exe sitting in one of your paths (eg: C:\windows\system32), and this is the version of the JRE that's being called from 'dspace' rather than your 1.6 version. From a command prompt, if you run java -version, what version is reported? The dspace script/batch file will try to use whichever java.exe it can find first when searching %PATH% -- to ensure that the same version of Java is used for everything, I'd recommend you update your %PATH% so that only your 1.6 executables are found. Note: We should probably test for %JAVA_HOME% (as we do with the web applications) and use that version first, and just fall back on %PATH% afterwards. If you are having trouble changing your %PATH%, or you have other reasons for needing 1.3 version executables in there, reply to the list and I'll send an updated dspace.bat that first checks %JAVA_HOME% (Tomcat uses %JAVA_HOME%, which is why the web applications themselves are working OK) Cheers, Kim On 15 October 2010 03:54, mev evon020...@hotmail.com wrote: Hi, everyone: I've installed dspace 1.6.2, it's OK. Then I run dspace create-administrator, but I meet this problem: Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.6', but '1.3' is required. Error: could not find java.dll Error: could not find Java 2 Runtime Environment. I build and run with java 1.6. What's wrong? Thanks a lot. And thanks Claudia Jürgen. martin -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error shown at dspace/postgres login terminals while running ant fresh_install: BUILD FAILED
Hi Indu, You will need oubound Internet access to download the GeoLite data -- if the machine you're installing on doesn't have Internet access, you can manually download and copy the http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz file to your /dspace/config directory, and the geolite tasks should detect it there and skip the download attempt. Cheers, Kim 2010/10/8 इन्दु भूषण Indu Bhushan indubhus...@gmail.com Dear Sir, I deleted database and recreate database and then run ant fresh_install command. but error following error is showing. when i tried to again run ant fresh_install the previous error that i had sent previously is again appearing. ** *Error shown at dspace login terminals while running ant fresh_install* ** check_geolite: init_geolite: update_geolite: [echo] Downloading: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz [get] Getting: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz [get] To: /dspace/config/GeoLiteCity.dat.gz [get] Error getting http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz to /dspace/config/GeoLiteCity.dat.gz BUILD FAILED /diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml:736:* The following error occurred while executing this line: */diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml:799:* The following error occurred while executing this line: */diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml:785: *java.net.SocketException: Network is unreachable* at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.init(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726) at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:662) at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581) at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571) * --- * *Error shown at postgres login terminals* * LOG: unexpected EOF on client connection* ERROR: relation bi_1 does not exist at character 15 STATEMENT: SELECT * FROM bi_1 LIMIT 1 ERROR: relation bi_1_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_1_dis LIMIT 1 ERROR: relation bi_2 does not exist at character 15 STATEMENT: SELECT * FROM bi_2 LIMIT 1 ERROR: relation bi_2_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_2_dis LIMIT 1 ERROR: relation bi_3 does not exist at character 15 STATEMENT: SELECT * FROM bi_3 LIMIT 1 ERROR: relation bi_3_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_3_dis LIMIT 1 ERROR: relation bi_4 does not exist at character 15 STATEMENT: SELECT * FROM bi_4 LIMIT 1 ERROR: relation bi_4_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_4_dis LIMIT 1 ERROR: relation bi_5 does not exist at character 15 STATEMENT: SELECT * FROM bi_5 LIMIT 1 ERROR: relation bi_5_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_5_dis LIMIT 1 ERROR: relation bi_6 does not exist at character 15 STATEMENT: SELECT * FROM bi_6 LIMIT 1 ERROR: relation bi_6_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_6_dis LIMIT 1 ERROR: relation bi_7 does not exist at character 15 STATEMENT: SELECT * FROM bi_7 LIMIT 1 ERROR: relation bi_7_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_7_dis LIMIT 1 ERROR: relation bi_8 does not exist at character 15 STATEMENT: SELECT * FROM bi_8 LIMIT 1 ERROR: relation bi_8_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_8_dis LIMIT 1 ERROR: relation bi_9 does not exist at character 15 STATEMENT: SELECT * FROM bi_9 LIMIT 1 ERROR: relation bi_9_dis does not exist at character 15 STATEMENT: SELECT * FROM bi_9_dis LIMIT 1 ERROR: relation bi_10 does not exist
Re: [Dspace-tech] handle problem
Hi Gaetano, Could you check the value of dspace.baseUrl and dspace.url in [dspace]/config/dspace.cfg? Going by the information you've given, here are the recommended values for your DSpace instance: dspace.hostname = elea.unisa.it dspace.baseUrl = http://${dspace.hostname}:8080 dspace.url = ${dspace.baseUrl}/jspui If the variables used are making things unclear, this basically turns into: dspace.hostname = elea.unisa.it dspace.baseUrl = http://elea.unisa.it:8080 dspace.url = http://elea.unisa.it:8080/jspui Recent versions of DSpace have /xmlui as the default webapp in ${dspace.url}, and I think this is why you're seeing this behaviour. If you do change any of these values, you'll need to restart DSpace *and* your handle server for the changes to take effect. Hope this helps -- let me know how you get on. Cheers, Kim On 7 October 2010 18:55, Gaetano Rufino gruf...@unisa.it wrote: Hello All, I am working on Dspace 1.6.2 JSPUI. the handle is working , but if for example we use this URL: http://hdl.handle.net/10556/115, we have this result: http://elea.unisa.it:8080/xmlui/handle/10556/115, unfortunately we do not use XMLUI, but use jspui. So we should return such http://elea.unisa.it:8080/jspui/handle/10556/115. How can we do? Thanks, Gaetano __ C.S.I. Universita' degli Studi di Salerno Gaetano Rufino Ufficio Sistemi Tecnologici E-Mail: gruf...@unisa.it Tel: +39 089 966 350 Fax: +39 089 966 368/346 Tel. HelpDesk: +39 089 966 400 __ “*Sic parvis magna”* -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to publish the internal URL of DSpace Items
Hi Vinit, Which UI are you using? XMLUI and JSPUI each generate slightly different bitstream URLs, but both do end in file extensions (if the bitstream name contains one), XMLUI just appends a ?sequence parameter on the end. They'll each have slightly different ways of modifying the way bitstream URLs are displayed. One thing to note is that an item URL itself won't contain a file extension; the URLs of the bitstreams within it are what you're looking to change. Hope this helps! Cheers, Kim On 30 September 2010 21:23, Vinit vinitbh...@gmail.com wrote: Hi all, I think I did not make my question clear. I want to get the internal URL generated by DSpace for an item to publish it on item-display page with some extra attributes. The internal URLs usually end by file extension whereas the persistent URLs won't. Any suggestions would be appreciated. I am using DSpace 1.5. Thanks in advance. Regards Vinit Kumar Senior Research Fellow Documentation Research and Training Centre Bangalore MLISc (BHU) Varanasi, India Alt email: vi...@drtc.isibang.ac.in On 28 September 2010 22:09, Vinit vinitbh...@gmail.com wrote: Dear all, Can anybody suggest a way to get the right variable to publish the internal url given by DSpace for an item? Regards Vinit Kumar Senior Research Fellow Documentation Research and Training Centre Bangalore MLISc (BHU) Varanasi, India Alt email: vi...@drtc.isibang.ac.in -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Issue about Google crawler
Hi Panyarak, It might be an idea to add /displaystats to your JSPUI's robots.txt and to any Google Webmaster Tools robots.txt files or Page Removal Requests. For Google to de-index pages, it generally likes to see a 404 (not found) or a 410 (gone). Unfortunately, the servlet that handles statistics display for JSPUI throws a NullPointerException when a handle is passed to it that doesn't turn into a valid DSpace object. It *should* throw a friendly 404 to help crawlers like Google realise the page is gone. I've opened a JIRA issue for the NPE bug - http://jira.dspace.org/jira/browse/DS-689 - and attached a patch for 1.6.2 (and trunk, and probably other 1.6.x versions) that will make sure that when anyone (including Google) visits those pages, it sees a 404 instead of Internal Server Error. Hopefully this, along with /displaystats (and/or /displaystats* ?) in your robots.txts or removal requests will help convince Google to stop crawling. Cheers, Kim On 4 October 2010 13:52, Panyarak Ngamsritragul pa...@me.psu.ac.th wrote: Dear all, A couple of weeks ago I have posted questions about Google crawler and sitemaps. There was a response from Vinit, but I still could not reach the solution to what I am experiencing. I am running 1.6.2 and have registered the site (kb.psu.ac.th) to Google's webmaster tools. I understand that I have submitted the sitemaps. After sometimes, I have repeatedly receiving Internal server error as a result of Google crawler trying to access some non-existence records. Some of the records were repeatedly accessed by crawler for more than a month now. Can anyone help me to pin point the root cause of the problem? I have attaced here with one of the error messages. Thanks. Panyarak Ngamsritragul Prince of Songkla University. Thailand. -- Forwarded message -- Date: Sun, 3 Oct 2010 18:50:06 +0700 (ICT) From: psukb-nore...@psu.ac.th To: psukb-h...@me.psu.ac.th Subject: PSUKB: Internal Server Error An internal server error occurred on http://kb.psu.ac.th/psukb: Date: 10/3/10 6:50 PM Session ID: D5E58233D9F2093B248C4CC5C65D96D1 User: Anonymous IP address: 66.249.69.1 -- URL Was: http://kb.psu.ac.th:8080/psukb/displaystats?handle=2553/929 -- Method: GET -- Parameters were: -- handle: 2553/929 Exception: java.lang.NullPointerException at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(DisplayStatisticsServlet.java:182) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatisticsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list
Re: [Dspace-tech] Issue about Google crawler
I should point out that my robots.txt suggestions assume you don't want any stats pages crawled at all... if that's not true, it's probably best to apply the patch for DS-689 and wait for Google to de-index (and make the robots.txt entries more specific if there are only a few invalid handles being requested) Cheers, Kim On 6 October 2010 00:30, Kim Shepherd kim.sheph...@gmail.com wrote: Hi Panyarak, It might be an idea to add /displaystats to your JSPUI's robots.txt and to any Google Webmaster Tools robots.txt files or Page Removal Requests. For Google to de-index pages, it generally likes to see a 404 (not found) or a 410 (gone). Unfortunately, the servlet that handles statistics display for JSPUI throws a NullPointerException when a handle is passed to it that doesn't turn into a valid DSpace object. It *should* throw a friendly 404 to help crawlers like Google realise the page is gone. I've opened a JIRA issue for the NPE bug - http://jira.dspace.org/jira/browse/DS-689 - and attached a patch for 1.6.2 (and trunk, and probably other 1.6.x versions) that will make sure that when anyone (including Google) visits those pages, it sees a 404 instead of Internal Server Error. Hopefully this, along with /displaystats (and/or /displaystats* ?) in your robots.txts or removal requests will help convince Google to stop crawling. Cheers, Kim On 4 October 2010 13:52, Panyarak Ngamsritragul pa...@me.psu.ac.thwrote: Dear all, A couple of weeks ago I have posted questions about Google crawler and sitemaps. There was a response from Vinit, but I still could not reach the solution to what I am experiencing. I am running 1.6.2 and have registered the site (kb.psu.ac.th) to Google's webmaster tools. I understand that I have submitted the sitemaps. After sometimes, I have repeatedly receiving Internal server error as a result of Google crawler trying to access some non-existence records. Some of the records were repeatedly accessed by crawler for more than a month now. Can anyone help me to pin point the root cause of the problem? I have attaced here with one of the error messages. Thanks. Panyarak Ngamsritragul Prince of Songkla University. Thailand. -- Forwarded message -- Date: Sun, 3 Oct 2010 18:50:06 +0700 (ICT) From: psukb-nore...@psu.ac.th To: psukb-h...@me.psu.ac.th Subject: PSUKB: Internal Server Error An internal server error occurred on http://kb.psu.ac.th/psukb: Date: 10/3/10 6:50 PM Session ID: D5E58233D9F2093B248C4CC5C65D96D1 User: Anonymous IP address: 66.249.69.1 -- URL Was: http://kb.psu.ac.th:8080/psukb/displaystats?handle=2553/929 -- Method: GET -- Parameters were: -- handle: 2553/929 Exception: java.lang.NullPointerException at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(DisplayStatisticsServlet.java:182) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatisticsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean
Re: [Dspace-tech] Java file customisation for JSPUI
Hi Philippe, Yes, you can use overlays (eg. the files you place in [dspace-src]/dspace/modules/jspui) for java sources, but they need to be placed in a [dspace-src]/dspace/modules/jspui/src/main/java, as opposed to the directory rather than in the [dspace-src]/dspace/modules/jspui/src/main/webapp directory where your overlaid JSPs are currently. The 'java' directory might not exist as yet, so you'll need to create it if it isn't there. Also, just a reminder that while compiled classes from the modules/jspui directory will override classes from dspace-jspui-api, you cannot add new classes this way. Here's a reference to some ways of modifying the DSpace codebase or adding your own plugins: https://wiki.duraspace.org/display/DSPACE/BuildCookbook#BuildCookbook-Recipe4%3A%28Deprecated%29UseOverlaystoSegregateLocalModifications The page I've linked to above says that overlaying DSpace maven projects like this is a deprecated way of maintaining local customisations, but I'm not entirely sure why, or what the new recommendation is... if you were wanting to overlay dspace-api or make a lot of changes to the codebase, then creating and including your own module would be the usual recommendation, but for a few JSPUI changes (especially to presentation-related classes like ItemTag) I think an overlay will be fine. Hopefully somebody else will chip in if there's a new, better way of doing this. Cheers, Kim On 4 October 2010 14:40, Thuaud, Philippe philippe.thu...@agresearch.co.nzwrote: Dear community, I have a Dspace version 1.6.2 with JSP User Interface. I made some customisation on the basic jsp file like home.jsp, community-home.jsp where I copied first the original file to the folder C:\dspace-1.6.2-src-release\dspace\modules\jspui\src\main\webapp before modifying those files. But now I want to go a bit dipper than those files. I'd like to change the display for full item display. What I want to do is not showing the 3rd column which the language. I don't want this. So for instance here I want to change the file C:\dspace-1.6.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag\ItemTag.java and just take out the third column that is describe in this part of the code (about line 619-630): // Three column table - DC field, value, language out.println(centertable class=\itemDisplayTable\); out.println(trth id=\s1\ class=\standard\ + LocaleSupport.getLocalizedMessage(pageContext, org.dspace.app.webui.jsptag.ItemTag.dcfield) + /thth id=\s2\ class=\standard\ + LocaleSupport.getLocalizedMessage(pageContext, org.dspace.app.webui.jsptag.ItemTag.value) + /thth id=\s3\ class=\standard\ + LocaleSupport.getLocalizedMessage(pageContext, org.dspace.app.webui.jsptag.ItemTag.lang) + /th/tr); My question is, is it possible to do like the jsp files and copy the file into another folder before doing the changes or is it not like how it should be done for the java file... Hope you understand my question and come back to me. Cheers, Philippe Philippe Thuaud Intern IT Technical Development T +64 7 838 5223 E philippe.thu...@agresearch.co.nz === Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. === -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu
Re: [Dspace-tech] A simplified version of dspace-services and Tomcat unloading
Thanks for the detailed writeup and explanations, it's helping me understand a lot of these issues better... looks like I still have some bedtime reading (and DSpace profiling) ahead of me! ;-) Cheers, Kim On 5 October 2010 12:55, Graham Triggs grahamtri...@gmail.com wrote: 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 comprehensive analysis of the entire codebase, but focusing on the serious issue of stability and resource leakage. This immediately led to finding two issues with the dspace-services code and it's dependencies: 1) The resources in the FinalizableReferenceQueue were leaking (this was noted before in a Tomcat stack trace posted here) - this could have been avoided if a newer version of reflectutils had been used, along with the LifeCycleManager it contains 2) A ThreadLocal in the CachingServiceImpl was also leaking - the service did attempt to clean up in the shutdown, but it would only ever have been able to clear up the resources of the thread executing the shutdown, not all the other threads that would have processed requests. Investigating the second issue, it turned out that this was being used to keep track of Request scope caches - as well as potentially leaking resources (across requests), this highlighted a problem in the service contract, and a dangerous coupling between the implementation of the services. The Caching service was written to return a Request scoped cache without any valid Request to bind it to - this was explicitly used in the listeners / filters to acquire a cache and assign request objects into it before the request service was called to 'start' a request and bind to the scoped cache. There were also tests that expected this behaviour. Whilst the request service will clear a request scoped cache if it's been bound to it, you can't guarantee that the cache gets bound to a request. Worse though, the Request service was depending on the Caching service tracking request scoped caches against the current thread in order to be able to track the current request. So, the one responsibility that the request service should have, it was passing on and hoping that another service might do the job for it without it being explicitly clear in the contract. If that wasn't bad enough, getCache doesn't actually properly respect the CacheScope when trying to retrieve a particular cache (it could retrieve a non-Request scoped cache if one of the same name had already been created, regardless of the scope parameter). The Caching service also registered an MBean that was never removed. And, to wrap up my examination of the Caching service, it didn't close an InputStream that it opened. So, onwards - wanting to simplify this code a bit (as we don't need to support non-Spring IoC containers, at least not yet - and we do need to be able to understand and maintain this code) - I quickly noticed an issue in the SpringServiceManager where it returned multiple instances of the same service name, because it was under the mistaken belief that it needed to track some of the service names itself, when it was actually getting them returned from Spring. And the ServiceMixinManager was entirely redundant - as long as we can rely on Spring, we can rely on the container to do everything that the Mixin manager does, without us having to worry about the complexity of it (and it is both relatively complex, and a source of our problems earlier as it uses the FinalizableReferenceQueue). I've actually got a real bugbear about us using the term 'mixin'. A mixin means something specific - a class that provides an actual implementation, and is combined with other mixins to produce other classes [through multiple-inheritance]. When you look at what is implemented in dspace-services under the term mixin, well we don't actually have mixins... we have interfaces that are implemented by service classes. Each service class completely and wholly provide implementations of the methods defined in all the interfaces they implement. That's a concept that Java has had for a long time, and is (should be) well understood by all Java programmers. That doesn't make them mixins. We don't/shouldn't want 'mixins' (multiple inheritance - there is a reason Java doesn't support it). And we shouldn't be using a term incorrectly just because it's cool. While I'm on a terminology rant, I'm not particularly happy about the 'interceptors' (ie. RequestInterceptor). They are looking and feeling a lot more like listeners than interceptors - allowing other services to react to events taking place (start request / end request), rather than affecting it's behaviour. I've not renamed them, for the sake of keeping as much
Re: [Dspace-tech] XMLUI aspect/Discovery
Hi Mckeane, ArtifactBrowser is supposed to be commented out in dspace-discovery's xmlui.xconf, because Discovery replaces ArtifactBrowser. The reason you don't see the aspect in your usual DSpace source code is because it's in the XMLUI block in the Discovery source code, and is overlaid by Maven during compile. (or something like that..) Having tested out Discovery quite a lot from the wiki instructions, I'm 90% sure that your problem is still that broken web.xml, but perhaps there's a problem with your solr installation, too. Are solr statistics working properly? Cheers, Kim On 13 August 2010 02:53, Mckeane Thomas mckeane.tho...@gmail.com wrote: Hello, Good morning, I was looking at the xmlui.conf and I commented out the following line: !--aspect name=Discovery path=resource://aspects/ Discovery/ /-- And I can see the item that I submissions that I made recently. I looked in the aspects folder above for the DIscovery folder and I don't see it there, However, I saw ArtifactBrowser, Submission, E-person, Administrator and XSLTest. Wondering if this might be the cause of the problems I'm having or one of the causes. Regards, Mckeane Thomas. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Harvest a collection/community
Hi Baseer, When you say harvesting, are you looking to copy the contents of a community/collection in one DSpace instance to another DSpace instance? Export them to your workstation or another server? Collections and communities in DSpace are mapped to OAI sets by default -- if you visit http://yoursite/oai/request/verb=ListSets you should see them listed. Any complaint OAI-PMH (or OAI-ORE if you've enabled it) harvester should be able to work with those sets, (or the repository as a whole, if you like). Manual pages for OAI-PMH interface and OAI harvester: http://www.dspace.org/1_6_0Documentation/ch05.html#N14955 An OAI-PMH tutorial, in case you are not familiar with the specification: http://www.oaforum.org/tutorial/ Cheers, Kim On 11 August 2010 07:07, Khan, Baseer baseer.k...@wichita.edu wrote: Hello List, Is there a better way of harvesting the items in community or collection other than manually downloading them? How does the auto harvest function in 1.6 works? Can I configure it to harvest particular collection/community? Thank you, Baseer. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] xmlui not displaying any submissions or collections (discovery)
Hi Mckeane, Hope you don't mind me CC'ing my replies to dspace-tech -- DSpace Discovery is still a very new feature that only a few people have experimented with, so the more technical information we can get into mailing lists, the easier it will be for others to join in the testing/development. Can you take a look at the WEB-INF/web.xml file that is inside your solr webapp? I have a suspicion (if you've followed the wiki build instructions) that it's empty. If so, try this: (note: [discovery-source] is the directory with the dspace discovery module source) * Copy [discovery-source]/solr/target/discovery-solr-webapp-0.9.2-SNAPSHOT/WEB-INF/web.xml into the solr webapp that you've deployed * Edit the copied web.xml so that env-entry-value/put/your/solr/home/here/env-entry-value is replaced with the absolute path to your solr directory in your DSpace application directory (in your case, 'dspace-instances/discovery/solr') * Make sure file ownerships are OK after all this manual copying, and then restart Tomcat (or whatever servlet container you use) Hopefully, you should be able to run the dspace update-discovery-index command after doing this. I haven't quite had time to investigate the cause of the 'empty web.xml' issue when building discovery (at least, building to the instructions on the wiki) but hopefully we'll get this fixed soon so that the extra manual steps aren't needed. Cheers, Kim On 11 August 2010 09:24, Mckeane Thomas mckeane.tho...@gmail.com wrote: When I run the command dspace-instances/discovery/bin/dspace update-discovery-index to create/update the solr search index I get a few errors. I have copied the log information below. Also when I restart tomcat and and open the dspace page and performs the search I get the same results as before. Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit getKernel INFO: Created new kernel: DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit register INFO: Registered new Kernel MBEAN: org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel [DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyResource INFO: Loaded 5 config properties from resource: class path resource [config/dspace-defaults.properties] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Loaded 197 config properties from file: /dspace-instances/discovery/config/dspace.cfg Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Failed to load config properties from file (/dspace-instances/discovery/config/dspace.properties): Does not exist Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Failed to load config properties from file (/dspace-instances/discoverylocal.properties): Does not exist Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyResource INFO: Loaded 197 config properties from resource: class path resource [dspace.cfg] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService loadInitialConfig INFO: Started up configuration service and loaded 204 settings Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl init INFO: init() Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl init INFO: Caching service initialized: ** Memory report freeMemory: 2366712 totalMemory: 5177344 maxMemory: 266403840 ** Full report of all known caches (0): Aug 10, 2010 4:15:32 PM org.dspace.services.sessions.SessionRequestServiceImpl init INFO: init Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.spring.SpringServiceManager startup INFO: Spring Service Manager started up in 1432 ms with 9 services... Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.services.events.SystemEventService) serviceName (org.dspace.services.EventService) with 2 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.services.caching.CachingServiceImpl) serviceName (org.dspace.services.CachingService) with 5 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.springframework.context.event.SimpleApplicationEventMulticaster) serviceName (applicationEventMulticaster) with 1 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service
Re: [Dspace-tech] xmlui not displaying any submissions or collections (discovery)
This URL is probably fine (it says localhost because it's DSpace querying your solr webapp) -- if you check my previous reply, there's a suggestion there about manually editing and deploying a new web.xml to the solr webapp which will hopefully fix this problem (and will help me confirm that it wasn't just me running into this when I was building discovery...) Cheers, Kim On 11 August 2010 09:47, Mckeane Thomas mckeane.tho...@gmail.com wrote: http://localhost:8080/solr/search/select?q=search.resourcetype:2 On Tue, Aug 10, 2010 at 4:24 PM, Mckeane Thomas mckeane.tho...@gmail.comwrote: Hello Mr. Shepherd, I apologize about the title. When I run the command dspace-instances/discovery/bin/dspace update-discovery-index to create/update the solr search index I get a few errors. I have copied the log information below. Also when I restart tomcat and and open the dspace page and performs the search I get the same results as before. Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit getKernel INFO: Created new kernel: DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit register INFO: Registered new Kernel MBEAN: org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel [DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyResource INFO: Loaded 5 config properties from resource: class path resource [config/dspace-defaults.properties] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Loaded 197 config properties from file: /dspace-instances/discovery/config/dspace.cfg Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Failed to load config properties from file (/dspace-instances/discovery/config/dspace.properties): Does not exist Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile INFO: Failed to load config properties from file (/dspace-instances/discoverylocal.properties): Does not exist Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyResource INFO: Loaded 197 config properties from resource: class path resource [dspace.cfg] Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.config.DSpaceConfigurationService loadInitialConfig INFO: Started up configuration service and loaded 204 settings Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl init INFO: init() Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl init INFO: Caching service initialized: ** Memory report freeMemory: 2366712 totalMemory: 5177344 maxMemory: 266403840 ** Full report of all known caches (0): Aug 10, 2010 4:15:32 PM org.dspace.services.sessions.SessionRequestServiceImpl init INFO: init Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.spring.SpringServiceManager startup INFO: Spring Service Manager started up in 1432 ms with 9 services... Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.services.events.SystemEventService) serviceName (org.dspace.services.EventService) with 2 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.services.caching.CachingServiceImpl) serviceName (org.dspace.services.CachingService) with 5 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.springframework.context.event.SimpleApplicationEventMulticaster) serviceName (applicationEventMulticaster) with 1 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.servicemanager.config.DSpaceConfigurationService) serviceName (org.dspace.services.ConfigurationService) with 1 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.springframework.context.support.DelegatingMessageSource) serviceName (messageSource) with 2 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.dspace.servicemanager.DSpaceServiceManager) serviceName (org.dspace.servicemanager.ServiceManagerSystem) with 2 mixins Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager registerService INFO: Registered service (org.springframework.cache.ehcache.EhCacheManagerFactoryBean) serviceName (org.dspace.caching.ehcache.CacheManager) with 3 mixins Aug 10, 2010 4:15:32
Re: [Dspace-tech] problems upgrading 1.5.2 to 1.6.2
Hi Wally, It looks as though you still have some 1.5.2 JSPs sitting around, which is confusing things. There was a very similar thread some weeks back (see: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg10128.html) which should hopefully give you some pointers. I'll also note that: 1. Even though your URL includes a webapp name of 'xmlui', it seems to be a JSPUI error that is appearing... 2. Since the server you're talking about seems to be live and public, I did a few quick tests myself and things seem to be working ok, using 'xmlui' and the default/ROOT webapp... I saw no errors or exceptions... but they both seem to be JSPUI webapps and I wonder whether it might be a bit confusing later on down the track... Cheers, Kim On 6 August 2010 08:04, Wally Grotophorst wal...@gmu.edu wrote: Having a problem today getting a stable 1.6.2 upgrade in place. Everything works as it should save author browsing. I consistently see this error: -- URL Was: http://digilib.gmu.edu:8080/xmlui/browse?type=author -- Method: GET -- Parameters were: -- type: author Exception: javax.servlet.ServletException: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 334 in the jsp file: /browse/single.jsp Type mismatch: cannot convert from String[][] to String[] 331: % 332: // Row: toggles between Odd and Even 333: String row = odd; 334: String[] results = bi.getStringResults(); 335: 336: for (int i = 0; i results.length; i++) 337: { Does this ring a bell for anyone? DSpace 1.6.2 Mac OSX Server: 10.6.4 java -version java version 1.6.0_20 Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode -- Wally Wally Grotophorst Associate University Librarian Digital Programs and Systems University Libraries George Mason University Fairfax, Virginia 22030 (703) 993-9005 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Bulk editing of PDF bitstreams?
Hi Andrew, I've had a few informal discussions with people around this as well, and one approach we hit on was to create a new media-filter plugin to create access versions of PDFs, with dynamically-generated coverpages attached. The media filter plugins in DSpace are responsible for things like extraction of full text from PDFs (creating the .pdf.txt bitstreams), creating thumbnail images (eg. the .jpg.jpg bitstreams), and so on. Advantages to this approach: - The plugin would run regularly with the other media-filter plugins, so there is no manual effort on the part of repository administrators - The plugin would create a new version of the pdf for public access, so you can still keep the original archived as a preservation copy rather than manipulating the only copy in DSpace (and upsetting the checksum checker, as helix mentioned in their reply) - The items being filtered are already archived, so information like handle URI can be used in the coverpage. I believe something like this might already be used by one or two DSpace repositories but I'm not 100% sure so I don't want to name any names yet ;-). It's definitely something that's on my radar. If I come up with a demo plugin I'll be sure to share it with the community. Cheers! Kim On 21 July 2010 09:48, White, Andrew andrew.wh...@lincoln.ac.nz wrote: Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a particlar collection, perhaps using export/import or perhaps SWORD? We want to add a coversheet to all existing theses in our DSpace archive, without having to do it one-by-one. Thank *Andrew White* *Information Technology Librarian* *George Forbes Memorial Library* *PO Box 64* *Lincoln University* *Lincoln 7647* *Christchurch, New Zealand* *p* +64 3 321 8542 | *f* +64 3 325 2944 *e* andrew.wh...@lincoln.ac.nz | *w* library.lincoln.ac.nz *Lincoln University, Te Whare Wanaka o Aoraki* *New Zealand's Specialist Land Based University* The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Bulk editing of PDF bitstreams?
Also, to give you an actual solution that'll work right now, here's what I've done in the past (when forgetting to concatenate PDFs properly and apply coverpages!): 1. Use the DSpace CLI export tool to export all items in the collection you're working on: [dspace]/bin/export -d /path/to/export/dir -i 12345/1 -n 0 -t COLLECTION, where 12345/1 is the handle of your collection and /path/to/export/dir is the directory you want your exported items to be stored. (in DSpace 1.6 and later, you can use [dspace]/bin/dspace export instead of [dspace]/bin/export) 2. Back the export directory up, just in case :) 3. Using a tool like PDFTK (http://www.accesspdf.com/pdftk/), write a Bash or Perl script (or Windows batch file) to loop through directories and concatenate the coverpage and original PDF into a new PDF, and delete the old one. The exact script you want will vary, but I can give some Linux examples if you're interested. Note that the concatenation will fail on PDFs that are secured. 4. Generate a map file associating the sequence numbers of your exported items (the numbered directories in your export directory) with their handles. This would be a lot easier if we could tell the dspace export CLI app to generate a mapfile for us, but unfortunately that hasn't quite made it into DSpace yet. I can offer some script examples here, too. 5. Use the generated mapfile to do a replace ([dspace]/bin/import -h to see usage) of all the exported items back into the collection you're working in. This approach doesn't actually generate the coverpages, it assumes you have a single PDF you just want to attach to the front of your theses. It also won't preserve the originals, unless you change Step 3 a little bit (keeping old file, add a new entry to the item's contents file, change the bundle of the original one to something other than ORIGINAL or CONTENT). If you want to give this a try, I'd suggest testing everything out on a small collection on a test server first, and performing backups at each step of the way, because there are a lot of failure opportunities when working on a whole set of items. Cheers, Kim. On 21 July 2010 13:02, Kim Shepherd kim.sheph...@gmail.com wrote: Hi Andrew, I've had a few informal discussions with people around this as well, and one approach we hit on was to create a new media-filter plugin to create access versions of PDFs, with dynamically-generated coverpages attached. The media filter plugins in DSpace are responsible for things like extraction of full text from PDFs (creating the .pdf.txt bitstreams), creating thumbnail images (eg. the .jpg.jpg bitstreams), and so on. Advantages to this approach: - The plugin would run regularly with the other media-filter plugins, so there is no manual effort on the part of repository administrators - The plugin would create a new version of the pdf for public access, so you can still keep the original archived as a preservation copy rather than manipulating the only copy in DSpace (and upsetting the checksum checker, as helix mentioned in their reply) - The items being filtered are already archived, so information like handle URI can be used in the coverpage. I believe something like this might already be used by one or two DSpace repositories but I'm not 100% sure so I don't want to name any names yet ;-). It's definitely something that's on my radar. If I come up with a demo plugin I'll be sure to share it with the community. Cheers! Kim On 21 July 2010 09:48, White, Andrew andrew.wh...@lincoln.ac.nz wrote: Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a particlar collection, perhaps using export/import or perhaps SWORD? We want to add a coversheet to all existing theses in our DSpace archive, without having to do it one-by-one. Thank *Andrew White* *Information Technology Librarian* *George Forbes Memorial Library* *PO Box 64* *Lincoln University* *Lincoln 7647* *Christchurch, New Zealand* *p* +64 3 321 8542 | *f* +64 3 325 2944 *e* andrew.wh...@lincoln.ac.nz | *w* library.lincoln.ac.nz *Lincoln University, Te Whare Wanaka o Aoraki* *New Zealand's Specialist Land Based University* The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists
Re: [Dspace-tech] item display page in XMLUI
Hi Hardik, It depends exactly what you want to do.. most layout/presentation changes in XMLUI can be made purely with CSS and templates. Templates are defined in XSL stylesheets in [dspace]/webapps/xmlui/themes/dri2xtml. If you want to alter the appearance of item metadata display, the file you want to have a look at is DIM-Handler.xsl. You can override templates from here (like itemSummaryView-DIM and itemDetailView-DIM) in your own theme's XSL. Here's a small example on the DSpace wiki explaining how to render line breaks in item abstracts: https://wiki.duraspace.org/display/DSPACE/Rendering+line+breaks+in+item+metadata+(Manakin) If you need to do a more complicated task like including new forms on the item pages or any kind of business logic, you'll need to take a look at the ArtifactBrowser aspect (org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer specifically). You might also find the Manakin Developer's Guide useful: http://drcdev.ohiolink.edu/handle/123456789/28 Hope this helps! Cheers, Kim ps. a lot of pages in the manakinhowto category in the DSpace wiki have lost their proper formatting when the wiki was migrated to Confluence.. I'll try and fix up the and tags in the next few days On 8 July 2010 18:07, Hardik Mishra har...@webinito.com wrote: Hello Everyone, I have some working experience on JSPUI. Now, I want to test some code on XMLUI. Can anyone pass some information that where should i change , if i would like to add some functionality in item display page(XMLUI). If we want to change anything in item display page, we can use jsptag in JSPUI to add functionality but for XMLUI i need some help. Thanks Regards Hardik Mishra Software Engineer Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace with mods
Hi Jonathan, I'm also interested in MODS: specifically, storing MODS or MODS-in-METS as bitstreams in the METADATA bundle of an Item. So far I haven't had a lot of success... I'll let you know if I figure out any tricks. It might help to read up about DSpaceMETSSIP packages (see https://wiki.duraspace.org/display/DSPACE/DSpaceMETSSIPProfile), but since ingested items are usually crosswalked to DC at the time of ingest, metadata typically isn't stored as MODS, just crosswalked for ingest, and also crosswalked for dissemination (eg. crosswalking DC to MODS for dissemination in OAI-PMH) As far as XMLUI's handling of METS/MODS bitstreams in the METADATA bundle of an item: it isn't really documented, except to claim it's possible (see http://www.dspace.org/1_6_2Documentation/ch07.html#N154ED) I've managed to stick some METS (named METS.xml) into the METADATA bundle of an item and get Manakin to access mets:fileSec properly for serving up external CONTENT bitstreams, but so far, I've had no luck getting any MODS inside mets:dmdSec accessible by MODS-Handler.xsl. If anyone is currently using METS and/or MODS-in-METS with XMLUI in this way, I'd love to see some examples! This is what I'm trying currently: mets:dmdSec ID=dmd_1 mets:mdWrap MDTYPE=MODS mets:xmlData mods:mods mods:titleInfo mods:titleHere is my MODS title/mods:title /mods:titleInfo /mods:mods /mets:xmlData /mets:mdWrap /mets:dmdSec ... followed by fileSec and structMap sections, which appear to work OK (though they are handled by General-Handler.xsl and not MODS-Handler templates) Cheers, Kim On 14 July 2010 03:06, jd...@georgetown.edu wrote: I have a few questions about working with mods metadata with dspace. We would like to be able to ingest Mods metadata then be able to index and display the Mods metadata. I have attempted to create a metadata registry for Mods but have been unsuccessful in being able to ingest the records using the crosswalk plugins. Any suggestions on how to get Mods records ingested into Dspace and maintaining the Mods metadata would be greatly appreciated. I have also unsuccessfully tried to use manakin to display the Mods metadata as a bitstream. Also is it possible for manakin to index bitstream metadata or is just just available for display? Thank you, Jonathan -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace with mods
Further to this, I've managed to access some MODS embedded in dmdSec of a METS.xml (METADATA bundle bitstream, just uploaded manually.. no ingest/crosswalk), but only by altering DIM-Handler.xsl so it knows about the mods namespace, and doing the query there. eg. trtdspan class=boldMODS Title/span/td tdxsl:value-of select=/mets:METS/mets:dmdSec/mets:mdwr...@mdtype='MODS']/mets:xmlData/mods:mods/mods:titleInfo/mods:title/ /td /tr I can't seem to get this working from a template in MODS-Handler.xsl at all. I'll investigate org.dspace.app.xmlui.objectmanager.ItemAdaptor a bit more, as well as MODS-Handler.xsl Cheers, Kim On 14 July 2010 09:53, Kim Shepherd kim.sheph...@gmail.com wrote: Hi Jonathan, I'm also interested in MODS: specifically, storing MODS or MODS-in-METS as bitstreams in the METADATA bundle of an Item. So far I haven't had a lot of success... I'll let you know if I figure out any tricks. It might help to read up about DSpaceMETSSIP packages (see https://wiki.duraspace.org/display/DSPACE/DSpaceMETSSIPProfile), but since ingested items are usually crosswalked to DC at the time of ingest, metadata typically isn't stored as MODS, just crosswalked for ingest, and also crosswalked for dissemination (eg. crosswalking DC to MODS for dissemination in OAI-PMH) As far as XMLUI's handling of METS/MODS bitstreams in the METADATA bundle of an item: it isn't really documented, except to claim it's possible (see http://www.dspace.org/1_6_2Documentation/ch07.html#N154ED) I've managed to stick some METS (named METS.xml) into the METADATA bundle of an item and get Manakin to access mets:fileSec properly for serving up external CONTENT bitstreams, but so far, I've had no luck getting any MODS inside mets:dmdSec accessible by MODS-Handler.xsl. If anyone is currently using METS and/or MODS-in-METS with XMLUI in this way, I'd love to see some examples! This is what I'm trying currently: mets:dmdSec ID=dmd_1 mets:mdWrap MDTYPE=MODS mets:xmlData mods:mods mods:titleInfo mods:titleHere is my MODS title/mods:title /mods:titleInfo /mods:mods /mets:xmlData /mets:mdWrap /mets:dmdSec ... followed by fileSec and structMap sections, which appear to work OK (though they are handled by General-Handler.xsl and not MODS-Handler templates) Cheers, Kim On 14 July 2010 03:06, jd...@georgetown.edu wrote: I have a few questions about working with mods metadata with dspace. We would like to be able to ingest Mods metadata then be able to index and display the Mods metadata. I have attempted to create a metadata registry for Mods but have been unsuccessful in being able to ingest the records using the crosswalk plugins. Any suggestions on how to get Mods records ingested into Dspace and maintaining the Mods metadata would be greatly appreciated. I have also unsuccessfully tried to use manakin to display the Mods metadata as a bitstream. Also is it possible for manakin to index bitstream metadata or is just just available for display? Thank you, Jonathan -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace with mods
Oh, mea culpa... for some reason it didn't occur to me to check whether MODS-Handler was even being included in dri2xhtml.xsl -- it (and QDC-Handler) were commented out by default. (My xslt still isn't working, but I'll figure that out later!) -k. On 14 July 2010 11:54, Kim Shepherd kim.sheph...@gmail.com wrote: Further to this, I've managed to access some MODS embedded in dmdSec of a METS.xml (METADATA bundle bitstream, just uploaded manually.. no ingest/crosswalk), but only by altering DIM-Handler.xsl so it knows about the mods namespace, and doing the query there. eg. trtdspan class=boldMODS Title/span/td tdxsl:value-of select=/mets:METS/mets:dmdSec/mets:mdwr...@mdtype='MODS']/mets:xmlData/mods:mods/mods:titleInfo/mods:title/ /td /tr I can't seem to get this working from a template in MODS-Handler.xsl at all. I'll investigate org.dspace.app.xmlui.objectmanager.ItemAdaptor a bit more, as well as MODS-Handler.xsl Cheers, Kim On 14 July 2010 09:53, Kim Shepherd kim.sheph...@gmail.com wrote: Hi Jonathan, I'm also interested in MODS: specifically, storing MODS or MODS-in-METS as bitstreams in the METADATA bundle of an Item. So far I haven't had a lot of success... I'll let you know if I figure out any tricks. It might help to read up about DSpaceMETSSIP packages (see https://wiki.duraspace.org/display/DSPACE/DSpaceMETSSIPProfile), but since ingested items are usually crosswalked to DC at the time of ingest, metadata typically isn't stored as MODS, just crosswalked for ingest, and also crosswalked for dissemination (eg. crosswalking DC to MODS for dissemination in OAI-PMH) As far as XMLUI's handling of METS/MODS bitstreams in the METADATA bundle of an item: it isn't really documented, except to claim it's possible (see http://www.dspace.org/1_6_2Documentation/ch07.html#N154ED) I've managed to stick some METS (named METS.xml) into the METADATA bundle of an item and get Manakin to access mets:fileSec properly for serving up external CONTENT bitstreams, but so far, I've had no luck getting any MODS inside mets:dmdSec accessible by MODS-Handler.xsl. If anyone is currently using METS and/or MODS-in-METS with XMLUI in this way, I'd love to see some examples! This is what I'm trying currently: mets:dmdSec ID=dmd_1 mets:mdWrap MDTYPE=MODS mets:xmlData mods:mods mods:titleInfo mods:titleHere is my MODS title/mods:title /mods:titleInfo /mods:mods /mets:xmlData /mets:mdWrap /mets:dmdSec ... followed by fileSec and structMap sections, which appear to work OK (though they are handled by General-Handler.xsl and not MODS-Handler templates) Cheers, Kim On 14 July 2010 03:06, jd...@georgetown.edu wrote: I have a few questions about working with mods metadata with dspace. We would like to be able to ingest Mods metadata then be able to index and display the Mods metadata. I have attempted to create a metadata registry for Mods but have been unsuccessful in being able to ingest the records using the crosswalk plugins. Any suggestions on how to get Mods records ingested into Dspace and maintaining the Mods metadata would be greatly appreciated. I have also unsuccessfully tried to use manakin to display the Mods metadata as a bitstream. Also is it possible for manakin to index bitstream metadata or is just just available for display? Thank you, Jonathan -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Meatadata dates stored as UTC
Robin wrote: I was looking at a series of photos of Mt St Helens prior to its eruption. It struck me that the date and time recorded were part of a context. It was crucial to know that it was 2.00pm on 29th June 1999 at Mt St Helens in the US. If the date and time are converted to another local time they lose their meaning, unless you are bright enough and have enough information to convert the time back to what it would have been. Oh... good point. In this particular case, it would have been better to store the time with a proper timezone designator so that there was enough information to restore the date to the creator's local time, but we're still lacking the information that says this date ought to be viewed in the creator's local time, or the local time of the region in which the event occurred. (also, in the case of photos, I know that JPEG exif metadata doesn't store timezone designators without some extra work, so often you'll get dates that are still in original local time, but have no timezone offsets) I see Mark put it better than me anyway: On 1 July 2010 02:34, Mark H. Wood mw...@iupui.edu wrote: The problem is that sometimes the most useful time zone is that of the context of the object, and sometimes it is that of the user. The software *cannot* know which is correct; only the user knows. Thus, no matter what zone we use, sometimes conversion will be wanted. Depending on how rich/accurate the metadata you get from depositors is, and how fancy you want to make the interface, there may still be ways to allow this user-level context selection. Any View this date in X timezone features in UIs would still require something like an encoding scheme for metadata values so that dates could be properly detected. -k. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace 1.6 upgradation windows error - Jspui /xmlui
Hi Aaron, It seems as though your JSPUI webapp is still trying to use the 1.5.2 version of dspace-api -- have a look in the WEB-INF\lib folder of your deployed webapp, and if you see files like dspace-api-1.5.2.jar and dspace-jspui-api-1.5.2.jar, it means you're trying to run 1.6 JSPs on 1.5.x code. If this is the case, it might be worth rebuilding and redeploying (copying/deploying the whole JSPUI directory, not just changed JSPs) Hope this helps! Cheers, Kim On 25 June 2010 22:36, Hossain, Aaron a.hoss...@abertay.ac.uk wrote: Hi Pons Did you get a fix for this ? My upgrade just failed with same error L Aaron Hossain Senior Information Specialist Central Server Group Information Services University of Abertay Dundee Tel: 01382 308802 Mob: 07791670579 a.hoss...@abertay.ac.uk Home of Dare to be Digital - the UK's premier computer games design competition for university students The University of Abertay Dundee is a charity registered in Scotland, No: SC016040 *From:* ponerulappa...@cognizant.com [mailto:ponerulappa...@cognizant.com] *Sent:* 12 March 2010 11:39 *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] dspace 1.6 upgradation windows error - Jspui /xmlui Dear All, I’ve upgraded dspace1.6 from 1.5.2, build got successful , didn’t get any error while upgrading the same and could all the steps mentioned in the documentation as well. but, after all when I browse http://localhost:8080/jspui it shows the attached error, assumed that may due to Java set up couldn’t fix this out .can anyone address the issue would be appreciated. I wish to have what need to be done exactly to overcome this error Thank you, * * Regards Pons Library and Information Services | |Read, Learn and Lead... This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.6.2 Release to fix key issues in 1.6.1
Hi Dale, DSpace 1.6.2 is scheduled for public release on Wednesday, June 16 (GMT). There will be another announcement on that day to confirm it is released, mirrored on all maven repositories, and available on Sourceforge. Cheers! Kim. -Original Message- From: Poulter, Dale [mailto:dale.poul...@vanderbilt.edu] Sent: Friday, 11 June 2010 11:25 p.m. To: Tim Donohue; dspace-general; dspace-tech; dspace-devel Subject: Re: [Dspace-tech] DSpace 1.6.2 Release to fix key issues in 1.6.1 I am not seeing the 1.6.2 source package on sourceforge. Do you know when it is expected to be available? -Original Message- From: Tim Donohue [mailto:tdono...@duraspace.org] Sent: Thursday, June 10, 2010 5:28 PM To: dspace-general; dspace-tech; dspace-devel Subject: [Dspace-tech] DSpace 1.6.2 Release to fix key issues in 1.6.1 The DSpace Developers would like to announce the release schedule for DSpace 1.6.2, which resolves an few key issues in 1.6.1. DSpace 1.6.2 is scheduled for public release on Wednesday, June 16, 2010. DSpace 1.6.2 is a bug-fix release which will resolve two key issues found within 1.6.1. This release will not introduce any new features. Shortly after the 1.6.1 release, it came to our attention that we accidentally broke the Unix-based 'start-handle-server' script (which provides an easy way to start up the DSpace Handle Server on Unix/Linux servers). Although this issue does not cause any instability with DSpace software itself, the developers feel that it is important enough that it should be resolved as soon as possible. The DSpace 1.6.2 release resolves this 'start-handle-server' script issue, and also makes a few small improvements to the official DSpace Documentation. In addition, 1.6.2 resolves a minor URL escaping issue located in the 1.6.x JSPUI. Because of the overlooked 'start-handle-server' bug, the DSpace Developers have taken steps to improve our Handle Server testing processes for future releases. CNRI (Corporation for National Research Initiatives) has kindly donated a Handle System Prefix (http://handle.net) to the DSpace project to help us improve our future testing processes. We would like to thank CNRI for their kind donation. We also apologize for any issues this bug may have caused with your local 1.6.1 upgrades. Sincerely, The DSpace Developers --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech --- --- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to show the user, that there are embargo on an item.
Hi Tonny, I've extended the UI on some of my local sites to show embargo status (to admins) prominently at the top of item record pages.. you could probably use org.dspace.embargo.EmbargoManager.getEmbargoDate(context, item) and check for a non-null result, but ultimately the best way is probably to extend EmbargoManager with some good checker functions for use by UIs (rather than CLI). The thing to remember is that EmbargoManager only knows an item is embargoed by checking for valid embargo lift date metadata, making sure the value is not in the past, and checking item/bitstream authorization policies. Checking the lift date is the key to identifying items under embargo. (but could easily be susceptible to false positives if you have a lot of people editing item metadata frequently) Cheers, Kim -Original Message- From: Tonny Hjelmberg Laursen [mailto:thl@cbs.dk] Sent: Thursday, 27 May 2010 6:44 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] How to show the user,that there are embargo on an item. The new embargo feature in version 1.6 is very needed, since 50% of the items we have in one of our arhcives are confidential. But I think we need to add a way, so the user can see theres embargo on an item. The user can only see it now, if they look at the date on the embargo field. I would like to hear how others have handled this? Have you changed the code, so it doesn't show the file, when theres an embargodate? have you created a red lamp or . -- Venlig hilsen | Kind Regards Tonny Hjelmberg Laursen Systemadministrator CBS Library IT Copenhagen Business School Solbjerg Plads 3 (D2.30), DK-2000 Frederiksberg Tel.: (+45) 3815 3697 | Mob.: (+45) 2427 3242 |thl@cbs.dk --- --- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] using oai harvesting in 16
Hi Jose, If you are using JSPUI, you will need to use the command-line 'harvest' application to start harvests, whether you want to start a looping harvest or a single run. You can run this with [dspace]/bin/dspace harvest. Example: # /usr/local/dspace/bin/dspace harvest -h usage: Harvest -a,--addressaddress of the OAI-PMH server -P,--purge purge all harvestable collections -R,--reset reset harvest status on all collections -S,--start start the harvest loop -c,--collection harvesting collection (handle or id) -e,--epersoneperson -g,--ping test the OAI server and set -h,--help help -i,--oai_set_id id of the PMH set representing the harvested collection -m,--metadata_formatthe name of the desired metadata format for harvesting, resolved to namespace and crosswalk in dspace.cfg -o,--once run the harvest procedure with specified parameters -p,--purge delete all items in the collection -r,--runrun the standrad harvest procedure -s,--setup Set the collection up for harvesting -t,--type type of harvesting (0 for none) PING OAI server: Harvest -g -s oai_source -i oai_set_id RUNONCE harvest with arbitrary options: Harvest -o -e eperson -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format SETUP a collection for harvesting: Harvest -s -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format RUN harvest once: Harvest -r -e eperson -c collection START harvest scheduler: Harvest -S RESET all harvest status: Harvest -R PURGE a collection of items and settings: Harvest -p -e eperson -c collection PURGE all harvestable collections: Harvest -P -e eperson Cheers, Kim -Original Message- From: Blanco, Jose [mailto:blan...@umich.edu] Sent: Wednesday, 26 May 2010 5:34 a.m. To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] using oai harvesting in 16 Does anyone have any idea about this?: Thank you! Jose -Original Message- From: Blanco, Jose [mailto:blan...@umich.edu] Sent: Friday, May 21, 2010 3:18 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] using oai harvesting in 16 I want to try out setting up a collection so that it can harvest its contents using oai in the jspui webapp. When I go to the edit- collection page I see the options to do this, and I filled it out with the provider and set I'm interested in and format and have requested just to get the dc values, but how do I get Dspace to actually do the harvest. I see that there is documentation for doing this for the xmlui webapp, but none for the jspui webapp. Is there a way to request dspace ( either via the UI or by command line ) to start the harvest in jspui? I'm thinking that maybe a locally changed jsp file is inhibiting me from seeing this, but I have tried to use some of the official jsp pages and I can't see it. Many thanks! Jose --- --- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech --- --- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] ANNOUNCEMENT: DSpace 1.6.1 is available now!
All, Today we'd like to announce the official release of DSpace 1.6.1! DSpace 1.6.1 can be downloaded immediately at either of the following locations: * SourceForge: https://sourceforge.net/projects/dspace/files/ * SVN: http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.6.1/ DSpace 1.6.1 is primarily a bug-fix release, which means it does not introduce any new features but improves existing features and fixes bugs discovered in earlier versions of DSpace. This is also the first [minor] version of DSpace to use a time-driven approach to release, rather than a feature-driven approach: we set a deadline and worked towards releasing on that date, instead of releasing when a certain number of issues were resolved. DSpace 1.7 will be the first major time-driven release. * Fixed issues * 42 issues were fixed in DSpace 1.6.1. The full list can be reviewed here: http://jira.dspace.org/jira/secure/IssueNavigator.jspa?reset=truepid=10020fixfor=10030 * Acknowledgements * The DSpace application would not exist without the hard work and support of the community. We'd like to extend gratitude to all the developers who worked hard to fix issues discovered in 1.6.0 and earlier versions of DSpace. Big thanks also go out to those who reported bugs, helped test patches and gave their feedback to developers. Last but not least, thanks to Jeffrey Trimble for his continued work as the DSpace documentation gardener, ensuring that all our documentation is updated and accurate. A full list of people who contributed code to DSpace 1.6.1 can be found at: http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.6.1/dspace/CHANGES Give yourselves and your colleagues a pat on the back today! Again, none of this could have happened without your hard work and support. Thanks again! Enjoy DSpace 1.6.1, and let us know what you think! Sincerely, The DSpace Developers -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.6.1 Release Update: Code freeze
Hi all, Today is the agreed date for the code freeze on DSpace 1.6.1. The week from now until 21st May is to enable thorough testing of all the changes we've committed, without the dspace-1_6_x branch changing significantly while we do it. This means: - New JIRA issues won't be reviewed for inclusion into 1.6.1 - Any patches not yet committed won't be included PDF/HTML documentation is going to be generated at the end of testing to allow for any small changes (wording, etc) we may have throughout the week. There are some exceptions to the above rule -- there are some important updates to dspace-services which haven't quite been committed yet, and there's a date bug I'd like to fix if I can figure it out in the next few days. Committers: Please check with me (the earlier the better!) before committing anything not already in the Fix for 1.6.1 list so we can consider how critical the inclusion is, how to organise the extra testing around it, and what documentation changes it might need. Developers: Please make a noise if you are aware of critical/show-stopper bugs this release does not fix. Everybody: Help with testing is always appreciated -- this is going to be the main activity over the next 7 days. The SVN area to check out is: http://scm.dspace.org/svn/repo/dspace/branches/dspace-1_6_x All 1.6.1 JIRA issues (resolved and unresolved) are listed here: http://jira.dspace.org/jira/secure/IssueNavigator.jspa?reset=truepid=10020fixfor=10030 If you've found a problem with one of the included bugfixes but can't find the specific JIRA issue to comment on, emailing the dspace-devel list is the next best thing. I will talk to the folks at DuraSpace about the possibility of a snapshot on demo.dspace.org (or similar) to help testing by those who don't have time/resources to build their own test environments. I think that's all.. if this notice seems late, it's because it's actually the morning of the 15th in New Zealand and I didn't want to get up at 4am on a Saturday ;-) Cheers! Kim Shepherd (1.6.1 Release Coordinator) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.6.1 roadmap and call for volunteers
Hi all, DSpace 1.6.1 development has started! With the release of DSpace 1.6, the DSpace developer community is now focusing attention on the next major release, DSpace 1.7, and on DSpace 1.6.1, which will be a minor release to fix any bugs found in DSpace 1.6.0. I've volunteered to be Release Coordinator for 1.6.1, so to start things off I thought I'd describe what we're hoping to achieve with this version and how you can help! DSpace 1.6.1 will not introduce any new features. The only patches that will be accepted for inclusion are those that fix bugs affecting DSpace 1.6.0. At the last DSpace Developers' IRC meeting, it was decided to release 1.6.1 in early May. That gives us about a month to fix as many bugs as possible. Any patches that are not submitted in time for 1.6.1 can be submitted for inclusion for 1.6.2. Proactive testers, users and developers have been reporting bugs on JIRA (http://jira.dspace.org http://jira.dspace.org ) so the work has already begun! Any questions? What to help, but not sure how? There are a number of ways people can get involved, regardless of skills or experience: -Register an account at http://jira.dspace.org http://jira.dspace.org to report new bugs (“issues”), test patches and submit your own -Collaborate with users and developers on the dspace-devel and dspace-tech mailing lists -Join us in #duraspace at Wednesday 20:00 UTC for the DSpace Developers IRC meeting http://wiki.dspace.org/index.php/Developer_Meetings -Email me directly mailto:k...@waikato.ac.nz with any 1.6.x-related questions, comments, or offers of help If you’ve already noticed some bugs on JIRA that you think you can fix, let me know ASAP and I’ll ensure you’re assigned to that issue. I’d also love to hear from any experienced developers who want to put their hands up as “general volunteers”, so if we have any unassigned JIRA issues after our weekly review, they can find a home. I’ll be keeping the community updated, mainly via the IRC meetings, but hopefully I’ll get time to send a few progress reports out to dspace-devel as well. Notes for developers and testers: 1.7.0 and 1.6.1 will be developed in parallel, which has a few implications for developers and testers when it comes to writing and testing patches, updating local SVN repositories, and committing code to the DSpace codebase. The SVN branch for DSpace 1.6.x is here: http://scm.dspace.org/svn/repo/dspace/branches/dspace-1_6_x/ http://scm.dspace.org/svn/repo/dspace/branches/dspace-1_6_x/ Development for Dspace 1.7.0 will continue in trunk: http://scm.dspace.org/svn/repo/dspace/trunk/ http://scm.dspace.org/svn/repo/dspace/trunk/ Virtually all patches accepted for 1.6.1 will also need to be tested against, modified if necessary, and committed to 1.7.0. No feature additions or improvements will be committed to the 1.6.x branch. As development for Dspace 1.7.0 progresses, we may encounter situations where a fix for a bug needs to be implemented quite differently in each version, so we will need to be vigilant with our testing and prepared to submit two patch versions where they differ. Test instances I’ll endeavour to get snapshots of 1.6.x branch built and served somewhere so that community members who don’t have the time/resources to set up their own test server can still help confirm bugs, test patches and so on. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.6 issues
Hi John, Nobody will get upset with you! Finding bugs is helpful! ;-) If you’re not 100% sure that what you’ve noticed is a bug, you could send an email to dspace-devel (dspace-de...@lists.sourceforge.net) and explain the problem and how to replicate it. If you’re pretty sure it’s a bug, you could go straight to http://jira.dspace.org, register a user, and create a new “issue” ticket. The developers watch new issues closely and this is a good way of getting their attention. Cheers! Kim From: John Preston [mailto:byhisde...@gmail.com] Sent: Friday, 19 February 2010 2:38 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] DSpace 1.6 issues Can anyone say where I should direct my comments about the DSpace 1.6 code. I've been using the most recent beta and have noticed somethings that I want to query, but I'm not sure where to do that without people getting upset with me. John -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] changes in news-xmlui.xml not picked up after tomcatrestart
Hi Kevin, Could you paste your news-xmlui.xml in a reply to this email? The problem you’re seeing probably means there’s some invalid formatting (incorrect use of tags, etc) in the file itself… Cheers, Kim From: Evans, Kevin [mailto:kevin.ev...@exeter.ac.uk] Sent: Tuesday, 2 February 2010 4:53 a.m. To: Dspace-Tech-List Subject: [Dspace-tech] changes in news-xmlui.xml not picked up after tomcatrestart Hi again list! I have changed the text in news-xmlui.xml and restarted the server, but doesn't Dspace isn't picking up the changes (In fact nothing is displayed). I have added static content to template.xsl as temporary workaround... I have recently implemented our own theme - am I missing a step? Cheers Kevin Kevin Evans MA Web Services Developer, Integration and Webservices, Room 901, 9th Floor, Laver Building University of Exeter, Exeter, Devon, EX4 4QE 01392 725573 +447775027574 http://my.exeter.ac.uk http://my.exeter.ac.uk/ This email and any attachment may contain information that is confidential, privileged, or subject to copyright, and which may be exempt from disclosure under applicable legislation. It is intended for the addressee only. If you received this message in error, please let me know and delete the email and any attachments immediately. The University will not accept responsibility for the accuracy/completeness of this e-mail and its attachments. The University cannot guarantee that this message and any attachments are virus free. Any views or opinions expressed in this message are my own and do not necessarily represent those of the University. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-devel] JSPUI language detection - request for comment
Cheers Graham, I realised this after a closer look last night - I don't think the consistency problem was as big as I first suspected, either. Patch should be up soon. -Original Message- From: Graham Triggs [mailto:grahamtri...@gmail.com] Sent: Friday, 29 January 2010 4:43 a.m. To: Kim Shepherd Cc: dspace-tech@lists.sourceforge.net; dspace- de...@lists.sourceforge.net Subject: Re: [Dspace-devel] JSPUI language detection - request for comment 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 the EPerson's default that has been inserted in the session). So priority of choosing a message to display is: 1. Session locale setting 2. Browser default locale 3. DSpace default locale G On 24 Jan 2010, at 20:07, Kim Shepherd wrote: Hi all, JSPUI's i18n settings are currently a bit broken in trunk (future 1.6). When an EPerson is logged in and has configured a language in their profile which doesn't match the locale requested by their web browser, they will end up seeing both languages used on some pages. This is basically due to inconsistent i18n key lookup methods used throughout JSPUI. Now's a good time to go through and make everything consistent, so right now the idea is to go back to the order that locales were applied before 1.5: (1 is top priority, 5 is bottom, so the first successful match will be selected) 1. UI selection (eg. manually selecting 'English' or 'German' from the JSPUI or XMLUI frontend while browsing) 2. Eperson default locale (configured via Edit Profile in JSPUI or XMLUI) 3. Browser default locale (first locale requested by end user's web browser) 4. Dspace default locale (from dspace.cfg) Any feedback, concerns or ideas are welcomed: email replies (preferably onlist) or JIRA comments. The full JIRA issue is here: http://jira.dspace.org/jira/browse/DS- 418 If no objections are raised in the next few days, I'll just go ahead with a patch based on the order given above. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 - - Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Dspace-devel mailing list dspace-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] JSPUI language detection - request for comment
Hi all, JSPUI's i18n settings are currently a bit broken in trunk (future 1.6). When an EPerson is logged in and has configured a language in their profile which doesn't match the locale requested by their web browser, they will end up seeing both languages used on some pages. This is basically due to inconsistent i18n key lookup methods used throughout JSPUI. Now's a good time to go through and make everything consistent, so right now the idea is to go back to the order that locales were applied before 1.5: (1 is top priority, 5 is bottom, so the first successful match will be selected) 1. UI selection (eg. manually selecting 'English' or 'German' from the JSPUI or XMLUI frontend while browsing) 2. Eperson default locale (configured via Edit Profile in JSPUI or XMLUI) 3. Browser default locale (first locale requested by end user's web browser) 4. Dspace default locale (from dspace.cfg) Any feedback, concerns or ideas are welcomed: email replies (preferably onlist) or JIRA comments. The full JIRA issue is here: http://jira.dspace.org/jira/browse/DS-418 If no objections are raised in the next few days, I'll just go ahead with a patch based on the order given above. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Installing Dspace 1.5 on Ubuntu 8.10 [antfresh_install] error
Hi there, The key error in the log you pasted below is this: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Ant cannot connect to your Dspace database. Since this is a fresh install, you should make sure that you have created your PostgreSQL (or Oracle) database and user as per http://www.dspace.org/1_5_1Documentation/ch03.html#N10787 , and also go through [dspace-source]/dspace/config/dspace.cfg and make sure that the database properties (name, user, password, driver, url) are all set correctly. (note: since this is the first install and you don't have a [dspace]/configs dir set up yet, you'll be editing your source dspace.cfg. You'll either have to rebuild after changing thi dspace.cfg, or at least manually copy it over to [dspace-source]/dspace/target/dspace-1.5.2-build.dir/config before running ant fresh_install) Cheers, Kim -Original Message- From: AKHRZ [mailto:ak...@yahoo.com] Sent: Tuesday, 3 November 2009 2:52 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Installing Dspace 1.5 on Ubuntu 8.10 [antfresh_install] error I'm having trouble installing dspace 1.5 on Ubuntu 8.10 I have been following the following guide: http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.10_S erver Everything works out smoothly until I execute [ ant fresh_install ]. I also followed the the common problems at http://www.dspace.org/1_5_1Documentation/ch03.html#docbook- install.html-problems but I cant get a successful build. Where am I going wrong? Here is the log of the errors: dsp...@biblio-main:~/dspace-1.5.2-src-release/dspace/target/dspace- 1.5.2-build.dir$ ant fresh_install Buildfile: build.xml init_installation: init_configs: setup_database: [java] 2009-11-02 14:21:16,895 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2009-11-02 14:21:16,905 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2009-11-02 14:21:16,906 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database [java] 2009-11-02 14:21:17,001 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: [java] org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connect ionFactoryImpl.java:122) [java] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory. java:65) [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connec tion.java:116) [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connec tion.java:30) [java] at org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24) [java] at org.postgresql.Driver.makeConnection(Driver.java:369) [java] at org.postgresql.Driver.connect(Driver.java:245) [java] at java.sql.DriverManager.getConnection(DriverManager.java:582) [java] at java.sql.DriverManager.getConnection(DriverManager.java:185) [java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection (DriverManagerConnectionFactory.java:65) [java] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCo nnectionFactory.java:294) [java] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObje ctPool.java:974) [java] at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176) [java] at java.sql.DriverManager.getConnection(DriverManager.java:582) [java] at java.sql.DriverManager.getConnection(DriverManager.java:207) [java] at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager. java:550) [java] at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:9 23) [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.jav a:100) [java] Caused by: java.net.ConnectException: Connection refused [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [java] at java.net.Socket.connect(Socket.java:519) [java] at java.net.Socket.connect(Socket.java:469) [java
Re: [Dspace-tech] Confirming Java version for Dspace 1.5
Hi Glenn, Yes, Sun Java 6 works just fine with Dspace 1.5.x. Cheers, Kim From: Bunton, Glenn A. [mailto:gbun...@odu.edu] Sent: Tuesday, 3 November 2009 5:03 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Confirming Java version for Dspace 1.5 Just want to confirm – Is Sun Java 6 acceptable with Dspace 1.5? === Glenn Bunton gbun...@odu.edu Head of Systems Development 757-683-5952 Old Dominion University Libraries Perry Library - E3.341 Norfolk, VA 23529 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Arabic language in dspace
Hi, If it’s happening in one interface and not the other, I’d suspect a character encoding issue – make sure your JSPUI is using ‘utf-8’. To make sure your searches are optimised for Arabic words / stems, it might also be worth taking a look at the Arabic Lucene analyzer: http://www.nongnu.org/aramorph/english/lucene.html#The+arabic+analyzer+for+ Cheers, Kim From: mabdelmawlam mahmood [mailto:techno_...@hotmail.com] Sent: Friday, 16 October 2009 1:40 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Arabic language in dspace I Need Your Help About How To Support Arabic Language In Dspace = IN INTERFACE = IN SEARCHING FOR ARABIC ITEMS IN THE DATABASE BEFORE (I UPLOADED ITEM USING ARABIC DATA FOR IT BUT IT GIVES ME NO RESULT WHEN SEARCHING FOR IT !!!) SEE ATTACHED PHOTO -BUT IT GIVE RESULT IF I SEARCH FOR ITEM I ENTERED ITS DATA USING ENGLISH LANGUAGE P.S : I AM USING VERSION 1.5.2 at windows xp pro p.s: i remarked that the problem occurred when using the default page at http://localhost:8080/jspui/ but not occurred when using manakin page at http://localhost:8080/xmlui/ it searches Arabic and retrieve result in Arabic language Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Can Stemming be turned off in DSpace Lucenesearches?
Hi Sue, Search analysis, filtering, stemming etc. is done by Apache Lucene, but there is a “DSAnalyzer” supplied by default with Dspace, The quickest way to achieve what you want may be to just comment out the steps you don’t want carried out in org.dspace.search.DSAnalyzer: This function is the one you want to modify: /* * Create a token stream for this analyzer. */ public final TokenStream tokenStream(String fieldName, final Reader reader) { TokenStream result = new DSTokenizer(reader); result = new StandardFilter(result); result = new LowerCaseFilter(result); result = new StopFilter(result, stopSet); result = new PorterStemFilter(result); // THIS IS THE CALL TO THE STEMMER return result; } The PorterStemFilter() call at the end is the stemmer you’re talking about, and the StopFilter ignores common conjunctions, pronouns etc. – I would recommend at least keeping the StandardFilter and LowerCaseFilter. I haven’t tried exactly what you’re asking about, so I can’t guarantee results, but I have successfully added new filter steps without any hassles. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 From: Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] [mailto:susan.m.thorn...@nasa.gov] Sent: Wednesday, 9 September 2009 11:10 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Can Stemming be turned off in DSpace Lucenesearches? We are trying to figure out an easy way to turn off stemming in DSpace searches. Can anyone point me in the right direction? Thanks in advance, Sue Sue Walker-Thornton ConITS Contract NASA Langley Research Center Integrated Library Systems Application Database Administrator 130 Research Drive Hampton, VA 23666 Office: (757) 224-4074 Fax:(757) 224-4001 Pager: (757) 988-2547 Email: susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] handle-server setup
Hi Lewatle, In your [dspace]/bin directory, there is a script called “update-handle-prefix” If, for example, your new handle is 858585: [dspace]/bin/update-handle-prefix 123456789 858585 This will update the old handles with a default handle prefix without bothering your new, correct items/collections/communities. Cheers, Kim From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za] Sent: Friday, 28 August 2009 1:42 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] handle-server setup Hi All I was setting up handle server for my University, and everything went well in such a way that changes apply only for new submissions, if we submit or import a file the file will take a new prefix not default like 123456789, What we really need is to change the default handle prefix e.g 123456789 to all our previous stored digital files and even to the new imported or submited file. Regards Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-devel] statistics
Hi Pradip, (cc’ing to dspace-tech) I can’t guarantee this is the problem, but I’ve encountered this SQL error running stat-initial when I’ve had two metadata schemas that both had element/qualifier combinations that some Dspace queries expect to be unique. For instance, on one of my instances I have “uow.date.accessioned”, an accession date from a previous repository stored in our custom “uow” metadata schema, but the subquery run by stat-initial (when it’s getting a count of non-withdrawn items) looks for metadata with element ‘date’ and qualifier ‘accessioned’ but ignores schema ID – both results are returned, and the exception is thrown because the subquery should only have returned one result. The quick fix would be to rename the custom metadata field to something other than date.accessioned, or to modify the item count query so that “element=’date’ AND qualifier=’accessioned’ AND metadata_schema_id=1”. It seems pretty likely that Dublin core is always going to be schema ID ‘1’ but I guess I wouldn’t want to automatically assume that, either. Cheers, Kim From: Pradip Patel [mailto:pradi...@gmail.com] Sent: Monday, 10 August 2009 8:52 p.m. To: dspace-de...@lists.sourceforge.net Subject: [Dspace-devel] statistics Dear sir we are using the following version of Dspace Dspace 1.4.1 PostgreSQL 8.2 Apache 2.2 Apache ant 1.5 Java JRE/JDK 1.6.0 we installed perl and modify the stat* files # Details used ## $in_prefix = dspace-log-general-; $in_suffix = .dat; $out_prefix = report-general-; $out_suffix = .html; $dsrun = f:/dspace/bin/dsrun; $in_directory = f:/dspace/reports; $out_directory = f:/dspace/reports/; ## but when we retun the command f:\perl dspace\bin\stat-initial we found error1(attachment) and when run the command f:\perl dspace\bin\stat-report-initial we found error 2 (attachment) 2 screen shot and a last lo file we are sending to you. what we have to do next. and why we found that errors? and why ous dspace doesn't show statistics? pls help sir -- Pradip Gujarat India -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-devel] statistics
I assume this is to do with database schema rather than metadata registry schema, so it probably isn't relevant.. sorry if I didn't explain what I meant by 'schema' very well. If you inspect your metadatafieldregistry table, you'll see the schema ID I'm talking about. Cheers, Kim -Original Message- From: Van Ly [mailto:v...@usyd.edu.au] Sent: Monday, 17 August 2009 11:36 a.m. To: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] [Dspace-devel] statistics On 17/08/2009, at 5:56 AM, Kim Shepherd wrote: the subquery run by stat-initial (when it’s getting a count of non-withdrawn items) looks for metadata with element ‘date’ and qualifier ‘accessioned’ but ignores schema ID – both results are returned, and the exception is thrown because the subquery should only have returned one result. There is a definable schema `search_path' mentioned in section 5.7.3 Postgresql 8.1 manual which might help. Van Ly vly at usyd dot edu dot au --- --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Strange Search results
HI Sue, I think you’re correct here... ‘ant’ and ‘er’ are both common English stems, and Lucene is probably just being clever by chopping them off when indexing and searching. http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/analysis/package-summary.html gives some info on Lucene’s analysis and filtering in general, but you’d probably need to take a look under the hood to see exactly which word suffixes it’s ignoring and in which situations. Cheers, Kim From: Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] [mailto:susan.m.thorn...@nasa.gov] Sent: Thursday, 6 August 2009 9:31 a.m. To: DSpace-tech@lists.sourceforge.net Cc: Smail, James W. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] Subject: [Dspace-tech] Strange Search results A User emailed me and told me he was getting some incorrect search results in DSpace 1.5.1. Here is the advanced search he did: Title = propeller Along with documents where the title contained the word “propeller”, he also got lots of documents where the title contained the word “propellant”. I tried it and got the same results. I also tried looking for “propeller NOT propellant” and then got *no* results. I thought maybe Lucene was cutting off the “er” and/or “ant”, but couldn’t find this anywhere in the documentation. Does anyone know what might be going on? Thanks, Sue Sue Walker-Thornton ConITS Contract NASA Langley Research Center Integrated Library Systems Application Database Administrator 130 Research Drive Hampton, VA 23666 Office: (757) 224-4074 Fax:(757) 224-4001 Pager: (757) 988-2547 Email: susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.52 can't browse Author, Subject with special character
Hi, This is a known bug -- http://jira.dspace.org/jira/browse/DS-246 and I’m hoping to get it patched very soon (I’ll let you know once a patch is available for you to try) for 1.6.0. Cheers, Kim From: Nguyen Hung Thanh [mailto:nghungth...@gmail.com] Sent: Wednesday, 15 July 2009 3:49 p.m. To: dspace-tech@lists.sourceforge.net; dspace-gene...@mit.edu Subject: [Dspace-tech] Dspace 1.52 can't browse Author,Subject with special character Hi All, Dspace 1.52 can't browse Author with special character: e é, è ê, Đ, ư ứ ừ ... in Vietnamese language. Any body help me. Thanks -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Submitter login problem
Hi Dorothea, Given the /submission connection, I'm wondering if there are any problems caused by an item that's been partially-submitted by the user (the items that display in the /submissions page normally). Perhaps you could check the Workflow/Unfinished Tasks out as your admin user, and remove those that were submitted originally by the user having the problems. If that doesn't help, the other thing I'd recommend is turning on debug-level logging in Dspace in case that reveals a problem the logs aren't telling us now. To do this, just change this line in [dspace]/config/log4j.properties: log4j.rootCategory=INFO, A1 to log4j.rootCategory=DEBUG, A1 Your logs will be a lot busier and won't be entirely easy to read, but it could be worth a go. Cheers, Kim -Original Message- From: Dorothea Salo [mailto:ds...@library.wisc.edu] Sent: Saturday, 20 June 2009 2:27 a.m. To: Dspace Tech Subject: Re: [Dspace-tech] Submitter login problem Okay, I have a little more information. The user *is* being logged in correctly; she can navigate the system as normal if she reloads pages after logging in. It is *specifically* the submissions page (/submissions) that's hanging. Does that suggest anything to anyone? Again, nothing in the DSpace logs looks suspicious. Dorothea -- Dorothea Salods...@library.wisc.edu Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 --- --- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] browse layout for different collection
Hi Mallikarjun, The answer depends on whether you’re using JSPUI or XMLUI.. I’ll assume you’re using JSPUI for now. Find the ‘webui.itemdisplay’ section in your dspace.cfg #webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, \ #dc.subject, dc.date.issued(date), dc.publisher, \ #dc.identifier.citation, dc.relation.ispartofseries, \ #dc.description.abstract, dc.description, \ #dc.identifier.govdoc, dc.identifier.uri(link), \ #dc.identifier.isbn, dc.identifier.issn, \ #dc.identifier.ismn, dc.identifier This is the [commented-out] default display config. If you haven’t done so already, you’ll want to come up with a good default display configuration so that all your non-thesis collections display the metadata you want them to. Then, simply create another entry like this called ‘webui.itemdisplay.thesis’ or something, list the metadata fields you want displayed, and underneath, associate this display config with a collection, like: webui.itemdisplay.thesis.collections = 123456789/24, 123456789/35 Note that this will only affect the simple item view, and requires Tomcat/Dspace to be restarted. Hope this helps – if you are using XMLUI, have a read of http://wiki.dspace.org/index.php/Modify_item_metadata_display_(Manakin) to see how you can override the itemSummaryView-DIM template. Cheers, Kim From: mallikarjun dora [mailto:dora.mallikar...@gmail.com] Sent: Thursday, 18 June 2009 6:51 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] browse layout for different collection Dear All, can we show different browse layout for different collection, i have thesis collection in that i want to show the advisor name but in the same time in other collection i don't. thanks * Mallikarjun Dora Professional Assistant Vikram Sarabhai Library Indian Institute of Management, Ahmedabad dora.mallikar...@gmail.com http://mallikarjundora.wordpress.com/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Submitter login problem
Hi Dorothea, Are you able to paste relevant sections of dspace.log in an email or on a pastebin somewhere, so we can have a closer look at what is happening behind the scenes, see if any exceptions are being thrown, etc..? Are you using any authentication methods in addition to regular password auth methods? Cheers, Kim -Original Message- From: Dorothea Salo [mailto:ds...@library.wisc.edu] Sent: Friday, 19 June 2009 8:15 a.m. To: Dspace Tech Subject: [Dspace-tech] Submitter login problem I have a submitter whose login has worked reliably in the past, but is currently hanging on her whenever she tries to log in. Network and computer problems have been ruled out; an IT person logged into his own account just fine via her computer. I checked her eperson record and it looks fine to me, but when I used Log in as my session hung too. Ideas for how to troubleshoot this? I'm stuck. DSpace 1.5.1, XMLUI. Dorothea -- Dorothea Salods...@library.wisc.edu Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 --- --- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding page with xmlui header and footer
Hi John, This is possibly best done with a full Manakin aspect rather than just at the XSLT level, but this little trick seems to work (unfortunately we don’t get tokenize() to make our job easier): xsl:variable name=queryString select=/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='request']...@qualifier='queryString']/ xsl:variable name=p2Param xsl:choose xsl:when test=contains($queryString, 'amp;') xsl:value-of select=substring-before(substring-after($queryString,'p2='),'amp;')/ /xsl:when xsl:otherwise xsl:value-of select=substring-after($queryString,'p2=')/ /xsl:otherwise /xsl:choose /xsl:variable This should populate $p2Param with the value of the ‘p2’ GET parameter, regardless of whether it is the only GET parameter passed, and no matter where it appears in $queryString. I’m CC’ing to the list for more input because there might be traps with this approach I’m not totally aware of, and without knowing exactly what you’re trying to achieve, I’m not sure if we should be looking to do this all at the XSLT level. A simple transformer might end up making things a lot easier. (See: http://wiki.dspace.org/index.php/Create_a_new_aspect_(Manakin) ) Cheers, Kim From: John Preston [mailto:byhisde...@gmail.com] Sent: Saturday, 13 June 2009 12:18 a.m. To: Kim Shepherd Subject: Re: [Dspace-tech] Adding page with xmlui header and footer Thanks. Thats the starting point I wanted. One other favour, could you give me an example of using the queryString qualifier to get at any of the query string parameters. So for http://machine/xmlui/123456789/12345?p1=value1p2=value2 to extract p1's value I would use select=/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='request']...@qualifier='??'] John On Thu, Jun 11, 2009 at 7:11 PM, Kim Shepherd k...@waikato.ac.nz wrote: Hi John, The request element in your page metadata is probably the best place to start looking. This query should help: select=/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='request']...@qualifier='URI'] If someone is visiting http://machine/xmlui/123456789/12345, that’ll return “123456789/12345”, for example. It won’t return GET parameters that might be in the URI, but you can use the ‘queryString’ qualifier instead of the ‘URI’ qualifier to access those. If you’re looking for DRI metadata, appending ?XML to the end of an address while browsing (or XML if you’re using GET stuff as well) should help, and http://www.dspace.org/1_5_2Documentation/ch13.html#N15E41 might help as well. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 From: John Preston [mailto:byhisde...@gmail.com] Sent: Friday, 12 June 2009 8:12 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Adding page with xmlui header and footer Can someone say how I can trap an arbitrary url, say http://machine/xmlui/arbitraryhandle/* using the theme xslt code so that I can create a page with the same header and footer as the regular interface, but have the body as I need. I figure I need to override the xsl:template match=dri:document and add a if then for a particular url. But how do I access the url? John -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Removing Community-List from front page - XMLUI
Hi Jennifer, The best way would be to override the ArtifactBrowser aspect – took me a while to figure out the correct paths while I was testing this live, but I imagine (hope!) if you put a custom sitemap.xmap into [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap, then rebuild, your overridden sitemap will be used. (FWIW, the quick way to test this live is to make a WEB-INF/classes/aspects/ArtifactBrowser directory beneath your main xmlui webapp directory, copy the original ArtifactBrowser sitemap.xmap (you can find it in your dspace-xmlui-api source tree) into this directory and make changes from there) Once you’ve got everything copied over and ready to customise, you can take a look at the file itself, and when you get to: map:match pattern= Then you’re matching the homepage. You’ll see that within this pattern match, the CommunityBrowser transform is called: map:transform type=CommunityBrowser map:parameter name=depth value=1/ /map:transform You can just remove this map:transform block altogether, and the resulting homepage won’t display the community list. I’m just re-reading this now and it’s pretty messy to follow, sorry... just reply if you get stuck. Cheers, Kim From: Jennifer Whalan [mailto:jennifer.wha...@nt.gov.au] Sent: Monday, 15 June 2009 1:33 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Removing Community-List from front page - XMLUI To any XSLT experts out there. Or at least anyone who is better than me. We are preparing our test instance of 1.5.2 to go live, and one of the requirements is that the list of communities is removed from the front page. In the main theme I started off with xsl:template match=/dri:document/dri:body/dri:d...@id = 'aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'] / but then found out that the community-list page displays the list of communities/collections in the same way. So I need to remove from the front page, but keep on the community-list page. The next bit I tried was: xsl:template name=removeCommunity xsl:choose xsl:when test=string(/dri:document/dri:meta/dri:pageMeta/dri:metada...@qualifier='URI']) != 'community-list' xsl:apply-templates select=/dri:document/dri:body/dri:d...@id = 'aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'] mode=hide / /xsl:when xsl:otherwise xsl:apply-templates select=/dri:document/dri:body/dri:d...@id = 'aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'] / /xsl:otherwise /xsl:choose /xsl:template xsl:template match=/dri:document/dri:body/dri:d...@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'] mode=hide priority=1 / Which actually shows both of them (though I thought it would do the opposite). It seems (to me) that the only way to hide it on the front page is to make a template to match comunity-browser, but that would still hide it everywhere else. If anyone knows how I can solve this problem in XSLT could you please let me know? Otherwise if there's a way to do this in the source? Thanks Jennifer Whalan Jennifer Whalan Systems Support Officer Innovation Access, Northern Territory Library Department of Natural Resources, Environment, The Arts and Sport Northern Territory Government Phone: (08) 8922 0757 Fax:(08) 8922 0722 Email: jennifer.wha...@nt.gov.au mailto:jennifer.wha...@nt.gov.au Web:www.ntl.nt.gov.au http://www.ntl.nt.gov.au/ The information contained in this message and any attachments may be confidential information and may be subject to legal privilege, public interest or legal profession privilege. If you are not the intended recipient, any use, disclosure or copying of this message or any attachments is unauthorised. If you have received this document in error, please advise the sender. No representation or warranty is given that attached files are free from viruses or other defects. The recipient assumes all responsibility for any loss or damage resulting directly or indirectly from the use of any attached files. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Arabic Support in Dspace
Hi Antonio, If you haven’t found any documentation or examples specifically for Arabic, you might be interested in this Persian example from EIAH – it was demonstrated at OR 09 and handles a lot of the challenges you will face – right to left hand side (and bidirectional when English phrases are quoted etc), zero-width non-joiners, etc.. The slides/presentation notes are here: http://conferences.library.gatech.edu/or/or09/paper/viewPDFInterstitial/153/65 It doesn’t go into a great deal of detail – it was fascinating just to see that this is possible, though, so perhaps the people at EIAH can help to document this further or share some notes. I believe there are many similarities between Persian and Arabic character/input/date handling? Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 From: Antonio Cuomo [mailto:anto...@parliaments.info] Sent: Thursday, 11 June 2009 2:14 a.m. To: dspace-gene...@mit.edu; dspace-tech Subject: [Dspace-tech] Arabic Support in Dspace Hi dspace community, I'm writing to ask if D-Space support the Arab language: Does D-space come in Arabic ? has DSpace the support to allow typing from right side to left side? (e.g. http://www.google.co.ke/language_tools?hl=ar all the input form use the right left sense) Thank you very much! Antonio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Strange Behaviour when exporting items and collections
Hi Manuel, I’m assuming that you’re exporting from the CLI here, but if that’s not the case please say so.. Do you use ‘sudo’ when running dsrun? (I’m guessing so, or you wouldn’t be able to create the files beneath the exports folder if it’s owned by root). If so, you’re effectively running the ‘dsrun’ command as root unless you do something like ‘sudo –u tomcat dsrun org.dspace.app..’ or ‘sudo –u dspace dsrun ...’ – the username you pass to sudo should be whatever user dspace is actually running as. If you get sudo errors when you try this, you may need to ask the sysadmin to allow you to sudo ‘dsrun’ as your dspace user as well as (or, preferably, instead of!) root. You’ll also want them to change ownership of [dspace]/export/* to the dspace user, or you won’t be able to write to it. There’s no need to be concerned about Dspace itself escalating privileges to root when it shouldn’t be – the dsrun script will run as whatever user it thinks is running it (‘effective user’), so if you make sure you can sudo to the dspace/tomcat user rather than just to root, you should be able to avoid any root-owned files/dirs being created. If you’re using the webui or I’m totally barking up the wrong tree, apologies -- maybe give a few more details about how you’re exporting items/collections. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 From: Manuel Martin Mohedano [mailto:manumohed...@hotmail.com] Sent: Tuesday, 9 June 2009 7:59 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Strange Behaviour when exporting items and collections Hi all. I was doing some exporting tests with communities and items yesterday and there was a thing that surprised me. Exported files are stored in a folder on server called exports/downloads/number. The thing is the owner of this folder is the root of the system but I don't have any root account on the machine. How is this possible?? Can Dspace run processes as root?? Thank's and regards. Charlas más divertidas con el nuevo Windows Live Messenger http://download.live.com -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Acute Accents -- Searching
Hi Sean, If you ensure that Tomcat's URIEncoding (and your JSP charsets, if you're using JSPUI) are set to UTF8, this should fix your problem. If you're not sure how to configure Tomcat to encode URIs (author browses use GET and therefore the name ends up in a URI), this page should help: http://struts.apache.org/2.0.14/docs/how-to-support-utf-8-uriencoding-with-tomcat.html Cheers, Kim -Original Message- From: Sean Carte [mailto:sean.ca...@gmail.com] Sent: Mon 5/18/2009 10:15 PM To: dspace-tech Subject: [Dspace-tech] Acute Accents -- Searching We've run into a problem with acute accents in an author's name: 'Graaf, René'. Although we can submit the record, we then find we can't retrieve it. On a 1.5.2 implementation, clicking the author's name results in: Browsing by Author Graaf, René ... and no results. On a 1.5.1 implementation, I get this in the dspace.log: 2009-05-18 11:39:38,308 INFO org.dspace.app.webui.servlet.AbstractBrowserServlet @ anonymous:session_id=BEDBE942D23168EAB1D8EB0D0C0AB013:ip_addr=10.1.92.253:browse:type=author,order=ASC,value=Graaf, René,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=0,community=n/a,collection=n/a,level=1,etal=-1 And this in the DSpace (JSPUI): No Entries in Index There are no entries in the index for All of DSpace. Is there something that I need to configure to correct this? Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] item record customization
Hi Sarah, The webui.itemdisplay.default parameter in dspace.cfg will allow you to change the metadata that is displayed for a simple item record, etc. #webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, \ #dc.subject, dc.date.issued(date), dc.publisher, \ #dc.identifier.citation, dc.relation.ispartofseries, \ #dc.description.abstract, dc.description, \ #dc.identifier.govdoc, dc.identifier.uri(link), \ #dc.identifier.isbn, dc.identifier.issn, \ #dc.identifier.ismn, dc.identifier Changing the full item record display in JSPUI is a bit trickier... but adding a webui.itemdisplay.full might not be a bad configuration option, hmm... Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 -Original Message- From: Sarah Ryder [mailto:sry...@hampshire.edu] Sent: Wednesday, 13 May 2009 8:05 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] item record customization Hello We're using the jsp interface and our librarians would like to de- clutter the simple and full item record pages by only showing metadata fields that have a value for that item. As far as I can tell this is not an option that can be set in the configuration. Is that the case or can this be configured somewhere? Has anybody else run across the want/need for this and put the change into place? Thanks -Sarah Ryder Web Development Hampshire College 413.559.5477 --- --- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Files in this item
Hi Lyn, Are you using JSPUI or XMLUI? Cheers, Kim From: Lyn Amery [mailto:lyn.am...@sro.wa.gov.au] Sent: Tuesday, 12 May 2009 6:38 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Files in this item Hi all, Here I am again, wanting to change things! On the “Simple item record” page, in the listing of “Files in this item”, are the headings File, Size, View, Format and Description. I don’t require any info on Format, and View seems rather redundant as I can click on the filename to view the bitstream. Am I able to remove these fields? Cheers, Lyn Lyn Amery Web Analyst/Programmer State Records Office (08) 9427 3493 lyn.am...@sro.wa.gov.au mailto:lyn.am...@sro.wa.gov.au -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] xmlui customizations
There's a wee HOWTO at http://wiki.dspace.org/index.php/Modify_item_metadata_display_(Manakin) that could probably do with a bit of updating and some examples added. Cheers, Kim -Original Message- From: Mark H. Wood [mailto:mw...@iupui.edu] Sent: Thursday, 30 April 2009 9:01 a.m. To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] xmlui customizations On Wed, Apr 29, 2009 at 04:19:00PM -0400, Jeffrey Trimble wrote: So, I do need to customize the *.xsl files that are stored in the dri2xhtml directory huh?! Well, I'd leave those alone and just copy what you need into a theme, then customize it there, but yes, your starting point is in there. One further questions, since I have been in those files looking at them. Is it possbile to code more indepth HTML coding like Tables, TR, TD or will cocoon cough at this during transformation? I think you could, but haven't tried anything extensive myself. Cocoon is just running the XSL engine over its inputs. If you keep the namespaces straight, HTML should just flow through. What you have to watch is how the various XSL bits assemble the page, so you wind up with well-formed HTML. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace.org
It's got an awfully big TTL (one week!) so if it wasn't lowered to 5min - 24 hours well before the IP change, I'd say that's the reason it seems to be propagating so slowly... I can only see the new record though, so that's just a guess. Cheers, Kim -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tuesday, 28 April 2009 8:24 a.m. To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace.org Apparently the site was moved to a different server at the end of last week, so the change of IP address is slowly propagating through DNS. Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -Original Message- From: Anderson, Charles W [mailto:bill.ander...@library.gatech.edu] Sent: Tuesday, 28 April 2009 7:01 a.m. To: Randall Dean Floyd Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace.org I'm getting the same thing, and one of my colleagues reports getting the suspended page error since Friday. Anybody have any idea what's going on? Bill Anderson Software Developer Digital Library Development Georgia Tech Library - Randall Dean Floyd rdfl...@indiana.edu wrote: | Just chiming in here... | | We've been getting the same error message as Rui. The URL immediately | | redirects to the SiteGround message for a suspended account. I just | checked again with multiple browsers and hit refresh a bunch of times. | | Here's where I get redirected to: | | http://serv01.siteground183.com/suspended.page/ | | Quoting Claudia Juergen claudia.juer...@ub.uni-dortmund.de: | | Hi Rui, | | no http://www.dspace.org/ works fine. | | Have a nice weekend | | Claudia | | Hello *, | |Is the Dspace Domain being changed ? | |I can't access www.dspace.org i get the info |that the account is inactive. | |Anyone else is having this issue ? | | Cheers, Rui | | | | | --- - -- | Crystal Reports #45; New Free Runtime and 30 Day Trial | Check out the new simplified licensign option that enables | unlimited | royalty#45;free distribution of the report engine for externally | facing | server and web deployment. | | http://p.sf.net/sfu/businessobjects _ __ | DSpace-tech mailing list | DSpace-tech@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/dspace-tech | | | | | | --- - -- | Crystal Reports #45; New Free Runtime and 30 Day Trial | Check out the new simplified licensign option that enables | unlimited | royalty#45;free distribution of the report engine for externally | facing | server and web deployment. | http://p.sf.net/sfu/businessobjects | ___ | DSpace-tech mailing list | DSpace-tech@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/dspace-tech | | | | | | --- - -- | Crystal Reports #45; New Free Runtime and 30 Day Trial | Check out the new simplified licensign option that enables unlimited | royalty#45;free distribution of the report engine for externally | facing | server and web deployment. | http://p.sf.net/sfu/businessobjects | ___ | DSpace-tech mailing list | DSpace-tech@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/dspace-tech --- - -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech --- --- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new
Re: [Dspace-tech] TAMU OAI Harvester
(subject changed since this is a slight derail) I've been testing this new feature as well, and it's excellent. I have some things I'd like to add/change: - The ability to pass null OAI Set IDs, so entire repositories can be harvested... I've already tested this one on my test server - Some better handling of dc.creator vs. dc.contributor and dc.date vs dc.date.* and dc.identifier.* when ingesting the new items - More error-tolerant metadataPrefix handling.. some repos return invalid/erroneous namespace strings, even if they do support a certain metadata format Definitely a useful feature, and I'd really like to see it make it into Dspace 1.6. Cheers, Kim -Original Message- From: Paulo Jobim [mailto:i...@jobim.org] Sent: Wednesday, 22 April 2009 3:20 p.m. To: Stuart Lewis; DSpace Tech Subject: Re: [Dspace-tech] [Dspace-devel] DSpace 1.6 - Have Your Say!http://dspacesuvey.info/ The best thing I can think is the new oai harvesting from TAMU Texas University Paulo Jobim On Apr 21, 2009, at 1:28 AM, Stuart Lewis wrote: Hi! As you'll have seen from recent emails, the DSpace community has now released version 1.5.2 of the DSpace software. It has many new features, some enhancements to current features, and some bug fixes. Many of you will also know that a small team of developers have been working on DSpace version 2.0 which will bring with it many essential architectural enhancements to ensure that DSpace continues to fulfil the needs of the user community over the coming years. DSpace 2.0 is likely to be released early in 2010. In the mean time, the DSpace committers have decided to start working on DSpace version 1.6. By moving to 1.6 (rather than 1.5.3) we can add new features that require changes to underlying DSpace database. We can't tell you just yet what new features will be in version 1.6 because we haven't decided! And that is where you come in... We'd like you to tell us which three features you would like to see in version 1.6. To help you do this, we have created an online survey at http://dspacesurvey.info/. We know nobody likes to be bombarded with surveys, so we've kept this one really short. In fact, it asks only one question: What should be in DSpace version 1.6? The survey has three boxes to enable you to tell us what your top three new features would be. We can then look at all the survey responses to help decide where we should devote our development effort. We'll put all the commonly requested features into JIRA (http://jira.dspace.org/ ) to enable further commenting and voting. As always, if you want to develop your own new features, we'd love to work with you to get those features included provided that they are in scope, or if you want to work with us on the new features that the community votes for, please get in touch! The DSpace community relies on developers donating their time and expertise to help improve the software. If you want to join in, get in touch at the dspace-devel email list. But for now, what are you waiting for? Fill in the survey... http://dspacesurvey.info/ (Please complete the survey by the 28th of April as we'll close it then) - - Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Dspace-devel mailing list dspace-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel --- --- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] High Availability DSpace
I think the situation being described here is that the ‘6’ are physical cluster nodes, not VMs. Vmotion ensures VM integrity while they’re being moved around. The setup I work with is all based on VMs in an ESX cluster as well, and it’s great, but I think our plan is to eventually have another cluster hosted in a separate building, with some kind of regular replication (rsync + slony-I or similar), so that we not only take advantage of the robustness, scalability and cool features of an ESX cluster but can feel safe knowing that we’re not relying solely on that cluster, its SAN, etc., or even that one datacentre. This stuff is more focusing on ensuring the machine/OS is available, rather than clustering or load balancing between Dspace nodes. I’m not sure where to start with the latter, and I don’t recall seeing it discussed. /2c (I also have some ideas related to Amazon’s EC2 service, and having some offline backup images stored there that can be brought up in the event of a local failure, but I haven’t tested or investigated it too thoroughly yet) Cheers, Kim. From: John Preston [mailto:byhisde...@gmail.com] Sent: Tuesday, 21 April 2009 12:35 p.m. To: Van Ly; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] High Availability DSpace In theory, from reading the documentation in my limited experience, it allows the clustering of many real hardware elements to support a Virtual Datacenter/Virtual Infrastructure. In practice, 1 of 6 in a VMware cluster had a memory problem; we vmotioned the DSpace to another in the cluster, there was no break in service, the real host went off-line for servicing. The same was done for upgrading bios. The vmotion can be set to trigger conditionally. It gives you one more layer for high availability. In this case, is it setup so that the 6 vmware virtual machines have separate DSpace instances, and something like linuxha routes requets to the seperate instances. If so how do you keep each of the DSpace instances in sync. John -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] High Availability DSpace
Further to this, there does appear to be a brief page on tomcat/postgres clustering on the wiki: http://wiki.dspace.org/index.php/Clustering Cheers, Kim From: Kim Shepherd Sent: Tuesday, 21 April 2009 1:17 p.m. To: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] High Availability DSpace I think the situation being described here is that the ‘6’ are physical cluster nodes, not VMs. Vmotion ensures VM integrity while they’re being moved around. The setup I work with is all based on VMs in an ESX cluster as well, and it’s great, but I think our plan is to eventually have another cluster hosted in a separate building, with some kind of regular replication (rsync + slony-I or similar), so that we not only take advantage of the robustness, scalability and cool features of an ESX cluster but can feel safe knowing that we’re not relying solely on that cluster, its SAN, etc., or even that one datacentre. This stuff is more focusing on ensuring the machine/OS is available, rather than clustering or load balancing between Dspace nodes. I’m not sure where to start with the latter, and I don’t recall seeing it discussed. /2c (I also have some ideas related to Amazon’s EC2 service, and having some offline backup images stored there that can be brought up in the event of a local failure, but I haven’t tested or investigated it too thoroughly yet) Cheers, Kim. From: John Preston [mailto:byhisde...@gmail.com] Sent: Tuesday, 21 April 2009 12:35 p.m. To: Van Ly; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] High Availability DSpace In theory, from reading the documentation in my limited experience, it allows the clustering of many real hardware elements to support a Virtual Datacenter/Virtual Infrastructure. In practice, 1 of 6 in a VMware cluster had a memory problem; we vmotioned the DSpace to another in the cluster, there was no break in service, the real host went off-line for servicing. The same was done for upgrading bios. The vmotion can be set to trigger conditionally. It gives you one more layer for high availability. In this case, is it setup so that the 6 vmware virtual machines have separate DSpace instances, and something like linuxha routes requets to the seperate instances. If so how do you keep each of the DSpace instances in sync. John -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Indexer errors and no indices results
Update: D'oh! It actually was a Java version problem. The dsrun file uses 'java' as it's path. We were relying on it to use the dspace user's path to java. Making sure the 'java' path on the server pointed to Java 1.5 fixed the problem. On 3/31/09 5:40 PM, Kim Griggs kim.gri...@oregonstate.edu wrote: Hi, We are upgrading from 1.4.2 to 1.5.1 and having problems with indexer. When we run either index-init or index-update we get the following error: Exception in thread main java.lang.NoSuchMethodError: method java.util.Collections.addAll with signature (Ljava.util.Collection; [Ljava.lang.Object;)Z was not found. at org.dspace.browse.BrowseItem.getMetadata(BrowseItem.java:167) at org.dspace.browse.IndexBrowse $ItemMetadataProxy.getMetadata(IndexBrowse.java:1201) at org.dspace.browse.IndexBrowse.getSortValues(IndexBrowse.java:510) at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:368) at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1106) at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1056) at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:707) We have not altered the webui browse values in dspace.cfg Has anyone had experience with this? -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Custom modules (overriding Dspace API)
Hi Mark (and others!), Just picking up on a thread that was being discussed a few months ago, I'm having a go at overriding some classes in org.dspace.search and org.dspace.content by creating a custom module, to try and tidy things up from the 'patch code in place' method I've been using to date. It's being built correctly, appears in the target/../lib dir (and in WEB-INF/lib of my JSPUI webapp, once I added a dependency in my jspui pom.xml), but my altered classes don't seem to be taking effect. My module is called lconz-api. I've given it a version of 1.5.1. Paths look like this: -- dspace-1.5.1-src-release/dspace/modules/lconz-api/src/main/java/org/dspace/content dspace-1.5.1-src-release/dspace/modules/lconz-api/src/main/java/org/dspace/search My lconz-api/pom.xml looks like this: -- project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.dspace.modules/groupId artifactIdlconz-api/artifactId version1.5.1/version packagingjar/packaging nameDSpace :: Modules :: LCoNZ API/name description Changes to the API to work with LCoNZ repositories /description parent groupIdorg.dspace/groupId artifactIdmodules/artifactId version1.5.1/version /parent repositories repository idmaven.dspace.org/snapshot/id nameDSpace Maven Snapshot Repository/name urlhttp://maven.dspace.org/snapshot/url releases enabledfalse/enabled checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled checksumPolicyfail/checksumPolicy /snapshots /repository /repositories dependencies !-- DSpace API -- dependency groupIdorg.dspace/groupId artifactIdmodules/artifactId version1.5.1/version /parent repositories repository idmaven.dspace.org/snapshot/id nameDSpace Maven Snapshot Repository/name urlhttp://maven.dspace.org/snapshot/url releases enabledfalse/enabled checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled checksumPolicyfail/checksumPolicy /snapshots /repository /repositories dependencies !-- DSpace API -- dependency groupIdorg.dspace/groupId artifactIddspace-api/artifactId /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.3/version scopeprovided/scope /dependency /dependencies /project I've added a line to modules/pom.xml as well: modulelconz-api/module I added a dependency to dspace/pom.xml: dependency groupIdorg.dspace.modules/groupId artifactIdlconz-api/artifactId version1.5.1/version /dependency At this stage, my jar is being built and copied to target/.../lib, but doesn't make it into my JSPUI's WEB-INF/lib. I'm not sure if it *needs* to be there (they are strictly dspace-api overrides, not dspace-jspui-api), but just in case, I added the above dependency to dspace/modules/jspui/pom.xml. This ensures the jar ends up in WEB-INF/lib, but I'm still not seeing my new code taking effect. Is there anything obvious I've missed here? I'm fairly sure I had this working (in a different source tree) when it was first being discussed, which is even more frustrating for me ;) Cheers, Kim. -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Custom modules (overriding Dspace API)
Thanks Mark, this did the trick. Doh! (my previous name was custom-api which explains why that one mysteriously worked...) Cheers, Kim -Original Message- From: Mark Diggory [mailto:mdigg...@gmail.com] Sent: Tuesday, 7 April 2009 12:40 p.m. To: Kim Shepherd Cc: dspace-tech@lists.sourceforge.net Subject: Re: Custom modules (overriding Dspace API) I think you'll just want to rename your module so that it comes before DSpace-Api alphabetically. Mark On Apr 6, 2009, at 5:24 PM, Kim Shepherd k...@waikato.ac.nz wrote: Hi Mark (and others!), Just picking up on a thread that was being discussed a few months ago, I'm having a go at overriding some classes in org.dspace.search and org.dspace.content by creating a custom module, to try and tidy things up from the 'patch code in place' method I've been using to date. It's being built correctly, appears in the target/../lib dir (and in WEB-INF/lib of my JSPUI webapp, once I added a dependency in my jspui pom.xml), but my altered classes don't seem to be taking effect. My module is called lconz-api. I've given it a version of 1.5.1. Paths look like this: -- dspace-1.5.1-src-release/dspace/modules/lconz-api/src/main/java/org/ dspace/content dspace-1.5.1-src-release/dspace/modules/lconz-api/src/main/java/org/ dspace/search My lconz-api/pom.xml looks like this: -- project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.dspace.modules/groupId artifactIdlconz-api/artifactId version1.5.1/version packagingjar/packaging nameDSpace :: Modules :: LCoNZ API/name description Changes to the API to work with LCoNZ repositories /description parent groupIdorg.dspace/groupId artifactIdmodules/artifactId version1.5.1/version /parent repositories repository idmaven.dspace.org/snapshot/id nameDSpace Maven Snapshot Repository/name urlhttp://maven.dspace.org/snapshot/url releases enabledfalse/enabled checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled checksumPolicyfail/checksumPolicy /snapshots /repository /repositories dependencies !-- DSpace API -- dependency groupIdorg.dspace/groupId artifactIdmodules/artifactId version1.5.1/version /parent repositories repository idmaven.dspace.org/snapshot/id nameDSpace Maven Snapshot Repository/name urlhttp://maven.dspace.org/snapshot/url releases enabledfalse/enabled checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled checksumPolicyfail/checksumPolicy /snapshots /repository /repositories dependencies !-- DSpace API -- dependency groupIdorg.dspace/groupId artifactIddspace-api/artifactId /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.3/version scopeprovided/scope /dependency /dependencies /project I've added a line to modules/pom.xml as well: modulelconz-api/module I added a dependency to dspace/pom.xml: dependency groupIdorg.dspace.modules/groupId artifactIdlconz-api/artifactId version1.5.1/version /dependency At this stage, my jar is being built and copied to target/.../lib, but doesn't make it into my JSPUI's WEB-INF/lib. I'm not sure if it *needs* to be there (they are strictly dspace-api overrides, not dspace-jspui-api), but just in case, I added the above dependency to dspace/modules/jspui/pom.xml. This ensures the jar ends up in WEB-INF/lib, but I'm still not seeing my new code taking effect. Is there anything obvious I've missed here? I'm fairly sure I had this working (in a different source tree) when it was first being discussed, which is even more frustrating for me ;) Cheers, Kim. -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato New Zealand DDI +64 7 838 4025 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] digital image collections
I've created a Wiki page for snippets/recipes, hopefully themes can be linked to from there as well: http://wiki.dspace.org/index.php/Manakin_Themes_and_Recipes My initial layout might need tweaking, but I thought I'd have a go at getting the ball rolling on this while I had a snippet to share. I have a few more recipes to put up, but will wait until I know I'm on the right track with this wiki page.. Cheers, Kim -Original Message- From: dspace-general-boun...@mit.edu [mailto:dspace-general- boun...@mit.edu] On Behalf Of Dorothea Salo Sent: Friday, 3 April 2009 1:58 a.m. To: dspace Subject: Re: [Dspace-general] digital image collections 2009/4/2 Joachim Räth j.ra...@stadtteilgeschichten.net: Here is another example from Germany, mixing library records and historic images: http://stadtteilgeschichten.net/browse-date We are actually in the process of designing a new - less technical - layout using Manakin, but are still in need of some help. A central source for open DSpace Manakin themes would therefor be greatly appreciated. I agree, and have for some time... but to get forward motion on this, best to bring it forward on the dspace-tech list. If we could get a small flash mob together asking for this, it might actually happen. :) Just me asking for it (as I have, several times) is unlikely to accomplish anything, as I am a notorious annoyance. Dorothea -- Dorothea Salods...@library.wisc.edu Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 ___ Dspace-general mailing list dspace-gene...@mit.edu http://mailman.mit.edu/mailman/listinfo/dspace-general -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Error while running indexer
We are updating from 1.4.2 to 1.5.1. When running the index-init we get the following error: java.lang.NoSuchMethodError: method java.util.Collections.addAll with signature (Ljava.util.Collection;[Ljava.lang.Object;)Z was not found Then the browse by pages either return 500 errors or no-indices found messages. Any ideas on what could be causing the noMethod found error? We are not adding any custom browse by fields and have checked things like java versions and such. Thanks. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] PSQLException OID ### does not exist
We are upgrading to 1.4.2 to 1.5. Java 1.5. Postgres 8.1. After running the indexer we are getting internal errors on the high level browse by pages. The error is: org.postgresql.util.PSQLException: ERROR: relation with OID 54778762 does not exist Oddly the community level browse bys work. I read that it might be a postgres thing and upgrading to 8.3 might fix it. Before I go through that I am looking for confirmation. Has anyone seen this problem and how did you fix it? Thanks. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.???
Hi Van, The original is in [dspace-source]dspace-api/src/main/resources/Messages.properties, as you mention. Your version should go in [dspace-source]/dspace/modules/jspui/src/main/resources – that way ant will always deploy it to [dspace]/webapps when you rebuild. Jewel, hopefully this helps you as well. For your second question, there is no “jsp” directory like there was in earlier versions of Dspace, the JSPs are now in [dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp If you want to make alterations to any, it’s best to copy them to [dspace-source]/dspace/modules/jspui/src/main/webapp and alter them there. This will keep the originals intact and use your copies in any rebuilds. Cheers, Kim From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Friday, 6 March 2009 7:41 p.m. To: Kim Shepherd Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.??? Hi Kim, Thanks. From [0] I have in Messages.properties a line of value jsp.mydspace.request.export.community = Submit But which of the Messages.properties is the source for the installation copy? [1, 2] Without rebuilding, I copied [x] to [y] and inserted that line and restarted tomcat, the button looks as it should without the question marks. I suppose [i] is one source for setting that line... and a DSpace rebuild would do the trick but I don't recall the Messages.properties file was ever installed in the first place. --- details follow [i] -- ## 1.5.1 DSpace has dspace-api/src/main/resources/Messages.properties jsp.mydspace.remove-item.title = Remove Item jsp.mydspace.request.export.collection = Export Collection jsp.mydspace.request.export.item = Export Item jsp.mydspace.subscriptions.info1 = Your subscriptions have been updated. [0] -- ## looking for request.export in jsp files r...@shibsp# find dspace-1.5.1-src-release |fgrep jsp |xargs fgrep -i request.export.community |cat -n 1 dspace-1.5.1-src-release/dspace/target/dspace-1.5.1-build.dir/webapps/jspui/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ \ / 2 dspace-1.5.1-src-release/dspace/modules/jspui/target/war/work/org.dspace/dspace-jspui-webapp/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.expo\ rt.community/ / 3 dspace-1.5.1-src-release/dspace/modules/jspui/target/jspui-1.5.1/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ / 4 dspace-1.5.1-src-release/dspace-jspui/dspace-jspui-webapp/target/dspace-jspui-webapp-1.5.1/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export\ .community/ / 5 dspace-1.5.1-src-release/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ / -- ## looking for jsp.mydspace.request.export.community ## in /usr/local/dspace/webapps/jspui/WEB-INF/classes/Messages.properties 648 jsp.mydspace.remove-item.remove.button = Remove the Item 649 jsp.mydspace.remove-item.title = Remove Item 650 jsp.mydspace.subscriptions.info1 = Your subscriptions have been updated. 651 jsp.mydspace.subscriptions.info2 = To subscribe to a collection, visit the collection's home page, and click on the Subscribe button. [1] -- ## 1.5.0 source [r...@shibdspace dspace-1.5.0-src-release]# find . -name Messages.properties ./dspace/target/dspace-1.5.0-build.dir/webapps/jspui/WEB-INF/classes/Messages.properties ./dspace/modules/jspui/src/main/resources/Messages.properties ./dspace/modules/jspui/target/classes/Messages.properties ./dspace/modules/jspui/target/jspui-1.5.0/WEB-INF/classes/Messages.properties ./dspace-api/src/main/resources/Messages.properties ./dspace-api/target/classes/Messages.properties ## 1.5.0 installation [r...@shibdspace dspace-1.5.0-src-release]# find /dspace -name Messages.properties [x] /dspace/webapps/jspui/WEB-INF/classes/Messages.properties [2] -- ## 1.5.1 source r...@shibsp# cd dspace-1.5.1-src-release r...@shibsp# find . -name Messages.properties ./dspace-api/target/classes/Messages.properties ./dspace-api/src/main/resources/Messages.properties ## 1.5.1 installation r...@shibsp# find /usr/local/dspace/ -name Messages.properties [y] /usr/local/dspace/webapps/jspui/WEB-INF/classes
Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install
Hi Eric, This time, Dspace was unable to connect to the database... (slightly surprising, I would have assumed by your previous error that Dspace had connected to the DB but just couldn't query 'community' -- however, technically that's still true, we just never saw the actual pgsql error) Please check [dspace]/config/dspace.cfg and just make sure that the hostname, username and password are correct for your PostgreSQL database, and that pg_hba.conf (in your postgresql data or config dir) is allowing the appropriate host/user to connect to the Dspace database in the appropriate method. I probably should have reminded to make up existing configs, etc. before running fresh_install, and that [dspace-source]/dspace/config/dspace.cfg is the safest place to keep your local changes. Cheers, Kim -Original Message- From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu] Sent: Friday, 6 March 2009 11:54 a.m. To: Kim Shepherd; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install Hi Kim, Thanks for the response. I believe I had done this before, but as part of my troubleshooting, I recreate the dspace directory and database, generated the installation package, and attempted to run ant fresh_install again, I got: BUILD FAILED: /usr/local/dspace-1.5.1-release/dspace/target/dspace- 1.5.1-build.dir/build.xml:380: Java returned: 1 I've attached the full response I received as a text file. Thanks for all your help. Eric On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote: Hi Eric, Did you build with ant fresh_install after you'd compiled? This ant build target populates the database with the tables/sequences DSpace expects to find... if you've deployed the apps some other way you might find you're still sitting on an empty Dspace database. Cheers, Kim. -Original Message- From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu] Sent: Friday, 6 March 2009 10:35 a.m. To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install Hello, I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and I'm getting some errors: When I run the CreateAdministrator command per the documentation, I get the following response: Exception in thread main java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1127) at java.util.regex.Matcher.reset(Matcher.java:284) at java.util.regex.Matcher.init(Matcher.java:205) at java.util.regex.Pattern.matcher(Pattern.java:879) at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager. j ava:475) at org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445) at org.dspace.eperson.Group.find(Group.java:695) at org.dspace.administer.CreateAdministrator.createAdministrator(CreateAd m inistrator.java:232) at org.dspace.administer.CreateAdministrator.negotiateAdministratorDetail s (CreateAdministrator.java:209) at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.jav a :113) Then, when I go to http://localhost:8080/dspace, I get a 404 page saying the requested resource (/dspace) is not available. My Tomcat 5.5.27 installation appears to be fine. And when I go to http://localhost:8080/jspui, I get the main Dspace page with an Internal System Error message; the dspace log reports the error relation 'community' does not exist. I've included a snippet of the log with this email. I'm using Java version 1.5.0_16. Any help would be greatly appreciated. Cheers, Eric Kurzenberger Digital Media Coordinator Yale School of Architecture Yale University -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install
Ah, that sounds better. Your main webapp is called 'jspui', 'dspace' was the default name of the JSPUI webapp in 1.4, but this is no longer the case in 1.5 If you want /dspace to stay in the base URL, it's a simple case of renaming the jspui webapp before/while deploying to Tomcat. So - nothing to worry about, /jspui is the one you want by default anyway. Cheers, Kim -Original Message- From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu] Sent: Friday, 6 March 2009 12:07 p.m. To: Kim Shepherd; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install So, I restarted the postgresql server, and after doing so, I was able to run ant fresh_install successfully. I now get the initial Dspace is live! page when I go to http://localhost:8080/jspui/. I still get the 404 resource (/dspace) is unavailable page when going to http://localhost:8080/dspace for some reason, but I don't know if that's a symptom of further problems or not. Cheers, Eric On 3/5/09 4:49 PM, Kim Shepherd k...@waikato.ac.nz wrote: Hi Eric, Did you build with ant fresh_install after you'd compiled? This ant build target populates the database with the tables/sequences DSpace expects to find... if you've deployed the apps some other way you might find you're still sitting on an empty Dspace database. Cheers, Kim. -Original Message- From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu] Sent: Friday, 6 March 2009 10:35 a.m. To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Community does not exist error on Mac OS 10.5DSpace install Hello, I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and I'm getting some errors: When I run the CreateAdministrator command per the documentation, I get the following response: Exception in thread main java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1127) at java.util.regex.Matcher.reset(Matcher.java:284) at java.util.regex.Matcher.init(Matcher.java:205) at java.util.regex.Pattern.matcher(Pattern.java:879) at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.j ava:475) at org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445) at org.dspace.eperson.Group.find(Group.java:695) at org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdm inistrator.java:232) at org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails (CreateAdministrator.java:209) at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java :113) Then, when I go to http://localhost:8080/dspace, I get a 404 page saying the requested resource (/dspace) is not available. My Tomcat 5.5.27 installation appears to be fine. And when I go to http://localhost:8080/jspui, I get the main Dspace page with an Internal System Error message; the dspace log reports the error relation 'community' does not exist. I've included a snippet of the log with this email. I'm using Java version 1.5.0_16. Any help would be greatly appreciated. Cheers, Eric Kurzenberger Digital Media Coordinator Yale School of Architecture Yale University -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.???
Hi Van, Yes, you’re correct, that indicates a missing key from Messages.properties – I think this one is known to be missing from the 1.5.1 release, but it’s probably quicker to just add it in yourself rather than try to find it in the tracker. Cheers, Kim. From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Friday, 6 March 2009 3:18 p.m. To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.??? Hi, On a new installation of 1.5.1 DSpace, after creating a community, I see in the Admin Tools part of the web-frontend a button labelled ???jsp.mydspace.request.export.community.??? It shows below the buttons edit, create collection, create sub-community. Does anyone know what's missing? perhaps something related to Messages.properties? Thanks in advance. -- Van Ly -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Assigning input forms to collections
From: Mark H. Wood [mailto:mw...@iupui.edu] Sent: Friday, 27 February 2009 5:14 a.m. On Thu, Feb 26, 2009 at 04:31:28PM +0200, mikan.d.dspace listmail wrote: At the moment Dspace uses input-forms.xml to map different forms for each collection. Has any effort been made to allow administrators to do this via web UI? This would greatly reduce the need for system-admins to touch DSpace installation and should be added to future feature requests. This sounds like a good thing. It would automate a very tedious process that uses information which is much more accessible to the machine than to the human. It's possible to get the database out of sync. with the form designs, but then it was always possible to get the mapping element out of sync. with the actual form designs too, and (either way) it's not too hard to build a periodic check if this becomes a serious issue. Would you submit a feature-request tracker item on SourceForge? I think that this should be an ordinary editable attribute of the collection, so that the collection's admin.s can do it without bothering/waiting for the site admin.s. +1! That sounds like a great idea to me, too.. at the moment, repository admins can edit their metadata registries, bitstream format registries, etc. but still have to wait for me when they want to map a collection to a new form in input-forms.xml (which in itself is tedious to maintain, as Mark points out). Even just getting the mapping in would be great, but I'd also love an 'Edit Input Forms' page with a similar layout and function to the Metadata Registry page, ie. Type the name of your form element, choose the input type (text,combo,checkbox, etc) from a dropdown list, set required yes/no, assign controlled vocabs if necessary.. Cheers, Kim -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] script to validate all PDFs ?
Hi Stuart, Example assetstore file: ${dspace.dir}/assetstore/95/80/98/95809816172544348784747013964495251419 The filename itself is in bitstream.internal_id in the dspace database, and the directory names are just the first 6 numbers of the internal ID. Here's a SQL query that resolves internal_ids to item_id (aka record ID) and handle (which should tie into URL): select item.item_id,handle,bitstream.internal_id from item,item2bundle,bundle2bitstream,handle,bitstream where item.item_id = item2bundle.item_id and item2bundle.bundle_id = bundle2bitstream.bundle_id and bundle2bitstream.bitstream_id = bitstream.bitstream_id and handle.resource_id = item.item_id; I've never looked at writing a script based on this (we are just doing the standard checksum checking at the moment) but it shouldn't be too difficult. (if you want to cut down on analysing non-PDFs with 'file', you could use bitstream.bitstream_format_id to build a list of PDFs before running the filesystem-level tools, too..) Cheers, Kim. -- Kim Shepherd IRR Technical Specialist ITS Systems Development The University of Waikato DDI +64 7 838 4025 -Original Message- From: stuart yeates [mailto:stuart.yea...@vuw.ac.nz] Sent: Wednesday, 25 February 2009 9:03 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] script to validate all PDFs ? Does anyone have a script that checks all of the previously uploaded PDFs and find ones that are malformed and reports their URLs/record IDs? I can see how to write a script that uses the unix command line 'file' and 'pdftops' tools to check that every file that looks like a PDF is a good and valid PDF. Going from a file on the disk to a database record I'm not too sure of. cheers stuart -- Stuart Yeates http://www.nzetc.org/ New Zealand Electronic Text Centre http://researcharchive.vuw.ac.nz/ Institutional Repository --- --- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Creator name not showing on browse/search
Hi, I'm thinking you might not need to go this deep. This is from a standard Dspace 1.5.1 configuration file: ## Set the options for how authors are displayed in the browse listing # Define which field is the author/editor etc listing. This should be listed in the # field webui.itemlist.columns, otherwise it will have no effect. # This cannot be a field already marked out as a title or a date, as this # will also have no effect. This is used in conjunction with the # webui.browse.author-limit field below, to truncate author lists. For # configuring links to author publication lists use webui.browse.link below. # (This setting is not used by the XMLUI as it is controlled by your theme) # # webui.browse.author-field = dc.contributor.* I am assuming that uncommenting the 'webui.browse.author-field' property and setting it to dc.creator will achieve what you're after in terms of telling Dspace who the author is. Note that you will have to confirm the column configuration in webui.itemlist.columns as well: In your case, you'll probably want to change: webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, dc.contributor.* to webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, dc.creator Hope this helps! Cheers, Kim -Original Message- From: Allen Lam [mailto:allen.dsp...@gmail.com] Sent: Thursday, 12 February 2009 2:29 p.m. To: Shaun Burriss; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Creator name not showing on browse/search Hi Shaun, As far as I could remember, to have changes in the browse listing you may need to modify the following files: BrowseServlet.java BrowseListTag.java full.jsp single.jsp The jsp is for jspui only. Something else is needed to be done if you are using xmlui. The above files are related to browsing. Search result listing is another story. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Shaun Burriss wrote: Hi Allen, Thanks for your reply. Which jsp's do we need to modify to have dc.creator show up on the browse/results page, rather than dc.contributor.author? Regards, Shaun. Which jsp file should we modify? Allen Lam allen.dsp...@gmail.com 12/02/2009 11:54 am Shaun, The third column in the browse-title page is supposed to display the author names, which is recorded in dc.contributor.author. Changing the heading to Creator(s) is not enough. You need to modify some jsp and servlets to have dc.creator show up. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Shaun Burriss wrote: Hello all, We have a problem on our DSpace where the creator name is not displaying on the browse/search results page. See here for an example http://images.swinburne.edu.au/browse-title. Can anyone help with this problem? Regards Shaun. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today- http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech --- --- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today- http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech