[Dspace-tech] Batch move item between collections
Hello, I have a large number of items that ended up in the wrong collection. One of the metadata attached to each item will allow me to sort them out, but I need to move the items around in the database. I have seen that the tables item and collection2item both associate an item with a collection. But modifying the collection id in these tables is not enough. The item is now listed like it belongs where it should, but when listing the wrong cllection, the item is still shown there. How can I rectify this? is that a cache or a table I am overlooking? DSpace 4.2 Many thanks in advance, Olivier -- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] Help for dspace backup/restore
i found something good on this topic: https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite Flavio Vieira Pontes https://wiki.duraspace.org/display/~flavio Is it possible to use AIP to move the entire site from a earlier version to the most recent version? - Jan 24, 2014 https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore?focusedCommentId=43319812#comment-43319812 1. [image: User icon: tdonohue] https://wiki.duraspace.org/display/~tdonohue Tim Donohue https://wiki.duraspace.org/display/~tdonohue Yes, it should be possible to use the AIP tools to upgrade from one version to another. Though there are some limitations: - Your older version of DSpace would need to be *at least* DSpace 1.7 (AIP Backup tools do not exist prior to DSpace 1.7) - If you are using the newer Item Level Versioning feature, AIPs do NOT capture all versions of Items, so any prior versions of Items would be lost. AIPs also do NOT capture in-process items (e.g. deposits which users have begun in DSpace but never completed), so those would be lost as well. See the details of what is and is not supported in AIP backups in this section above: How does this differ from traditional DSpace Backups? https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-HowdoesthisdifferfromtraditionalDSpaceBackups?WhichBackuprouteisbetter - When importing into the new version of DSpace, you MUST use the Restore/Replace Mode (-r) documented above. Otherwise your handles will not be restored properly. - I'd *highly recommend* testing the process first on a test server before trying it in Production. There have been various bug fixes to the AIP backup restore process in recent versions (1.8, 3.0, 4.0), so you really should fully test that it will work properly for you. Based on all those limitations, it may or may not be easier than just performing a normal DSpace Upgrade https://wiki.duraspace.org/display/DSDOC4x/Upgrading+DSpace -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] About XMLUI and cache
Hi, This is about DSpace 5.1. I am trying to make a small change in the way an item is displayed. When the user has write rights on the item it should display as originally. Otherwise the item handle is passed to another web application. I added several lines in the beginning of org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addBody Request request = ObjectModelHelper.getRequest(objectModel); if(!AuthorizeManager.authorizeActionBoolean(context, item, Constants.WRITE)) { StringBuilder redirectURL = new StringBuilder(); redirectURL.append(request.getContextPath().replace(/xmlui, /dspviewerf/)); redirectURL.append(item.getHandle()); redirectURL.append(?sq=); redirectURL.append(123); HttpServletResponse httpResponse = (HttpServletResponse) objectModel.get(HttpEnvironment.HTTP_RESPONSE_OBJECT); httpResponse.sendRedirect(redirectURL.toString()); } It works as expected for the user without write rights. It works as expected for the user with write rights. But after it has worked once for the user with write rights, it creates cache and displays the same page for the user without write rights. What can I reasonably do? Disable the cache in some way? Best regards Evgeni -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] About XMLUI and cache
Hi Evgeni Dimitrov You have to modify the public Serializable getKey() and public SourceValidity getValidity() methods of that same class. These methods evaluate whether addBody should be called or whether the cached document may be used. Evgeni Dimitrov schreef op 13/05/15 om 11:01: Hi, This is about DSpace 5.1. I am trying to make a small change in the way an item is displayed. When the user has write rights on the item it should display as originally. Otherwise the item handle is passed to another web application. I added several lines in the beginning of org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addBody Request request = ObjectModelHelper.getRequest(objectModel); if(!AuthorizeManager.authorizeActionBoolean(context, item, Constants.WRITE)) { StringBuilder redirectURL = new StringBuilder(); redirectURL.append(request.getContextPath().replace(/xmlui, /dspviewerf/)); redirectURL.append(item.getHandle()); redirectURL.append(?sq=); redirectURL.append(123); HttpServletResponse httpResponse = (HttpServletResponse) objectModel.get(HttpEnvironment.HTTP_RESPONSE_OBJECT); httpResponse.sendRedirect(redirectURL.toString()); } It works as expected for the user without write rights. It works as expected for the user with write rights. But after it has worked once for the user with write rights, it creates cache and displays the same page for the user without write rights. What can I reasonably do? Disable the cache in some way? Best regards Evgeni -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- logo *Antoine Snyers* /2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010/ /Esperantolaan 4, Heverlee 3001, Belgium/ www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=antoine -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] OAI Server error
Hi, Our OAI´s server is down When trying to connect to: http://digitum.um.es/oai/request The following error message is shown: [WARN] deprecation - The 'component-configurations' section in the sitemap is deprecated. Please check for alternatives. [Fatal Error] :1:50: White spaces are required between publicId and systemId. Why is this happening? Recently we changed from http to https. We have tested also: http://digitum.um.es/oai/request and the error appears to us. Thanks in advance, greetings. -- View this message in context: http://dspace.2283337.n4.nabble.com/OAI-Server-error-tp4677845.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] ORA-00903: invalid table name error while submission.
I installed Dspace 5.1 on RHEL6.5 with oracle 11g r2 database, installationsuccessful but i am getting error Please helpORA-00903: invalid table nameJava stacktrace: java.sql.SQLSyntaxErrorException: ORA-00903: invalid table name at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1296) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495) 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.query(DatabaseManager.java:295) at org.dspace.content.Collection.findGroup2GroupMapped(Collection.java:1722) at org.dspace.content.Collection.findAuthorizedOptimized(Collection.java:1552) at org.dspace.app.xmlui.aspect.submission.Submissions.addUnfinishedSubmissions(Submissions.java:175) at org.dspace.app.xmlui.aspect.submission.Submissions.addBody(Submissions.java:138) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy38.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy35.startElement(Unknown Source) at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy35.startElement(Unknown Source) at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy35.startElement(Unknown Source) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at
Re: [Dspace-tech] Batch move item between collections
Hi Olivier, My guess would be that you may need to reindex. Since you moved the objects manually in the database tables, the browse/search indexes may not be fully aware of the move. Assuming you are using Discovery, you'd likely need to run [dspace]/bin/dspace index-discovery -b In the future, if you ever encounter the need to move items between Collections, I'd recommend using the Batch Metadata Editing tool. It has the ability to change the Collection(s) associated with any Items, and it will also automatically trigger a reindex for any item updates. The information on changing a Collection in the Batch Metadata Editing tool is here: https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-EditingCollectionMembership - Tim On 5/13/2015 4:58 AM, Olivier Nicole wrote: Hello, I have a large number of items that ended up in the wrong collection. One of the metadata attached to each item will allow me to sort them out, but I need to move the items around in the database. I have seen that the tables item and collection2item both associate an item with a collection. But modifying the collection id in these tables is not enough. The item is now listed like it belongs where it should, but when listing the wrong cllection, the item is still shown there. How can I rectify this? is that a cache or a table I am overlooking? DSpace 4.2 Many thanks in advance, Olivier -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] Help for dspace backup/restore
Hi Emmanuel, I'd recommend checking your DSpace logs then after running the Restore command. It's possible an error is being reported in the logs. For more info on this see https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error - Tim On 5/12/2015 11:36 PM, Emmanuel Wilson wrote: hello Yes. EPerson named dspace@localhost in my DSpace is the administer. Yes. handle.prefix value really 1 bcz i found it at CNRI handle prefix = 1. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 Server error
Hello, the https://digitum.um.es/oai/request gives the correct answer illegal verb as the verb is missing trying http://digitum.um.es/oai/request?verb=Identify works too. But note the OAI-PMH requires http see http://www.openarchives.org/OAI/openarchivesprotocol.html#ProtocolFeatures. So for this webapplication you must use http. You can check the validity of your site as a data provider with: http://www.openarchives.org/Register/ValidateSite Hope this helps Claudia Jürgen Am 13.05.2015 um 14:56 schrieb cotanio: Hi, Our OAI´s server is down When trying to connect to: http://digitum.um.es/oai/request The following error message is shown: [WARN] deprecation - The 'component-configurations' section in the sitemap is deprecated. Please check for alternatives. [Fatal Error] :1:50: White spaces are required between publicId and systemId. Why is this happening? Recently we changed from http to https. We have tested also: http://digitum.um.es/oai/request and the error appears to us. Thanks in advance, greetings. -- View this message in context: http://dspace.2283337.n4.nabble.com/OAI-Server-error-tp4677845.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] Multi Document Item Full-Text Indexing
Hello, This is the first time I send a question to this mailing-list, I hope some can give me some light on the following issue. As part of a project that I'm managing, we're developing an institutional repository based on DSpace 5.1 which requieres full-text search capabilities. We have several documents that are all part of a series. We're testing the item fulltext indexing but we have noticed that if we publish 1 document per item, the search engine is capable of retrieving full-text results, but if we publish the full series in 1 item (that contains 20+ pdf's) the search engine is incapable of retrieving full-text results. Is this a normal, expected behaviour of the search engine? Is there a way to make the search engine retrieve fulltext results from multi-document items? Many thanks, Pablo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] Copy contents from $HOME/.m2 to new system
Hi Vimal If using Ubuntu, try the following from the machine with the maven repository. *rsync -av /home/dspace/.m2/ dspace@hostname-of-remote-machine:/home/dspace/.m2/* This assumes that there is a dspace user on both machines. The rsync command is a very powerful tool for syncing contents between Ubuntu servers. There is plenty of rsync help on the web. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 13 May 2015 at 19:37, Luiz dos Santos luiz...@gmail.com wrote: Hi Vimal, Just copy then is not ok, you could even have more than one m2 per machine, you just need setup it properly in maven settings.xml file. !-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository -- localRepository/path/to/local/repo/localRepository On Wed, May 13, 2015 at 12:44 PM, Vimal Kumar V. vimal0...@gmail.com wrote: Dear Friends, mvn -U package download lot of packages to $HOME/.m2 folder. I found that those packages downloaded in repository folder. Its a nice idea if we could copy repository folder to install dspace in another system without Internet. I could copy repository folder in USB drive, but could not copy into $HOME/.m2 folder into system going to install dspace. Pls help me to find a command to move contents in repository folder to $HOME/.m2 folder of new system. Regards, -- Vimal Kumar V. Technical Assistant Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in http://moovandan.blogspot.in --- I forget what I was taught. I only remember what I have learnt -Patrick White -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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 org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Client closed the connection before file download was complete in file dspace.log
Hi, I am using DSpace 4.1. I found this error in the log file dspace.log : ERROR org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Client closed the connection before file download was complete. I can replicate this error by downloading a bitstream file with Internet Explorer. However, this error isn't generate every time I do that. This error is sporadic. Despite this error, the document is displayed. Thanks for your help, __ Johanne Crête Technicienne en informatique Service des bibliothèques et archives, Université de Sherbrooke Sherbrooke (Québec) J1K 2R1 CANADA johanne.cr...@usherbrooke.camailto:johanne.cr...@usherbrooke.ca (819) 821-8000, poste 66294 [cid:image001.png@01CD5B51.8AEC6840]http://www.facebook.com/BibliothequesUdeS [cid:image008.png@01CF96C9.F68A85E0] http://twitter.com/#!/BiblioUdeS [Description : Description : cid:image003.png@01CCE18F.717815D0] http://www.youtube.com/bibliosusherbrooke -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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 cocoon.handled - Could not read resource cocoon://DRI/1/handle/xxxxx/xx/xmlworkflow
Hi, I am using DSpace 4.1. I found this error in the log file cocoon.log. I would like to find out what causes this error : 2015-05-07 16:08:10,925 ERROR cocoon.handled - Could not read resource cocoon://DRI/1/handle/x/xxx/xmlworkflow at map:serialize type=xml - jndi:/localhost/aspects/aspects.xmap:85:34 at map:transform type=PageNotFound - jndi:/localhost/aspects/aspects.xmap:84:43 at map:generate - jndi:/localhost/aspects/aspects.xmap:83:22 at map:serialize type=xhtml - jndi:/localhost/themes/Mirage/sitemap.xmap:164:34 at map:transform type=i18n - jndi:/localhost/themes/Mirage/sitemap.xmap:158:33 at map:transform - jndi:/localhost/themes/Mirage/sitemap.xmap:153:51 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:140:55 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:135:55 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:126:55 at map:generate type=file - jndi:/localhost/themes/Mirage/sitemap.xmap:120:55 at map:match - jndi:/localhost/themes/Mirage/sitemap.xmap:117:28 at map:mount - jndi:/localhost/themes/themes.xmap:33:45 at map:match type=ThemeMatcher - jndi:/localhost/themes/themes.xmap:32:35 at map:mount - jndi:/localhost/sitemap.xmap:680:94 org.apache.cocoon.ProcessingException: Could not read resource cocoon://DRI/1/handle/x/xxx/xmlworkflow at map:serialize type=xml - jndi:/localhost/aspects/aspects.xmap:85:34 at map:transform type=PageNotFound - jndi:/localhost/aspects/aspects.xmap:84:43 at map:generate - jndi:/localhost/aspects/aspects.xmap:83:22 at map:serialize type=xhtml - jndi:/localhost/themes/Mirage/sitemap.xmap:164:34 at map:transform type=i18n - jndi:/localhost/themes/Mirage/sitemap.xmap:158:33 at map:transform - jndi:/localhost/themes/Mirage/sitemap.xmap:153:51 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:140:55 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:135:55 at map:transform type=IncludePageMeta - jndi:/localhost/themes/Mirage/sitemap.xmap:126:55 at map:generate type=file - jndi:/localhost/themes/Mirage/sitemap.xmap:120:55 at map:match - jndi:/localhost/themes/Mirage/sitemap.xmap:117:28 at map:mount - jndi:/localhost/themes/themes.xmap:33:45 at map:match type=ThemeMatcher - jndi:/localhost/themes/themes.xmap:32:35 at map:mount - jndi:/localhost/sitemap.xmap:680:94 at org.apache.cocoon.components.source.util.SourceUtil.handleSAXException(SourceUtil.java:409) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:138) at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy81.generate(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750) at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy80.process(Unknown Source) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362) at org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111) at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136) at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy81.generate(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544) at
Re: [Dspace-tech] Location of files
Hi, On 13 May 2015 at 19:43, Vimal Kumar V. vimal0...@gmail.com wrote: Where files are downloding when we execute following command? I mean to which directory. cd /build/dspace-4.1-src-release mvn -U package By default, ~/.m2/repository on Linux or C:\Documents and Settings\{your-username}\.m2 on Windows. See http://maven.apache.org/run-maven/index.html and the two pages linked from the Configuring Maven section. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] access to page spins
Hi, On 14/05/15 05:24, Jose Blanco wrote: Thanks Tim, What seems to stopping the indexing is that when it encounters an item that has rights other than Anonymous, it fails. I have confirmed this by editing an item it was failing on and making all its access rights anonymous and then it went on till it found another with non Anonymous rights. I found this out restarting tomcat and then going to the home page. I have not run the manual index, but will try that now and see what kind of error it spits out. You mentioned you have some customisations in your code. Do any of them touch access permissions at all? I've had some problems similar to what you describe with customisations that used a fresh context and mixed calls to AuthorizeManager methods with the resource policy type in the parameter list and those without. I believe these two types of methods treat item.update calls differently and this can lead to database race conditions. If I remember correctly, I resolved this by using the existing context whenever possible and not mixing these two types of methods otherwise. I can't remember whether there was anything useful in the database logs when I encountered this issue. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] access to page spins
Tim, one more thing,,, we have Apache Maven 3.0.1 and PostgresSQL 8.4 Do you think this could have something to do with it? On Wed, May 13, 2015 at 3:19 PM, Jose Blanco blan...@umich.edu wrote: Tim, The index completed successfully using: [dspace]/bin/dspace index-discovery -b But the spinning continues. When the indexing is done via the restart of tomcat, it fails when it encounters an item that has non Anonymous rights. I'm attaching the error log with the last done successfully and then the one it chokes on. You can see that this one: TEMP-BOGUS/232403 is done successfully, and then this one fails: TEMP-BOGUS/233500. Why would having a non Anonymous access right cause this error? THanks! Jose On Wed, May 13, 2015 at 1:24 PM, Jose Blanco blan...@umich.edu wrote: Thanks Tim, What seems to stopping the indexing is that when it encounters an item that has rights other than Anonymous, it fails. I have confirmed this by editing an item it was failing on and making all its access rights anonymous and then it went on till it found another with non Anonymous rights. I found this out restarting tomcat and then going to the home page. I have not run the manual index, but will try that now and see what kind of error it spits out. -Jose On Wed, May 13, 2015 at 1:12 PM, Tim Donohue tdono...@duraspace.org wrote: Hi Jose, The reindexing process only occurs for the Search/Browse indexes (and it doesn't touch the Solr Statistics index). So, it would not be directly related to any issues with Solr Statistics. The only part of the upgrade that affects the Solr Statistics index is that the Solr Stats index will be *upgraded* (to the latest version of Solr) during the ant update step. Since you said the re-indexing (of Search/Browse index) didn't complete, you probably should manually re-run it (just in case it is somehow affecting the spinning you are seeing): [dspace]/bin/index-discovery -b (By default, during the 5.x upgrade, that index-discovery -b command runs automatically when you first startup Tomcat after upgrading to 5.x. The only way to re-run it after that point is to run it manually from the commandline.) - Tim On 5/13/2015 10:27 AM, Jose Blanco wrote: Tim, I know the reindexing did not finish. I'm trying to grab log output as it runs so I restarted tomcat, but nothing gets written to the log. It seems like I have to go to the browser and initiate a browse by title for indexing to start. Is that right? On Tue, May 12, 2015 at 5:37 PM, Tim Donohue tdono...@duraspace.org mailto:tdono...@duraspace.org wrote: Hi Jose, Are you saying that some of the accesses to Solr Stats work fine? While others are spinning? Is there any difference in the type of content that seems to cause Solr to spin (i.e. anything different about those Items in any way that you can tell)? I'm just trying to see if it's possible to narrow down the issue. It sounds like it's not Solr overall (as some accesses work and some do not). But, then the question becomes what is different between those that work and those that do not. Since this happened post-upgrade to 5.x, I'm assuming all the automatic upgrades to your Solr look to have succeeded? During the ant update process, your indexes should have been automatically upgraded to the latest Solr version (including the statistics index). Just wanted to make sure that whole process also went smoothly with regards to the Solr Statistics index. - Tim On 5/12/2015 3:46 PM, Jose Blanco wrote: TIm, from the tomcat area: This is from a good access: 141.213.232.243 - - [12/May/2015:16:44:32 -0400] POST /solr/statistics/update?wt=javabinversion=2 HTTP/1.1 200 40 141.213.232.243 - - [12/May/2015:16:44:32 -0400] GET /solr/search/select?q=*%3A*fq=NOT%28withdrawn%3Atrue%29fq=NOT%28discoverable%3Afalse%29fq=location%3Al814fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29start=0rows=0wt=javabinversion=2 HTTP/1.1 200 215 141.213.232.243 - - [12/May/2015:16:44:32 -0400] GET /solr/search/select?q=*%3A*fq=NOT%28withdrawn%3Atrue%29fq=NOT%28discoverable%3Afalse%29fq=location%3Al814fq=search.resourcetype%3A2fq=read%3A%28g0+OR+g0+OR+g80+OR+g431+OR+g617%29start=0rows=20sort=dc.date.accessioned_dt+descwt=javabinversion=2 HTTP/1.1 200 272 141.211.43.157 - deepblue [12/May/2015:16:44:32 -0400] GET /handle/TEMP-BOGUS/214864 HTTP/1.1 304 - This is from one that spins: 141.213.232.243 - - [12/May/2015:16:45:33 -0400] POST /solr/statistics/update?wt=javabinversion=2 HTTP/1.1 200 40 On Tue, May 12, 2015 at 4:37 PM, Jose Blanco blan...@umich.edu mailto:blan...@umich.edu mailto:blan...@umich.edu mailto:blan...@umich.edu wrote: Tim, I think it may have to do with solr statistics. Is
Re: [Dspace-tech] Batch move item between collections
Thank you Tim, My guess would be that you may need to reindex. Since you moved the objects manually in the database tables, the browse/search indexes may not be fully aware of the move. Assuming you are using Discovery, you'd likely need to run [dspace]/bin/dspace index-discovery -b That did it. Out of mere curiosity, where are the indexes stored? In the future, if you ever encounter the need to move items between Collections, I'd recommend using the Batch Metadata Editing tool. It has the ability to change the Collection(s) associated with any Items, and it will also automatically trigger a reindex for any item updates. The information on changing a Collection in the Batch Metadata Editing tool is here: https://wiki.duraspace.org/display/DSDOC4x/Batch+Metadata+Editing#BatchMetadataEditing-EditingCollectionMembership But does that allow complexs SQL request to select the list of items that will be modified? By complex I mean something like this: update item set owning_collection= 98 where item_id in ( select collection2item.item_id from collection2item, metadatavalue where collection2item.item_id=metadatavalue.item_id and metadata_field_id=24 and collection_id=60 and text_value not like '%IM-%' ) Best regards, Olivier - Tim On 5/13/2015 4:58 AM, Olivier Nicole wrote: Hello, I have a large number of items that ended up in the wrong collection. One of the metadata attached to each item will allow me to sort them out, but I need to move the items around in the database. I have seen that the tables item and collection2item both associate an item with a collection. But modifying the collection id in these tables is not enough. The item is now listed like it belongs where it should, but when listing the wrong cllection, the item is still shown there. How can I rectify this? is that a cache or a table I am overlooking? DSpace 4.2 Many thanks in advance, Olivier -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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] Copy contents from $HOME/.m2 to new system
Hi Vimal, Just copy then is not ok, you could even have more than one m2 per machine, you just need setup it properly in maven settings.xml file. !-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository -- localRepository/path/to/local/repo/localRepository On Wed, May 13, 2015 at 12:44 PM, Vimal Kumar V. vimal0...@gmail.com wrote: Dear Friends, mvn -U package download lot of packages to $HOME/.m2 folder. I found that those packages downloaded in repository folder. Its a nice idea if we could copy repository folder to install dspace in another system without Internet. I could copy repository folder in USB drive, but could not copy into $HOME/.m2 folder into system going to install dspace. Pls help me to find a command to move contents in repository folder to $HOME/.m2 folder of new system. Regards, -- Vimal Kumar V. Technical Assistant Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in http://moovandan.blogspot.in --- I forget what I was taught. I only remember what I have learnt -Patrick White -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] Location of files
Dear Friends, Where files are downloding when we execute following command? I mean to which directory. cd /build/dspace-4.1-src-release mvn -U package Regards, -- Vimal Kumar V. Technical Assistant Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in http://moovandan.blogspot.in --- I forget what I was taught. I only remember what I have learnt -Patrick White -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] Could not find the main class: org.dspace.storage.rdbms.DatabaseUtils.
Dear Friends, I got following error while installing Dspace 5 in Ubuntu 12.04. I got this message after executing ant fresh_install command. [java] Could not find the main class: org.dspace.storage.rdbms.DatabaseUtils. Program will exit. BUILD FAILED /build/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:797: Java returned: 1 Please help me to solve this problem. Regards, -- Vimal Kumar V. Technical Assistant Mahatma Gandhi University Library Kottayam, Kerala- 686 560 Web: http://www.vimalkumar.info Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in http://moovandan.blogspot.in --- I forget what I was taught. I only remember what I have learnt -Patrick White -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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