[Dspace-tech] problem in adding new search field

2013-04-18 Thread VINAY G
How to add one more search filed in the dspace -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset

[Dspace-tech] Cannot add one more search in dspace

2013-04-18 Thread VINAY G
I am able to add new metadata to search field but I am not able to add new search field in dspace(there will be 3 default search fieds but i want add one more). so ,I added String query4, field4, conjunction3 in c:/tomcat/jspui/serach/advanced.jsp but the result is search produced no results cud

[Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread Irene Zamora del rio
Hi, I'm trying to create an administrator account for DSpace using the command dsrun. I follow step by step the how-to guide but when I put the command 'dsrun org.dspace.administer.CreateAdministrator is not recognized as a command by the system. I've already configure all environment

Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread helix84
Hi Irene, which dspace version are you using? In all recent DSpace version you're now using the dspace script instead of dsrun: [dspace]/bin/dspace create-administrator In any case, if you're following outdated documentation, you're likely to run into other problems as well. Follow the

[Dspace-tech] Disable anonymous read access

2013-04-18 Thread Kai Bjørnenak
Hello, I would like only authenticated users to be able to access the collections in our dspace-installation. Is there an easy way to accomplish this? Except having to go into each collection via the authorization GUI and remove anonymous access manually? Regards Kai Bjørnenak

Re: [Dspace-tech] Disable anonymous read access

2013-04-18 Thread helix84
Hi Kai, you could try to remove these rows (while DSpace is down): SELECT * FROM resourcepolicy WHERE resource_type_id = '3' AND epersongroup_id = '0' I haven't tested it in any way, so do not even think about trying it without a proper backup. Regards, ~~helix84 Compulsory reading: DSpace

Re: [Dspace-tech] Disable anonymous read access

2013-04-18 Thread Kai Bjørnenak
Currently that query returns zero rows, I guess that's because I've already deleted anonymous read access from the collections? The reason I wanted this was that anonymous read access got reinstated whenever we've done changes and had to rebuild dspace. It also seems like removing anonymous

Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread jayachandra B
which os are you using On Thu, Apr 18, 2013 at 4:31 PM, helix84 heli...@centrum.sk wrote: Hi Irene, which dspace version are you using? In all recent DSpace version you're now using the dspace script instead of dsrun: [dspace]/bin/dspace create-administrator In any case, if you're

Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread Irene Zamora del rio
Hi, I'm using Windows XP. 2013/4/18 jayachandra B jayachandra1...@gmail.com which os are you using On Thu, Apr 18, 2013 at 4:31 PM, helix84 heli...@centrum.sk wrote: Hi Irene, which dspace version are you using? In all recent DSpace version you're now using the dspace script instead of

Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread jayachandra B
go to dspace source directory /bin directory in command line after building with ant fresh_install then use the following command to create administrator account (dspace create-administraor). example: c:/dspace/bin dspace create-administrator On Thu, Apr 18, 2013 at 7:23 PM, Irene Zamora del

Re: [Dspace-tech] DCInput.java

2013-04-18 Thread helix84
Hi Jose, that's most likely due to Cocoon caching. I don't have much experience with it, but try looking how to declare an URL endpoint not cached. It's probably configurable via the sitemap. Try starting here: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html Regards, ~~helix84

Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2013-04-18 Thread André
Dear all, Has anyone had success in implementing this patch to DS3.1 xmlui mirage? The page supportedLocale metadata does not appear in the DRI; even if I force something like pageMeta.addMetadata(page, supportedLocale).addContent(de); it does not appear. Thank you and regards André Assada

[Dspace-tech] Context and mets

2013-04-18 Thread Drover, Matt
Hi, I'm running dspace 3.0 using xmlui. I recently had to make a change to AbstractAdapter.java as I needed a change in my mets. I'm adding a fake fileSec section for certain items. I run a simple db query via the DatabaseManager class to determine which items. Context context = new

Re: [Dspace-tech] DCInput.java

2013-04-18 Thread Jose Blanco
I tried this in aspects/Submission/sitemap.xmap: map:pipeline type=noncaching and no change. I also tried changes the SubmissionInfo.java so that it would not use the cache and no change. Really stuck on this one. -Jose On Thu, Apr 18, 2013 at 11:04 AM, helix84 heli...@centrum.sk wrote:

Re: [Dspace-tech] DCInput.java

2013-04-18 Thread Jose Blanco
I found it. DCInputsReader.java In there I blocked the use of the cache. -Jose On Thu, Apr 18, 2013 at 3:07 PM, Jose Blanco blan...@umich.edu wrote: I tried this in aspects/Submission/sitemap.xmap: map:pipeline type=noncaching and no change. I also tried changes the SubmissionInfo.java

Re: [Dspace-tech] Context and mets

2013-04-18 Thread Andrea Schweer
Hi Matt, On 19/04/13 06:18, Drover, Matt wrote: Context context = new Context(); String query = "select metadatavalue.text_value from metadatavalue where item_id=" + item_id + " and

Re: [Dspace-tech] Context and mets

2013-04-18 Thread Matthew Drover
I was doing context.complete() instead of context.abort(). Thanks Andrea! On 2013-04-18 7:23 PM, Andrea Schweer schw...@waikato.ac.nz wrote: Hi Matt, On 19/04/13 06:18, Drover, Matt wrote: Context context = new Context(); String query = select

Re: [Dspace-tech] can't create administrator account using dsrun command

2013-04-18 Thread Irene Zamora del rio
Thanks a lot for the information, it was quite useful, finally I achieved create an administrator account, like helix said I was following outdated documentation. Thanks to everyone. 2013/4/18 jayachandra B jayachandra1...@gmail.com go to dspace source directory /bin directory in command