Re: [Dspace-tech] Browse index on new DC field
Hi Lyn, I have the proper versions of all the support apps. Perhaps the embargo code caused some unforeseen problems? no idea, never tried it. But it shouldn't. Nothing under [dspace-source]/dspace/modules/xmlui/src/main/webapp I made the changes to [dspace-source]dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages.xml You should copy the messages.xml to the modules section and customize it there. The stuff in the modules will be used as an overlay. 3. change [dspace-source]/dspace/config/dspace.cfg webui.browse.index[newNumber] = consignmentnumber:metadata:dc.description.consignmentnumber:text yes In the dspace source directory? Just to make sure 5. run ant init_configs update I have no target for init_configs. I did use ant update But you are sure the right dspace.cfg is in the installation directory? ant update does not copy anything new/changed in the config directory. 7. run [dspace]/bin/index-init yes And there were nor other error messages and the tables bi* were created? Claudia Jürgen -- 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] Browse index on new DC field
I've heard nothing back on this one. I'm still having the problem and it is just about to drive me insane. I've carefully rebuilt and restarted everything, the database, dspace, the server... and run index-init, but nothing seems to help. As soon as I put in any data in one of the new browse fields, I get a bunch of stacktraces. I *must* be missing something. As far as I can tell from the system doc, all I should have to do is add the webui.browse.index.[n] line to dspace.cfg, run index-init and it should just work. Am I wrong? (I've also tried rebuilding dspace, restarting tomcat and the database afterwards, but no change.) My next option is to rebuild from the release version and hope that works. It would be unfortunate however, as I really needed the embargo functionality, and that has to be applied as a patch to the source code. Any ideas or suggestions welcome. 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 From: Lyn Amery [mailto:lyn.am...@sro.wa.gov.au] Sent: Monday, 23 February 2009 12:40 PM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Browse index on new DC field Hi all, I've installed 1.5.1 (using the source release) on a Ubuntu 8 system and using XML/Manakin. I want to be able to browse using a new metadata field I have added to the DC schema. I have added the parameter in dspace.cfg as follows: webui.browse.index.5 = consignmentnumber:metadata:dc.description.consignmentnumber:text As long as there's no actual data in the consignmentnumber field in any of the items, selecting Browse by Consignment No. seems to work. At least a page is delivered, looking like what you'd expect, but with no items matching. As soon as I put some data into this field in an item, a page stating An error has occured java.lang.NullPointerException is delivered instead, complete with Cocoon and Java stacktraces, which don't mean much to me. I had this feature running on a test system which I put together with the release version of 1.5.1. It's possible I missed something when I brought the mods across. I tend to think, though, that the config is correct as I can search by consignmentnumber, and that browsing seems to work at least as long as there's no data in the field. Perhaps there's a patch somewhere? 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 -- 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
[Dspace-tech] Browse index on new DC field
Hi all, I've installed 1.5.1 (using the source release) on a Ubuntu 8 system and using XML/Manakin. I want to be able to browse using a new metadata field I have added to the DC schema. I have added the parameter in dspace.cfg as follows: webui.browse.index.5 = consignmentnumber:metadata:dc.description.consignmentnumber:text As long as there's no actual data in the consignmentnumber field in any of the items, selecting Browse by Consignment No. seems to work. At least a page is delivered, looking like what you'd expect, but with no items matching. As soon as I put some data into this field in an item, a page stating An error has occured java.lang.NullPointerException is delivered instead, complete with Cocoon and Java stacktraces, which don't mean much to me. I had this feature running on a test system which I put together with the release version of 1.5.1. It's possible I missed something when I brought the mods across. I tend to think, though, that the config is correct as I can search by consignmentnumber, and that browsing seems to work at least as long as there's no data in the field. Perhaps there's a patch somewhere? 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 -- 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