Re: [Dspace-tech] Technique for Deploy Web Applications in DSpace
On Thu, Feb 6, 2014 at 5:43 AM, Bhavesh Patel bhavesh.bece...@gmail.com wrote: What may be the difference between Context Path define on server.xml and as Technique A (creating xml files) ? Separate xml files (context fragments) are a newer approach in Tomcat. They let you easily deploy, undeploy and restart webapps on a running Tomcat simply by moving or changing these xml files. When they're defined in server.xml, everything still works, but you won't be able to do these operations simply by manipulating files. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Community suscription alerts
On Wed, Feb 5, 2014 at 10:52 PM, Manuel Hidalgo manuel.hida...@iica.int wrote: Could be possible to have a suscription alerts to communities on dspace? No, this functionality is currently available only for communities, see documentation: https://wiki.duraspace.org/display/DSDOC4x/Email+Subscriptions I suggest you use RSS feeds instead of email subscriptions. They work for communities or the whole site, too, and they stress your server much less because they're generated periodically, independently from number of user subscriptions. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] enter first few letters in xmlui browse not working correctly
Hello Hui, did you update the Lucene index (run index-init once, index-update periodically)? Even though search uses Solr if you enable it, browse still uses the older Lucene index. This might be a result of empty index. If that doesn't help, you may have found a bug. I'm not sure we'd be fixing it as we're moving away from Lucene to Solr (Solr is now default in DSpace 4.0). Alternatively, you may try the Solr browse feature which was still experimental in DSpace 3: browseDAO.class = org.dspace.browse.SolrBrowseDAO browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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 statistics
Ok. Great. What was the fix? *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 On 6 February 2014 11:13, Lewatle Phaladi lewatle.phal...@wits.ac.zawrote: Hi Hilton, Thanks I have stats working at the moment. Regards, Lewatle *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com] *Sent:* 05 February 2014 04:08 PM *To:* Lewatle Phaladi *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] DSpace statistics Ok. It should be your first troubleshooting step. Cheers hg *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 On 5 February 2014 16:00, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Not yet *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com] *Sent:* 05 February 2014 04:00 PM *To:* Lewatle Phaladi *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] DSpace statistics Ok. Did you check SOLR is working? http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics#Check_SOLR_webapp_operation Cheers hg *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 On 5 February 2014 15:56, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Yes I did *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com] *Sent:* 05 February 2014 03:49 PM *To:* Lewatle Phaladi *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] DSpace statistics Ok. Did you do this before the upgrade: http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics/3.2#Please_note: ?? *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 On 5 February 2014 15:15, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Good Day Hilton, It happened after upgrade from 1.8.2 to 3.2 Regards, Lewatle *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com] *Sent:* 05 February 2014 03:13 PM *To:* Lewatle Phaladi *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] DSpace statistics Hi Lewatle Did this start to happen after an upgrade or are you talking about a totally new system? If it's an upgrade, then these links are important; https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-StatisticsdifferencesbetweenDSpace1.6.xand1.7.0 https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-StatisticsdifferencesbetweenDSpace1.7.xand1.8.0 Cheers hg *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 On 5 February 2014 14:35, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi DSpace Team, I am configuring dspace stats module and I am encountering some problems while setting it up, after I followed online documentations on how to enable the module I found that GeoLiteCity.dat is not available in /dspace3.2/config directory and I downloaded it manually and restarted tomcat as the documents indicates and when I refresh dspace on my browser I get blank page, I have also done symbolic link for all my dspace webapps to Tomcat, I have followed the following documentations https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics and http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics/3.2 *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 authorised signatories are competent to enter into agreements on behalf of the University
[Dspace-tech] SUNScholar/Upgrading/DSpace/Release Notes/3.2 - Libopedia
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/3.2 Hi All Sorry for cross-posting, but this gets the message to as many people as possible without repeating email message and perhaps making mistakes. Stellenbosch University Library planned an upgrade of DSpace from 1.8.2 to DSpace 3.2 during our summer vacation (Dec/Jan). The upgrade was tested on our test/development server first and then applied to our production server. The test server upgrade went well. However when we applied the upgrade to our production server, things started to pop up, which could not be anticipated on the test server. The problem items are listed in the link above. *For those planning an upgrade from DSpace 1.8.2 to DSpace 3.2 on a production server are advised to check the links referenced by the URL above very carefully.* Regards Hilton Gibson -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Editing item-submission.xml file dspace 3.2
Hi, I want to shorten the submission process for uploading an item into dspace. Once I have edited the item-submission.xml file (e.g. Removed the initial question steps) I then restart Tomcat. However once I do this, the browser does not load even when Tomcat has successfully started. Should I be restarting Tomcat? Missing any important steps? Regards, Anthony __ Anthony Prodromou ITS Intern Schlumberger Gould Research High Cross, Madingley Road, Cambridge, CB3 0EL Tel: +44 1223 325455 Mob: +44 7904 903998 __ Registered Name: Schlumberger Cambridge Research Limited Registered Office: Victory House, Churchill Court, Manor Royal, Crawley, West Sussex, RH10 9LU Registered in England and Wales No. 606177 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Editing item-submission.xml file dspace 3.2
On Thu, Feb 6, 2014 at 11:25 AM, Anthony Prodromou aprodro...@slb.com wrote: I want to shorten the submission process for uploading an item into dspace. Once I have edited the item-submission.xml file (e.g. Removed the initial question steps) I then restart Tomcat. Look at the patch at the end of this issue to see how to disable the initial step: https://jira.duraspace.org/browse/DS-1655 Should I be restarting Tomcat? Yes. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Editing item-submission.xml file dspace 3.2
On Thu, Feb 6, 2014 at 12:52 PM, Anthony Prodromou aprodro...@slb.comwrote: Hi Ivan, The issue is that when I restart Tomcat even without making any changes – I am unable to load the browser. As you can see I just get a blank page. Do you know why this error occurs when restarting Tomcat on Windows? Thanks, Anthony __ Anthony Prodromou *ITS Intern* Schlumberger Gould Research High Cross, Madingley Road, Cambridge, CB3 0EL Tel: +44 1223 325455 Mob: +44 7904 903998 __ Registered Name: Schlumberger Cambridge Research Limited Registered Office: Victory House, Churchill Court, Manor Royal, Crawley, West Sussex, RH10 9LU Registered in England and Wales No. 606177 Please, always reply to dspace-tech, never directly to me. I'll need to see the relevant part of your dspace.log and/or catalina.out. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette image001.jpg-- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Pxpdf-mediafilter configuration
Hello Guys, I am configuring Pxpdf-mediafilter on my ubuntu dspace 3.2 server, it's not working. Below are my logs. Kindly help [INFO] DSpace SOLR :: Local Customizations [INFO] DSpace OAI 2.0 :: Local Customizations [INFO] DSpace Assembly and Configuration [INFO] [INFO] [INFO] Building DSpace Addon Modules 3.2 [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ modules --- [INFO] [INFO] [INFO] Building DSpace Kernel :: Additions and Local Customizations 3.2 [INFO] [INFO] [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules .. SUCCESS [0.667s] [INFO] DSpace Kernel :: Additions and Local Customizations FAILURE [1.212s] [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED [INFO] DSpace LNI :: Local Customizations SKIPPED [INFO] DSpace JSP-UI :: Local Customizations . SKIPPED [INFO] DSpace SWORD :: Local Customizations .. SKIPPED [INFO] DSpace SWORD v2 :: Local Customizations ... SKIPPED [INFO] DSpace SOLR :: Local Customizations ... SKIPPED [INFO] DSpace OAI 2.0 :: Local Customizations SKIPPED [INFO] DSpace Assembly and Configuration . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.762s [INFO] Finished at: Fri Jan 31 11:41:04 EAT 2014 [INFO] Final Memory: 8M/19M [INFO] [ERROR] Failed to execute goal on project additions: Could not resolve dependencies for project org.dspace.modules:additions:jar:3.2: Failure to find javax.media:jai_core:jar:1.1.2_01 in http://oss.sonatype.org/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :additions -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Pxpdf-mediafilter configuration
Try it again with: mvn -U clean package Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Pxpdf-mediafilter configuration
Thanks for your response with mvn -U clean package build runs successfully but sudo mvn -Pxpdf-mediafilter-support package trying to enable that package it fails. Kind Regards, Robert On Thu, Feb 6, 2014 at 4:22 PM, helix84 heli...@centrum.sk wrote: Try it again with: mvn -U clean package Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Robert Achang'a Onyari box 53174, 00200 Nairobi, Kenya. +254 726240903 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Pxpdf-mediafilter configuration
It should be within the same mvn run: mvn -U clean package -Pxpdf-mediafilter-support Alternatively, delete your ~/.m2/ directory to force maven to download all dependencies again. Do you have any reason to run maven as root? There's no need to do so. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Pxpdf-mediafilter configuration
Actually i have run it before while troubleshooting. i deleted ~/.m2/repository and downloaded afresh and i didn't work. I have done it again today, check the error message below Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar(1260 KB at 120.2 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar(4350 KB at 95.2 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/1.6.0/pdfbox-1.6.0.jar(3735 KB at 36.4 KB/sec) [INFO] [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules .. SUCCESS [1:09.478s] [INFO] DSpace Kernel :: Additions and Local Customizations FAILURE [9:45.998s] [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED [INFO] DSpace LNI :: Local Customizations SKIPPED [INFO] DSpace JSP-UI :: Local Customizations . SKIPPED [INFO] DSpace SWORD :: Local Customizations .. SKIPPED [INFO] DSpace SWORD v2 :: Local Customizations ... SKIPPED [INFO] DSpace SOLR :: Local Customizations ... SKIPPED [INFO] DSpace OAI 2.0 :: Local Customizations SKIPPED [INFO] DSpace Assembly and Configuration . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 10:59.075s [INFO] Finished at: Thu Feb 06 17:00:19 EAT 2014 [INFO] Final Memory: 10M/26M [INFO] [ERROR] Failed to execute goal on project additions: Could not resolve dependencies for project org.dspace.modules:additions:jar:3.2: The following artifacts could not be resolved: com.sun.media:jai_imageio:jar:1.0_01, javax.media:jai_core:jar:1.1.2_01: Could not find artifact com.sun.media:jai_imageio:jar:1.0_01 in sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command On Thu, Feb 6, 2014 at 4:44 PM, helix84 heli...@centrum.sk wrote: It should be within the same mvn run: mvn -U clean package -Pxpdf-mediafilter-support Alternatively, delete your ~/.m2/ directory to force maven to download all dependencies again. Do you have any reason to run maven as root? There's no need to do so. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Robert Achang'a Onyari box 53174, 00200 Nairobi, Kenya. +254 726240903 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Pxpdf-mediafilter configuration
I see. Did you skip this step? https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-Fetchandinstalljai_imageioJAR If you didn't, did you do it under the same user as you're building DSpace? Above you're building DSpace as root, so in that scenario you'd also need to install jai_imageio to root's ~/.m2/. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] How to stop using full text search?
Hello We are in DSpace 3.2 XMLUI. I am trying to stop our DSpace from using the full text extracted by filter-media in the search. I already commented out the filter.plugins from dspace.org but I don't think that is enough. Is there a configuration that we can do to define which fields will be indexed for the search? Thanks in advance Rodrigo -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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 stop using full text search?
On Thu, Feb 6, 2014 at 3:56 PM, Calloni, Rodrigo rcall...@iadb.org wrote: I already commented out the filter.plugins from dspace.org but I don't think that is enough. The Solr index still contains the previously extracted text. You have to rebuild the Solr index: [dspace]/bin/dspace update-discovery-index -b Is there a configuration that we can do to define which fields will be indexed for the search? Yes, you can comment out the fulltext fields from [dspace]/solr/search/conf/schema.xml before you reindex. Alternatively, since you already disabled the filters, you can just remove the extracted text files from the TEXT bundles and rebuild the index - thus there will be nothing to add to the index. This approach also ensures that you didn't leave any extracted bitstreams in TEXT bundles lying around, potentially exposed anonymously (I don't remember off-hand whether these are accessible via HTTP). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] SOLR Optimize fails
Hello, After upgrading from v1.7.2 to 3.2, our usage statistics no longer display. While tracking down the issue, I tried to run the stats-util –o command. It fails with a Internal Server Error. SOLR Optimize -- Process Started:1391700312769 Exception: Internal Server Error Internal Server Error request: http://{our.site.edu}/solr/statistics/update org.apache.solr.common.SolrException: Internal Server Error Internal Server Error request: http://{our.site.edu}/solr/statistics/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:94) at org.apache.solr.client.solrj.SolrServer.optimize(SolrServer.java:82) at org.dspace.statistics.SolrLogger.optimizeSOLR(SolrLogger.java:939) at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Thinking this might be a result of upgrading, I returned the site to its pre-upgrade version 1.7.2. However, running stats-util in this version fails with the same error. Any pointers on what to look for? Thanks, Andy Andy Smith Lead Technology Analyst/Programmer IUPUI University Library andjs...@iupui.edu (317) 274-0482 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] SOLR Optimize fails
This is just a generic message from DSpace that Solr returned and error. You have to find the Solr error in the Tomcat log (catalina.out). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] SOLR Optimize fails
Thanks for the reply. Here is what I find in the Tomcat log: Feb 06, 2014 11:39:45 AM org.apache.solr.core.SolrCore execute INFO: [statistics] webapp=/ajs/isw-1.7/solr path=/select params={q=type:2+AND+id:1wt=javabinversion=1} hits=4 status=0 QTime=1 Feb 06, 2014 11:39:45 AM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit(optimize=true,waitFlush=true,waitSearcher=true,expungeDeletes=false) Feb 06, 2014 11:39:45 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {} 0 1 Feb 06, 2014 11:39:45 AM org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: Failed to acquire random test lock; please verify filesystem for lock directory '/home/andjsmit/dspace/isw-1.7/solr/statistics/data/index' supports locking at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:99) at org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactory.java:137) at org.apache.lucene.store.Directory.makeLock(Directory.java:131) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1563) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1421) at org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:191) at org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:98) at org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:173) at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:402) at org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:85) at org.apache.solr.handler.RequestHandlerUtils.handleCommit(RequestHandlerUtils.java:107) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:48) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source) at org.apache.coyote.ajp.AjpProcessor.process(Unknown Source) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Unknown Source) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.lucene.store.LockReleaseFailedException: Cannot forcefully unlock a NativeFSLock which is held by another indexer component: /home/andjsmit/dspace/isw-1.7/solr/statistics/data/index/lucene-f8487b8bf55244e941659d24a471594b-lucene--59z8n1-test.lock at org.apache.lucene.store.NativeFSLock.release(NativeFSLockFactory.java:321) at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:91) ... 34 more Feb 06, 2014 11:39:45 AM org.apache.solr.core.SolrCore execute INFO: [statistics] webapp=/ajs/isw-1.7/solr path=/update params={optimize=truewaitSearcher=truemaxSegments=1waitFlush=truewt=javabinversion=1} status=500 QTime=1 Feb 06, 2014 11:39:45 AM org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: Failed to acquire random test lock; please verify filesystem for lock directory '/home/andjsmit/dspace/isw-1.7/solr/statistics/data/index' supports locking at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:99) at
Re: [Dspace-tech] How to stop using full text search?
OK, I don't know why, but perhaps the -b flag isn't removing the old contents. Try removing the index manually: cp -r [dspace]/solr/search/data/index [dspace]/solr/search/data/index.bak rm [dspace]/solr/search/data/index/* And then recreate it with the new schema using: [dspace]/bin/dspace update-discovery-index You should be able to verify that these fields are gone from the index by going to the Solr admin UI [1]. Actually, do this even now before you execute the above steps, just to confirm the problem. [1] https://wiki.duraspace.org/display/DSPACE/Solr Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] SOLR Optimize fails
Keep a backup of the old index somewhere ([dspace]/solr). Delete all *.lock files and try again. Restarting Tomcat won't hurt. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Error after upgrading from 3.2 to 4.0
Hello, I'm getting the following error (below) after upgrading DSpace from version 3.2 to 4.0. I see a similar error when trying to access the xmlui. I followed all the steps written in the manual. Note that I successfully upgrade 1.8.x to 3.2 a few days ago. Thanks in advance for your help. Anthony Petryk Emerging Technologies Librarian | Bibliothécaire des technologies émergentes uOttawa Library | Bibliothèque uOttawa 613-562-5800 x4650 apet...@uottawa.camailto:apet...@uottawa.ca -- 2014-02-06 11:44:38,259 ERROR org.dspace.jsp @ caught exception: org.dspace.plugin.PluginException: ERROR: relation community does not exist Position: 15 at org.dspace.app.webui.components.TopCommunitiesSiteProcessor.process(TopCommunitiesSiteProcessor.java:53) at org.apache.jsp.index_jsp._jspService(index_jsp.java:120) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.postgresql.util.PSQLException: ERROR: relation community does not exist Position: 15 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:221) at org.dspace.content.Community.findAllTop(Community.java:314) at
Re: [Dspace-tech] How to stop using full text search?
Thanks Ivan. When I commented out the fulltext lines on schema.xml and the reindex finished very quickly and the search stopped. !--field name=text type=text indexed=true stored=false multiValued=true/ -- !--field name=fulltext type=text indexed=true stored=true multiValued=true/ -- I restored the lines and the reindex finished ok. But full text is still being used. Any ideas? Rodrigo -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, February 06, 2014 10:52 AM To: Calloni, Rodrigo Cc: dspace-tech Subject: Re: [Dspace-tech] How to stop using full text search? On Thu, Feb 6, 2014 at 3:56 PM, Calloni, Rodrigo rcall...@iadb.org wrote: I already commented out the filter.plugins from dspace.org but I don't think that is enough. The Solr index still contains the previously extracted text. You have to rebuild the Solr index: [dspace]/bin/dspace update-discovery-index -b Is there a configuration that we can do to define which fields will be indexed for the search? Yes, you can comment out the fulltext fields from [dspace]/solr/search/conf/schema.xml before you reindex. Alternatively, since you already disabled the filters, you can just remove the extracted text files from the TEXT bundles and rebuild the index - thus there will be nothing to add to the index. This approach also ensures that you didn't leave any extracted bitstreams in TEXT bundles lying around, potentially exposed anonymously (I don't remember off-hand whether these are accessible via HTTP). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Error after upgrading from 3.2 to 4.0
On Thu, Feb 6, 2014 at 5:54 PM, Anthony Petryk anthony.pet...@uottawa.ca wrote: org.dspace.plugin.PluginException: ERROR: relation community does not exist That means that DSpace cannot see the community table. Did you configure DSpace to use the right database and schema? Perhaps you have an empty database without tables lying around and you mistakenly told DSpace to use that. Try connecting to the same database that DSpace is configured to connect to and send me the list of tables. (the \dt command in psql). There should be around 50 tables there. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Error after upgrading from 3.2 to 4.0
My mistake - I was pointing to the wrong database (I guess it helps to follow the instructions and edit build.properties!). Thanks for your help. Anthony -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, February 06, 2014 12:32 PM To: Anthony Petryk Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Error after upgrading from 3.2 to 4.0 On Thu, Feb 6, 2014 at 5:54 PM, Anthony Petryk anthony.pet...@uottawa.ca wrote: org.dspace.plugin.PluginException: ERROR: relation community does not exist That means that DSpace cannot see the community table. Did you configure DSpace to use the right database and schema? Perhaps you have an empty database without tables lying around and you mistakenly told DSpace to use that. Try connecting to the same database that DSpace is configured to connect to and send me the list of tables. (the \dt command in psql). There should be around 50 tables there. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] Error after upgrading from 3.2 to 4.0
On Thu, Feb 6, 2014 at 6:42 PM, Anthony Petryk anthony.pet...@uottawa.ca wrote: My mistake - I was pointing to the wrong database (I guess it helps to follow the instructions and edit build.properties!). I recommend against editing build.properties directly as they can be overwritten (depends on your usage). You can copy build.properties to local.properties, change that and then always use mvn package -Denv=local. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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] SOLR Optimize fails
Using 'wget' with a sample request from one of these log entries suggests that Found means we got back a 302 Found HTTP response code: mwood@savage ~ $ wget 'https://scholarworks.iupui.edu/solr/statistics/select?rows=0q=type: 2 AND id:807facet.mincount=1shards=scholarworks.iupui.edu/solr/statisticsfacet.field=idfacet=truefacet.limit=10fq=-isBot:truefq=-(bundleName:[* TO *]-bundleName:ORIGINAL)fq=-(statistics_type:[* TO *] AND -statistics_type:view)wt=javabinversion=2' --2014-02-06 12:12:28-- https://scholarworks.iupui.edu/solr/statistics/select?rows=0q=type:%202%20AND%20%20id:807facet.mincount=1shards=scholarworks.iupui.edu/solr/statisticsfacet.field=idfacet=truefacet.limit=10fq=-isBot:truefq=-(bundleName:[*%20TO%20*]-bundleName:ORIGINAL)fq=-(statistics_type:[*%20TO%20*]%20AND%20-statistics_type:view)wt=javabinversion=2 Resolving scholarworks.iupui.edu... 2001:18e8:3:be::102, 134.68.190.85 Connecting to scholarworks.iupui.edu|2001:18e8:3:be::102|:443... connected. HTTP request sent, awaiting response... 302 Found Location: unspecified ERROR: Redirection (302) without location. So we need to figure out what is redirecting and why. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Metadata based on language selection.
Hi, I have a question about a recent DSpace implementation I did in my organization. Users ask me to show different metadata based on language selection. I mean, if the user sets English as language for the site, he should see metadata a, b and c, but if he chooses Spanish, he should see metadata d, e and f. Is it possible?. Anyone of you have a similar experience or requeriment? -- Atte. *Sergio Fredes Mena* -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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] Problem Enabling Discovery
Hi all, I'm following the steps listed in the documentation to enable discovery, but it doesn't appear to have worked. I'm not receiving any error messages, I just am not getting a faceted sidebar or search options. As for specifics: -running DSpace 3.2 using XMLUI -followed the steps in https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-StepsrequiredforXMLUI -the only exception was commenting out the 8080 portion of my solr search url--this caused me to get an error (Connection refused). Leaving the 8080 removed the error. Any help would be greatly appreciated. Thank you! -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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 stop using full text search?
Thanks again, I am getting Internal Server Error when I run the index after cleaning up the index and changing the schema.xml [dspace@ip-172-31-28-251 bin]$ ./dspace update-discovery-index INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=23dd0b1b-b577-456b-a835-3e81125b28c9,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1217) - Loading from classloader: file:/home/dspace/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1217) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1217) - Loading: /home/dspace/dspace/config/log4j.properties Exception: Error executing query org.dspace.discovery.SearchServiceException: Error executing query at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418) at org.dspace.discovery.IndexClient.main(IndexClient.java:119) 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:183) Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:266) at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388) ... 6 more Caused by: org.apache.solr.common.SolrException: Internal Server Error Internal Server Error request: http://localhost:8080/solr/search/select?q=search.resourcetype:2 AND search.resourceid:1wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:432) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:246) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89) ... 9 more When I add -b the error message doesn't show up. Rodrigo -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, February 06, 2014 11:51 AM To: Calloni, Rodrigo Cc: dspace-tech Subject: Re: [Dspace-tech] How to stop using full text search? OK, I don't know why, but perhaps the -b flag isn't removing the old contents. Try removing the index manually: cp -r [dspace]/solr/search/data/index [dspace]/solr/search/data/index.bak rm [dspace]/solr/search/data/index/* And then recreate it with the new schema using: [dspace]/bin/dspace update-discovery-index You should be able to verify that these fields are gone from the index by going to the Solr admin UI [1]. Actually, do this even now before you execute the above steps, just to confirm the problem. [1] https://wiki.duraspace.org/display/DSPACE/Solr Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ 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 enable OAI-PMH into DSpace 3.2
Dear helix84/Hilton, Yes, I have already set dspace.url dspace.baseUrl on dspace.cfg (see the screen sort : dspace_baseURL.png). Also for OAI-PMH I have set that URL on /dspace/config/modules/oai.cfg file (see the screen sort : oai_config.png) Let me know if anything need to correct. As per the document : https://wiki.duraspace.org/display/DSDOC3x/OAI Harvesting from another DSpace : Point no 1 : First, check to see if the external DSpace reports that it will support harvesting ORE via the OAI-PMH interface. Demo URL : http://demo.dspace.org/oai/request?verb=ListRecordsmetadataPrefix=ore (Working Fine - It's Fetch the results) Our URL : http://vslir.iimahd.ernet.in:8080/oai/request?verb=ListRecordsmetadataPrefix=ore (It's shows : No matches for the query) Can you please tell me what may be the issue..? I have just copy the oai folder from [dspace] to [tomcat-webapps] set the localhost path to vslir.iimahd.ernet.in into /dspace/config/modules/oai.cfg (as screen sort attached). Please let me know what may be the problem.. Thanks for your help.. Bhavesh Patel Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* On Tue, Feb 4, 2014 at 7:43 PM, helix84 heli...@centrum.sk wrote: Check that both your dspace.url and dspace.baseUrl are set to http://vslir.iimahd.ernet.in:8080;. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ 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