Re: [Dspace-tech] Problem with Debian and DSpace during port scan
On Fri, Nov 15, 2013 at 05:58:27PM +, Schuster, David wrote: Nessus – is what we are using. I found an article that if you telnet to 8005 and type SHUTDOWN – it will stop tomcat, which it did. I have modified that so hopefully that will fix my problem. Ah, so it's not just a port scan. Tomcat *should* require a specific token on the SHUTDOWN line, which is set in server.xml as an attribute of the server element: Server port=-1 shutdown=a0cc3595807f8e1f It's doubtful that Nessus would guess such a token in a reasonable amount of time. http://tomcat.apache.org/tomcat-7.0-doc/config/server.html#Common_Attributes 'port' can be -1 if you are running Tomcat using jsvc or as a Windows service, which have other ways to gracefully terminate it. Otherwise I'd use the usual port 8005 but set the host firewall to block it, so that the Tomcat shutdown script can use it locally. I copied a live Tomcat's Server element and replaced the token, generating it this way: dd if=/dev/urandom count=1 bs=8 2/dev/null | od -x -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/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 backup.
On Wed, Nov 20, 2013 at 01:45:45PM +0100, helix84 wrote: Hi rocky, there two general approaches; AIP is available only in newer versions of DSpace. a) DB + assetstore + config + theme + customizations b) AIP export I generally recommend the a) option (pg_dump for Postgres backup + copy the other mentioned directories on the file-system level). If you are doing regular system backups, then everything but the database should be covered already. If you decide to rely on that, the simplest thing to do is just to pg_dump the database and leave the dump in the filesystem, where it would be picked up by your system backups. Be sure to properly secure database backups, since they contain user passwords. The passwords are hashed, but why make life for the bad guys any easier than we have to? AIPs can also contain password hashes and should likewise be secured. There's no point in backing up the DBMS' own files (for example /var/lib/postgresql/9.2/data/base/**) because there is no reason to believe that a file-wise backup of these is consistent at any point in time. pg_dump will do this properly. The backing-store files (data/base/**) will consume backup media and time but aren't really restorable. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/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] Some properties not expanded in dspace.cfg
On Mon, Nov 25, 2013 at 03:03:04PM +0100, Àlex Magaz Graça wrote: At least since DSpace 1.7, I've been noticing that some properties in dspace.cfg are not expanded after running ant update. For example, dspace.dir value is not expanded in log.init.config option. Does that cause a problem? This expansion should be happening at runtime, if unexpanded variables still exist in dspace.cfg. Whenever some bit of code asks for a configuration variable, its value is examined for unexpanded variables and edited accordingly. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/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 for online archive system with some management requirements
On Tue, Dec 03, 2013 at 12:01:32PM +0800, lei chen wrote: I am new to Dspace and have very limited IT knowledge. Recently my institute decided to develop a online archive to store papers/reports produced, Dspace was suggested. Beside the uploading, searching and downloading function, we have extra requirement from management team: 1. more detailed personal information(work, edu,geo location etc), different level of authorization, supervisor- supervisee interaction (and supervisor have the authority to access/edit supervisees' work docu, ). 2. statistic module to retrieve summary of personnel, papers/reports 3. integrating the electronic calendar(already exist) to online archive, allow users upload and download event related documents. After some reading, I am trying to wrote my first plan, here come's my question: A: Use Dspace as it is, and construct another database to store extra data needed(personnel,work relation), and build a API to communicate between Dspace and new database. B: Modify Dspace's tables and use its database, write extra codes to execute function needed C: use some other software other than Dspace. When we have only one PHP/Mysql programmer in our team, which way should be the most feasible and easy. I would first look around the institution to see what other sources of personal information are available. If your personnel records are kept in electronic form, you might be able to connect to them with little effort. Directory services are designed for such things, and DSpace already can use LDAP to connect to a directory service. I would be wary of importing personnel-management functions into DSpace or any similar document archival product. I'd say it is much better to fetch what information you need from management-support systems that you already need for other purposes. I would consider the use of the REST interface to be released with DSpace 4.0 to support external statistical reporting tools. Rather than create a lot of statistical reporting code, I would first try to extract the needed raw cases and process them with an established statistical package such as SPSS, SAS, or R. Again, you may already have those tools, and people who know how to use them. I feel that I don't sufficiently understand your third requirement (about event-releated documents) to offer advice. To modify DSpace's business logic, your programmer would need to develop some skill with Java. To modify the user interfaces would require Java and JSP skills, or XSL-T and perhaps Java, depending on whether you selected JSPUI or XMLUI. DSpace is not supported on MySQL, but database skills should be transferrable to PostgreSQL or Oracle (the supported DBMSs) with a small amount of effort. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/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] What do you mean, statistics? [was Re: Dspace for online archive system with some management requirements]
Tangent time! On Wed, Dec 04, 2013 at 10:08:08AM +1100, Keir Vaughan-Taylor wrote: [snip] Point 2. There is good statistical information that comes with DSpace but if you want more it is possible to invoke Piwik Analytics and also Google Analystics, ( if you can possibly ever trust The Cloud (which you can't)) I would agree up to a point, but there are lots of other ways to measure and count a repository. Here we run a locally-developed servlet that provides simple measures of how large the collection is at the moment you ask it. That is a statistic, and something that people want to know and chart over time. It is at right angles to everything Google Analytics does. When asking for statistics, it's important to first clearly explain what it is you want to study and what you hope to learn. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] Block Excessive Downloads ?
On Wed, Dec 04, 2013 at 10:17:58AM +0800, dtpalmer wrote: Our instance of DSpace occasionally gets hammered with excessive requests for downloads of the same item, in a very short time, say 8,000 in one hour. No idea why. Perhaps the bogey was testing his software against our server? Is there any way to detect, and set a limit of x downloads in y amount of time, after which the server blocks that IP ? It skews our stats, and may eventually create more serious problems. Two approaches come to mind: 1. If your servlet container (e.g. Tomcat) sits behind Apache HTTPD, then you can use one of several rate-limiting modules to throttle overenthusiastic clients. I've toyed with mod_cband but have no good advice for it. 2. Add the problematic addresses to the spider list, so the client can do what he wishes but doesn't pollute the statistics. https://wiki.duraspace.org/display/DSDOC18/DSpace+Statistics#DSpaceStatistics-ConfigurationsettingsforStatistics -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] java.net.NoRouteToHostException
On Wed, Dec 04, 2013 at 03:16:34PM +0100, Graziano Fiori wrote: Hi,I use Dspace 3.1,I tried to create a new user in xmlui and after an error has occured and now Dspace is locked,when I try to access to jspui appear message internal system error. These are logs: An error has occurred Vai a DSpace home http://dspace.agile.diee.unica.it/xmlui java.net.NoRouteToHostException: Nessun instradamento per l'host Cocoon stacktrace [hide] *Failed to process pipeline*context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 85:34*map:serialize type=xml*context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 84:43*map:transform type=PageNotFound*context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 83:22*map:generate*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 164:34*map:serialize type=xhtml*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 158:33*map:transform type=i18n*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 153:51*map:transform*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 140:55*map:transform type=IncludePageMeta*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 135:55*map:transform type=IncludePageMeta*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 126:55*map:transform type=IncludePageMeta*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 120:55*map:generate type=file*context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 117:28*map:match*context:/jndi:/localhost/xmlui/themes/themes.xmap - 33:45*map:mount*context:/jndi:/localhost/xmlui/themes/themes.xmap - 32:35*map:match type=ThemeMatcher*context:/jndi:/localhost/xmlui/sitemap.xmap - 652:94 *map:mount* Java stacktrace [hide] java.net.NoRouteToHostException: Nessun instradamento per l'host at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.init(Unknown Source) at java.net.Socket.init(Unknown Source) at org.postgresql.core.PGStream.init(PGStream.java:62) ===^ It looks to me as though the host running your DBMS has crashed or suffered some kind of network problem. No route to host means that there is no path from where you are to a machine which asserts the address to which you've asked to connect. The failure could be anywhere between the two hosts. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] DSpace 4.0 Release Candidate 2 is available for testing
The second Release Candidate for DSpace 4.0 is now available. Find it on GitHub at: https://github.com/DSpace/DSpace/tree/dspace-4.0-rc2 or on SourceForge: http://sourceforge.net/projects/dspace/files/DSpace%20Release%20Candidate/4.0-rc2/ -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] DSpace 4.0 Release Candidate 3 is available for testing
The third Release Candidate for DSpace 4.0 is now available. Find it on GitHub at: https://github.com/DSpace/DSpace/tree/dspace-4.0-rc3 or on SourceForge: http://sourceforge.net/projects/dspace/files/DSpace%20Release%20Candidate/4.0-RC3/ -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] Multiple DSpace 3.2 instances on same server - tomcat and dspace config settings
On Wed, Dec 11, 2013 at 10:15:43AM -0700, Charlene Chinda Barina wrote: A question about multiple DSpace instances. I looked through the documentation and there's a bit - but from a 1.8 release and referring to .war files, which doesn't seem to be applicable to the default situation of uncompressed directories for 3.2. What I have is: 1. Two separate source directories, which I'm building separately for each instance. 2. Two separate databases, with their separate users Correct. 3. The install directory being subdirectories for each under /dspace, e.g., /dspace/instance1 and /dspace/instance2 This seems reasonable. 4. dspace.install.dir being set to these subdirectories for each source directory in build.properties. Correct. 5. In tomcat (/usr/share/tomcat7/conf/Catalina/localhost/instance2, for example) I have a instance2.xml file that has this: ?xml version=1.0 encoding=UTF-8? Context docBase=/dspace/instance2/webapps path=/instance2 / I think the problem is here in (5). It appears that you have one Host element in /usr/share/tomcat7/conf/server.xml, named localhost, and you want both instances to appear as separate paths on that Host. In that case, instance2.xml (and instance1.xml) should both be in /usr/share/tomcat7/conf/Catalina/localhost. Tomcat is not seeing the Context files because they are not where it looks for them. If you place the Contexts in /usr/share/tomcat7/conf/Catalina/localhost/instance1.xml and /usr/share/tomcat7/conf/Catalina/localhost/instance2.xml, you should see two instances of DSpace at /instance1 and /instance2. The 'path' attribute is not defined for use in these files. It is only defined for a Context declared in server.xml. An external Context file's name (minus the .xml) determines the path being described. I see that you solved the problem another way, but I wanted to explain why the problem occurred. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] DSpace 4.0 released!
Dear DSpace Community: On behalf of the DSpace developers, I would like to formally announce that DSpace 4.0 is now available! DSpace 4.0 can be downloaded immediately at either of the following locations: * SourceForge: https://sourceforge.net/projects/dspace/files/ * GitHub: https://github.com/DSpace/DSpace/ (see the dspace-4.0 tag) In addition, you are welcome to try out DSpace 4.0 on http://demo.dspace.org/ and continue to provide any early feedback you may have. == New Features and Improvements in 4.0 == General: * **new** REST API module based on JAX RS 1.0; * **new** Request a Copy for files that are not yet available for public downloading; * **new** DOI Support; * Discovery formally replaces legacy Search Browse; * SWORDv2 module update; * Improved command line features; * Support simple embargo in AIP import/export; * Support running handle server and application container on separate machines; * Improvements to LDAP Authentication; * Media filter generates better-looking thumbnails; * Curation Task for Consuming Web Services; JSPUI Specific: * **new** A new Bootstrap-based default look and feel * **new** Integrated PubMed, Arxiv and CrossRef metadata lookup XMLUI Specific: * Support simple embargo in item display; * Language switch; * Mobile Theme matures from beta; For much more information on each of these features, please visit our 4.0 Release Notes: https://wiki.duraspace.org/display/DSDOC4x/Release+Notes == 4.0 Documentation == The DSpace 4.0 documentation is available online at: https://wiki.duraspace.org/display/DSDOC4x/ A PDF copy of the documentation is still distributed with the software. In addition, it can also be downloaded from: http://www.dspace.org/latest-release/ == 4.0 Acknowledgments == The DSpace application would not exist without the hard work and support of the community. Thank you to the many developers who have worked very hard to deliver all the new features and improvements. Also thanks to the users who provided input and feedback on the development, as well those who participated in the testathons. Additionally I would like to thank Tim Donohue of DuraSpace for ensuring that DSpace 4.0 went off without a hitch. A detailed listing of all known people/institutions who contributed directly to DSpace 4.0 is available in the Release Notes. If you contributed and were accidentally not listed, please let us know so that we can correct it! For DSpace 4.0, we had a total of 59 individuals contribute code, bug reports, and bug fixes. A big thanks goes out to everyone who participated. We hope you'll continue to be a valuable addition to the DSpace community for the next release and beyond! == More Information == More information on this release is also available in the DSpace 4.0 Release Notes at: https://wiki.duraspace.org/display/DSDOC4x/Release+Notes As always, we are happy to hear back from the community about DSpace. Please let us know what you think of 4.0! - Mark Wood, on behalf of the DSpace 4.0 Release Team, and all the DSpace developers. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] IP AUTHENTICATION
On Thu, 2014-01-09 at 09:36 -0800, c_sugumaran wrote: We would like to allow the particular IP address computer (Here IP 10.101.14.54) only to open our Dspace repository so we have edited the following files and restarted the TOMCAT. But it is not restricting to that IP computer only. From other computer in the intranet also the Dspace is opening. It is not clear to me what you mean by open our DSpace repository. It sounds to me as though you want a user at an unapproved address to receive either an ICMP connection refusal or no response at all. You may be able to do that using firewall rules. That is beyond the scope of DSpace. You could get Tomcat to refuse to route the request using a Tomcat host address filter or valve. Again that is outside of DSpace. DSpace IP authentication adds user group memberships to sessions originating at specified IP addresses. You can use that group membership to grant or refuse access to specific assets stored in DSpace, but not to DSpace itself. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Installing Dspace 4.0
On Fri, Jan 10, 2014 at 03:38:28PM +0100, Eric Martyns wrote: Please in installing the Dspace 4.0 which version of the Apache Tomcat should be used? As documented in the installation chapter, Tomcat 7, and we recommend 7.0.30 or higher due to a memory leak in earlier patchlevels. https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-ServletEngine%28ApacheTomcat7orlater,Jetty,CauchoResinorequivalent%29 -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Item ID and handle mismatch issue
On Tue, Jan 14, 2014 at 05:58:04PM +0100, helix84 wrote: On Jan 14, 2014 5:49 PM, Tim Donohue tdono...@duraspace.org wrote: As helix84 mentions, it won't hurt anything: Well, as long as you shut down Tomcat. https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite This documentation is wrong to say that you don't need to shutdown Tomcat. You do, in order to ensure that there are no new items, handles, collections, users etc. added in a transaction parallel to the one where update-sequences.sql runs. The likelihood of conflict may be small, but it easily avoidable. Updating sequences is actually a hack because sequences are meant to be transaction-safe and here we're bypassing that. The documentation is correct but incomplete. You do not have to shut down Tomcat; you have to shut down the instance of DSpace that you are restoring. If DSpace is the only application running on that Tomcat instance, then it's easiest to shut down Tomcat; if not, there's no need to bounce other applications along with DSpace. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Installation Pre-requisite Software for installing Dspace
On Thu, Jan 16, 2014 at 10:38:36AM +0100, Eric Martyns wrote: Hi, In verifying if the software have been properly installed, i ran the command java-version ANT-version in the command prompt but came up with the message not recognized. Missing spaces. -version is an option and must be separated from the name of the program to be run: mwood@mhw ~ $ java -version java version 1.7.0_45 OpenJDK Runtime Environment (IcedTea 2.4.3) (Gentoo build 1.7.0_45-b31) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) mwood@mhw ~ $ ant -version Apache Ant(TM) version 1.9.1 compiled on October 21 2013 mwood@mhw ~ $ -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Internal System Error Dspace 4.0
On Mon, Jan 20, 2014 at 07:59:13AM +0100, Eric Martyns wrote: I installed the Dspace 4.0 but in the jspui interface i'm getting an error message under the green bar Dspace at my university internal system error The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem When you are the person who installed DSpace, this message ...contact us... means contact YOU. So that you can look in the DSpace and servlet container (e.g. Tomcat) log files to see what the actual error was. If the logs do not make clear what to do, post the relevant log records and we'll try to help you interpret them. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] R: Tomcat 7.0.50 and Dspace 4.0 Implementation
On Tue, Jan 21, 2014 at 11:38:58AM -0600, Tim Donohue wrote: [snip] So, Access Rights Awareness is probably something we need to better document also better document how to disable it if you favor exposing *all* metadata as publicly searchable/browsable. I will certainly never argue against documenting the behavior of code. But from another posting, it sounds to me that the problem is one of granting the proper rights to express your institution's policy: grant READ on the Item to users and groups who should be able to see the metadata, and READ on a Bitstream to users and groups who should be able to see the bitstream data. We may need to improve the administrative UI to make crafting access-control lists more convenient. At the least we need to provide that the default ACL on each object type is adjustable, so that the policy a site usually wants can be the default at that site. (This may need to be a property of the Community or Collection.) The default default ACL should then express the most restrictive reasonable policy, which might very well be no access by anyone. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Adding Changes to DSpace Installation Instructions
Thanks for your note. On Wed, Jan 22, 2014 at 11:09:30AM +1100, David Cook wrote: Here's the existing section (at least in DSDOC4x): In postgresql.conf: uncomment the line starting: listen_addresses = 'localhost'. Then tighten up security a bit by editing pg_hba.conf and adding this line: host dspace dspace 127.0.0.1 255.255.255.255 md5 Proposed changes: 1)It might be worth mentioning that Postgresql listens to 'localhost' by default and that it's probably not necessary to uncomment that listen_addresses line. That said, it wouldn't hurt anything, so it doesn't really matter to me. The installed configuration may be distribution-dependent. It should be checked. Noted in the doco. 2)In regards to pg_hba.conf, it should be mentioned that the line host dspace dspace 127.0.0.1 255.255.255.255 md5 should be added above any host connections that refer to all databases. Done. I've seen online tutorials that tell people to change the default local and host connections (for localhost) as trust, but that's really not necessary. In theory, it could also be dangerous as it allows any local user to access Postgresql as any user they want. Indeed, that is poor advice. I use 'trust' only long enough to authenticate to Pg and set a superuser password that I know, then replace it with 'md5' and reload the config. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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/Tomcat Ownership
On Fri, Jan 31, 2014 at 05:25:22PM +1100, David Cook wrote: I'm just curious as to why DSpace and Tomcat need to be run as the same user. Because Tomcat needs access to DSpace's files and directories. The simplest way to do that is to have Tomcat own them. Tomcat is the only thing that is running. DSpace is a web application deployed in the servlet container that Tomcat provides. I've often set built DSpace using a dspace user, then forgotten to switch ownership to Tomcat, and I've gotten errors when running DSpace for the first time. Don't do that. Install DSpace as whatever user owns Tomcat. There's no need for a user dspace unless Tomcat runs as dspace. I'm aware that many distro.s set up the 'tomcat' user with /dev/null for a home directory. See below -- by install I only mean the final placement of the files, which could be built anywhere. However, with subsequent builds, when I revert back to dspace and forget to switch back to tomcat, I don't receive those errors anymore. [Groucho] Don't do that. I tend to install Tomcat via apt-get or yum so I don't have the control of installing Tomcat as the DSpace user. This is something that was not recognized in the documentation for some time -- it was assumed that you were manually installing Tomcat etc. from source and had full control of the account used. I hope that we have now fixed that, but the instructions you see will depend on which version you are reading. If you installed Tomcat using your distro's package manager, ignore any mention of the 'dspace' user and use whatever account runs your instance of Tomcat. Any tips or best practices on this one? (Rather than switching back and forth between a builder user and a server user) When I want to install a new version that we've worked up, I log onto the server as me, check out the new version from our local VCS, build, 'su', 'su tomcat', and install. All the installed files will be owned by 'tomcat'. I keep a second terminal window open running as root for things like restarting Tomcat. In my development environment, I make liberal use of ACLs to ensure that my developer persona has sufficient access to my local test Tomcat's directories and Tomcat has sufficient access to what I install. I have a directory ~/dspaces with a default ACL that makes Tomcat an owner of any new DSpace instance I install under it, and $CATALINA_BASE/conf/Catalina/localhost has an ACL that lets me drop Context files into it as me, to be owned by me and readable by Tomcat. BTW I find it helpful to think of DSpace installation in two phases. 'mvn' is the build phase, and can be run as anyone. 'ant' is the install phase and may be best done as Tomcat's owner. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/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/Tomcat Ownership Followup
On Fri, Jan 31, 2014 at 05:28:43PM +1100, David Cook wrote: If a person wanted to run Tomcat as the Dspace user, would it be enough to change the group for /usr/share/tomcat7 and to change the TOMCAT_USER in /etc/tomcat7/tomcat7.conf? There might also be stuff in something like /var/lib/tomcat7. There is, in Gentoo: CATALINA_HOME=/usr/share/tomcat-7/ CATALINA_BASE=/var/lib/tomcat-7/ But that seems like doing it the hard way. You don't need to have a dspace user at all. All you need is your account for building (so that if you make a mistake, you don't damage Tomcat) and the account that runs Tomcat. And fighting your package manager seems like a great idea if you enjoy frustration. I actually tried this once. That's how I learned to never do it again. I recommend against it. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/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] directory size
On Mon, Feb 03, 2014 at 06:03:49PM +0800, ad...@unhas.ac.id wrote: Current size of our dspace is like this: /log: 90 Gb /assetstore: 12 Gb /SOLR: 5.4 Gb Can you give suggestions on how to 'cut' the size of log directory? any hints for future daily operational to minimize the log? A quick suggestion: these log files are highly compressible. You could probably squeeze that 90Gb down to 9-10Gb just by packing the older logs into Zip archives. -- 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
Re: [Dspace-tech] Dspace with phpMyAdmin
On Tue, Feb 04, 2014 at 05:01:40AM +, M. A. Hayek wrote: My university works with phpMyAdmin database, and I need to configure dspace to work with this database.I did not find a clear, thorough and comprehensive answer regarding this issue.So clearly and inclusively please; can I use dspace with phpMyAdmin database, and if so, what different configurations I need to do from using postgreSQL or oracle. phpMyAdmin is a front-end for managing MySQL. DSpace does not officially support MySQL, and I can't say whether the combination works properly or ever has. Others have investigated the possibility but I don't know what they found. PostgreSQL costs nothing to acquire, and I find it easy to operate and maintain. (And I am not now, nor have I ever been, a real DBA.) -- 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
Re: [Dspace-tech] Postgresql 9.3
On Tue, Feb 04, 2014 at 01:56:20PM +, Alain Tschanz wrote: Is DSpace 4.0 compatible with Postgresql version 9.3? That describes my current DSpace development environment. It works well for me. I've had no problems out of Pg 9.3 so far. If so, would there be an advantage to upgrading to the latest Postgresql version? That depends on whether you favor having all the latest bug fixes, regardless of whether you have known problems, or you adhere more strongly to the maxim: if it ain't broke, don't fix it. I haven't heard of any problems with running DSpace 4.0 on Pg 9.1 either. In short, I don't think you can go wrong with either 9.1 or 9.3. The PostgreSQL maintainers recommend always running the latest released version. http://www.postgresql.org/support/versioning/ -- 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
Re: [Dspace-tech] dspace mail issue
On Tue, Feb 04, 2014 at 07:31:40PM +0530, rocky bang wrote: hii all, 1) I installed dspace 1.8.2 on ubuntu 12.04 recently, but when i add e-person to dspace and try to login using username, i clicked on forgot password provided my email, but it throws internal system error. Whenever you see that Internal system error message, you should look in the log files to see if there is more information about what happened. https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error It seems there is problem regarding sending mail using dspace, How to i configure dspace to send mail? That depends on the email environment at your site. More information would help. 2) Another issue is when i try to import .sql file of other dspace into my dspace it throws some error psql -h hostname -d databasename -U username -f file.sql It is difficult to assist, when all we have been told is some error. What error, specifically? -- 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
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
Re: [Dspace-tech] How to update database schema into Window
I'm not sure what is happening in the lower window. In the upper window: 1. ./something isn't a path to something on Windows; use .\something. 2. There is no pgsql command; use psql. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/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] DSpace 4.1 released!
Dear DSpace Community: On behalf of the DSpace developers, I would like to formally announce that DSpace 4.1 is now available! DSpace 4.1 is a bug-fix release and contains no new features. DSpace 4.1 can be downloaded immediately at either of the following locations: * SourceForge: https://sourceforge.net/projects/dspace/files/ * GitHub: https://github.com/DSpace/DSpace/ (see the dspace-4.1 tag) In addition, you are welcome to try out DSpace 4.1 on http://demo.dspace.org/ and continue to provide any early feedback you may have. == Fixed in 4.1 == o Fixed issue where having a period (.) in your handle prefix generated incorrect identifiers (DS-1536) o Fixed broken quick build (from [dspace-src]/dspace) (DS-1867) o Fixed a crash of DSpace during CSV import via BTE (DS-1857) o Fixed collection harvesting to DSpace via ORE (DS-1848) o Fixed deposit of new items via SWORD (DS-1846) o Fixed search hit highlighting in XMLUI (DS-1907) o Fixed broken 'stat-initial' script (DS-1795) o Other minor fixes. See Changes in 4.x section for a list of all fixes. For much more information on each of these features, please visit our 4.x Release Notes: https://wiki.duraspace.org/display/DSDOC4x/Release+Notes == 4.1 Documentation == The DSpace 4.x documentation is available online at: https://wiki.duraspace.org/display/DSDOC4x/ A PDF copy of the documentation is still distributed with the software. In addition, it can also be downloaded from: http://www.dspace.org/latest-release/ == 4.1 Acknowledgments == The DSpace application would not exist without the hard work and support of the community. Thank you to the many developers who have worked very hard to deliver all the new features and improvements. Also thanks to the users who provided input and feedback on the development, as well those who participated in the testathons. Additionally I would like to thank Tim Donohue of DuraSpace for ensuring that DSpace 4.1 went off without a hitch. A detailed listing of all known people/institutions who contributed directly to DSpace 4.1 is available in the Release Notes. If you contributed and were accidentally not listed, please let us know so that we can correct it! For DSpace 4.1, we had a total of 25 individuals contribute bug reports and bug fixes. A big thanks goes out to everyone who participated. We hope you'll continue to be a valuable addition to the DSpace community for the next release and beyond! == More Information == More information on this release is also available in the DSpace 4.1 Release Notes at: https://wiki.duraspace.org/display/DSDOC4x/Release+Notes As always, we are happy to hear back from the community about DSpace. Please let us know what you think of 4.1! - Mark Wood, on behalf of the DSpace 4.1 Release Team, and all the DSpace developers. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/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] Upgrading to 4 and postgres DB update
On Wed, Mar 12, 2014 at 05:51:31PM +, Schuster, David wrote: Does it matter what user I am when I run this? Postgre, dspace, root? An interesting question, since what user I am has two values here. It doesn't matter what OS user you are. The DBMS only cares what DBMS user you are. You should provide the DBMS credentials for the DSpace user when upgrading the database: $ psql --user [dspace-dbms-user] -f [dspace-source]/dspace/etc/postgres/database_schema_3-4.sql [dspace-database] You should be prompted for the DSpace DBMS user's password. I'm updating the documentation to explain this better (I hope :-) . -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ 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] SRB question
On Mon, Mar 17, 2014 at 09:54:32AM +0200, Manuel Subredu wrote: we would like to use SRB to host the DSpace data to multiple servers/storages in multiple locations but at this moment we don't know how are the files (uploaded trough DSpace) stored when using SRB. Are they stored in filesystem as plain files (that can be easily recovered and included into backups) or are stored within a database or something else ? As I recall, the files are stored just the same way in either case, whether you have a local filesystem or a filesystem on SRB. The database only holds the metadata, regardless. I don't know SRB well at all, so I don't know how hard it would be to include it in your backups. The answer to that should not depend on DSpace. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ 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 security-related questions
On Mon, Mar 17, 2014 at 04:03:28PM -0500, Shazia Sathar wrote: The DSpace instance I am working on will be used to facilitate data sharing of very sensitive information, for example, identifiable health-related information. Hence, there is a need to make it a very secure application. I am in the process of obtaining information on what needs to be done in order to make it secure- server configurations, application configuration, database security, etc. You will want everyone behind a good firewall, then. Most of the work on DSpace is done with open access in mind. Reasonable attention is paid to access control, but I don't think this has ever been thoroughly audited. To be honest, if it were my project I would not use DSpace for highly sensitive information just yet. (I don't know what I *would* recommend.) A possible work-around would be to store only assets which are already encrypted. If the metadata are not themselves sensitive information then this might be workable. Currently, I have setup the application on one server and the database on another. Upon reading the dspace documentation, however, I figured that the assetstore directory contains the uploaded data. 1. Any ideas on how I can secure this directory? Is it possible to retrieve the item if the directory gets compromised or does the database have some key which is required to retrieve the item? Assets are not encrypted by DSpace. They are scattered through a moderately deep tree of subdirectories, by means of a well-known hashing function of their content. The database holds the relationship. So it's difficult to find a specific asset without using the product, but not difficult at all to read or copy anything you find. Your only real defense here is to prevent shell access by untrusted people. (And, as usual, physical access means Game Over.) 2. Does it make more sense to move the assetstore directory to a secure location? If yes, how can I go about doing this? Since the database will have login credentials for all registered users, and the fact that registered users have access to the protected information, should I consider keeping the assetstore directory and database separated from where the application resides? If you are going that detailed, we need to know your threat model. 3. Any configuration settings on Apache httpd and tomcat other than making dspace run on https? Make sure that HTTPD does not itself give anyone access to the assetstore. Likewise Tomcat. 4. How can I perform an audit on the system? For example, get a list of users who downloaded a particular item. All access is logged to [DSpace]/log/dspace.log* . There are a lot of other records in there too, but the code contains examples of dredging specific kinds of information out of the log. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ 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] Which log files can I remove
Well, I don't have a complete answer, but the Cocoon logs are voluminous and contain nothing I know of that has lasting value. dspace.log* contain much that could be useful for recovering statistical data, should you need to. Common webserver logs can also be gleaned for statistics. Very recent versions of DSpace also produce separate Solr log files, which also grow very large. I am unaware of anything in these that should be saved for long. DSpace and webserver log files are highly compressible. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ 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] problem with build failing in Dspace 3.2
Odd: I just moved my ~/.m2/repository/org/sonatype/oss/oss-parent directory aside, ran 'mvn clean install', and it had no trouble using http://oss.sonatype.org/content/repositories/releases/; to fetch oss-parent. But we may as well secure the connection. The cost is negligible. I've submitted an issue to Jira. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- ___ 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] can't get /sorl deployed in 4.1
On Fri, Apr 04, 2014 at 03:31:49PM -0400, Jose Blanco wrote: Before this error takes place I see this in the log file: Apr 04, 2014 3:27:49 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/deepblue/dspace/repository/dev/webapps_dev/solr/WEB-INF/lib/jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class Apr 04, 2014 3:27:49 PM org.apache.catalina.startup.ContextConfig applicationWebConfig This is just an annoyance. The servlet container provides jsp-api and already has it loaded by this point, but for some reason (probably incorrect transitive dependencies?) dspace-solr and dspace-oai have jsp-api-2.1.jar in their WEB-INF/lib directories. This is messy but can be ignored -- the container did the right thing. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR___ 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] can't get /sorl deployed in 4.1
On Fri, Apr 04, 2014 at 04:54:31PM -0400, Jose Blanco wrote: Do you know why version dspace 4.1 now requires tomcat 7? Someone here told me that solr is doesn't really needed it? Is it for another dspace webapp that needs 7. I just want to understand the reason for 7. I'm hoping it has to do with solr, because that would explain the problem I'm seeing. Manakin seems to work fine with the tomcat I have. Tomcat 5.5 is no longer maintained, so we can't recommend it. Tomcat 6 will soon move to the same status, when Tomcat 8 leaves beta. It appeared that, well before the next DSpace release, only Tomcat 7 would be supportable. http://tomcat.apache.org/whichversion.html Tomcat 5.5 might be troublesome with DSpace 4.1 for other reasons, since the version of jsp-api that it provides (overriding what DSpace includes) is 2.0, while dspace-solr and dspace-oai were built against 2.1. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR___ 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] can't get /sorl deployed in 4.1
On Mon, Apr 07, 2014 at 09:04:13AM -0400, Mark H. Wood wrote: On Fri, Apr 04, 2014 at 03:31:49PM -0400, Jose Blanco wrote: Before this error takes place I see this in the log file: Apr 04, 2014 3:27:49 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/deepblue/dspace/repository/dev/webapps_dev/solr/WEB-INF/lib/jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class Apr 04, 2014 3:27:49 PM org.apache.catalina.startup.ContextConfig applicationWebConfig This is just an annoyance. The servlet container provides jsp-api and already has it loaded by this point, but for some reason (probably incorrect transitive dependencies?) dspace-solr and dspace-oai have jsp-api-2.1.jar in their WEB-INF/lib directories. This is messy but can be ignored -- the container did the right thing. This is confusing, when combined with my later remarks. The container did the right thing (refuse to load from a webapp a JAR that the container provides) but the result may be bad (because the provided JAR is older than what the webapp expects). A newer container, providing a new enough version of jsp-api, will still complain about the duplication, but should not cause any problems related to a back-level jsp-api. I don't know whether that has any connection with the logging problem. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR___ 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 3.x ou 4.x on linux debian 64-bit
On Mon, Apr 28, 2014 at 10:40:40AM -0300, Anisio Monteiro (IPEN/GDS-Informática) wrote: Someone could say whether the dspace 3.x or 4.x works on 64-bit computers? Yes, I can, and yes, it does. DSpace is written in Java, so it doesn't care about 32- or 64-bitness. If you have 64-bit hardware, you can use the 64-bit version of the Java Runtime Environment. We run that way here. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ 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] Google Scholar - not indexed correctly
On Wed, May 21, 2014 at 02:00:00PM +0200, Bram Luyten wrote: Interesting, thank you for reporting back Stuart. It's good to know that downtime in the past can trigger exclusion. This gave me to think. We have done quite some work to exclude spiders from the usage statistics, but I wonder if we could use those same judgments to generate periodic reports showing *only* who is spidering a site, and perhaps how often or how aggressively. It might be useful for e.g. noticing that a desired spider is *not* listed. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ 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] Background vs. periodic work [was Re: JAVA_OPTS for cron jobs?]
On Fri, May 30, 2014 at 10:16:25AM -0400, Peter Dietz wrote: [snip] Not to derail onto a tangent, but one thing I'd like to see DSpace support is some type of background-processing-queue. I would distinguish different types of background activities. i.e. new content submitted should be queued to get: initial checksum, virus check, media-filters to generate thumbnail and fulltext extraction, Discovery needs to index the content Good idea. These are relatively short-running, as-needed tasks whose demand is unrelated to the size of the repository. They should happen at submission but it may be annoying to wait for them before submission completes. They can all be done using Curation Tasks. (I think we ought to do a lot more by attaching tasks to workflow steps rather than hardcoding stuff or pushing it off to later batch processing.) And then there are maintenance jobs: Recompute the checksum, OAI harvest, index-maintenance, ... Cron and Task Scheduler are your friends. These grovel over the entire repository, perhaps for hours, and can demand a lot of storage bandwidth. Wearing my sysadmin. hat, I would very much prefer to schedule these myself using the same facilities that I use for other long-running resource-hungry periodic maintenance tasks, so that I can get a complete picture of the expected load by looking in one place. New submissions add to the queue, some scheduler can add maintenance tasks to the queue. This way you don't run into the issue of 3+ concurrent cron jobs because they didn't complete in time. Maybe you can even tie this in to the curation task queue system too. In the past we had a GitHub Enterprise/Firewall, and being an admin of that shows you fancy admin bells and whistles, where you can even inspect the queue. Now what happens if queue growth exceeds its throughput, we'll cross that bridge when we get there. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ 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] Build Failure running maven
This (DS-1961) is fixed in DSpace 4.2 (coming soon), DSpace 3.3 (coming soon), and DSpace 5.0. In the meantime, it is a one-character fix to [DSpace-source]/pom.xml: near the bottom, change the URL: http://oss.sonatype.org/content/repositories/releases/ to https://oss.sonatype.org/content/repositories/releases/ (http: becomes https:.) https://github.com/mwoodiupui/DSpace/commit/77a8929c72b09d9c26c1ac0e6942e9f9dd98632c -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ 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] DSpace 3.3 released: fixes minor issues in the 3.x platform
Dear DSpace Community: On behalf of the DSpace developers, I would like to formally announce that DSpace 3.3 is now available! DSpace 3.3 is a bug-fix release and contains no new features. It includes several bug fixes which have been backported to the 3.x platform (from the upcoming 4.2 bug-fix release). DSpace 3.3 will likely be the last release on the DSpace 3.x platform. DSpace 3.3 can be downloaded immediately at either of the following locations: * SourceForge: https://sourceforge.net/projects/dspace/files/ * GitHub: https://github.com/DSpace/DSpace/ (see the dspace-3.3 tag) == Fixed in 3.3 == o Handle prefix containing a dot generated incorrect identifier.uri (DS-1536) o Out of Memory errors may occur when indexing large bitstreams/files in Discovery (DS-1958) o A possible memory leak in the OAI webapp (DS-1898) o A problem with repeatable fields in XMLUI submission forms losing values (DS-1893) o The dspace classpath command threw an error (DS-1998) o Thumbnails were not displayed when using JSPUI + Oracle database (DS-2013) o A fix in OAI harvester test for source sites with many OAI sets (DS-1834) o If the optional SOLRBrowseDAO was enabled, attempts to remove items may have failed with a database exception (DS-1619) o Other minor fixes. See Changes in 3.x section for a list of all fixes. For much more information on each of these features, please visit our 3.x Release Notes: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.3+Notes == 3.3 Documentation == The DSpace 3.x documentation is available online at: https://wiki.duraspace.org/display/DSDOC3x/ A PDF copy of the documentation can be downloaded from: http://sourceforge.net/projects/dspace/files/DSpace%20Stable/3.3/DSpace-Manual.pdf/download == 3.3 Acknowledgments == The DSpace application would not exist without the hard work and support of the community. Thank you to the many developers who have worked very hard to deliver all the new features and improvements. Also thanks to the users who provided input and feedback on the development, as well those who participated in the testathons. Additionally I would like to thank Tim Donohue of DuraSpace for ensuring that DSpace 3.3 went off without a hitch. A detailed listing of all known people/institutions who contributed directly to DSpace 3.3 is available in the Release Notes. If you contributed and were accidentally not listed, please let us know so that we can correct it! For DSpace 3.3, we had a total of 45 individuals contribute bug reports and bug fixes. A big thanks goes out to everyone who participated. We hope you'll continue to be a valuable addition to the DSpace community for the next release and beyond! == More Information == More information on this release is also available in the DSpace 3.3 Release Notes at: https://wiki.duraspace.org/display/DSDOC3x/Release+Notes As always, we are happy to hear back from the community about DSpace. Please let us know what you think of 3.3! - Mark Wood, on behalf of the DSpace 3.3 Release Team, and all the DSpace developers. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] Setting up SSL with Dspace 4.1
On Tue, Jun 24, 2014 at 07:41:26PM +, Michael O Holt wrote: I'm trying to setup SSL with my Dspace instance (university is now requiring it) and I'm having a hard time getting it to work. I've imported the certs from our institution, and I followed the directions in the documentation to the letter, yet SSL still refuses to work. Currently, I get an ERR_SSL_PROTOCOL_ERROR when trying to connect in Chrome. My Dspace instance is the only site I have the issue with in Chrome, so it's not the usual problem that causes that particular error to come up. Any suggestions as to how I can proceed. Thanks for any help you can offer. Does Chrome say anything about what *kind* of protocol error it saw? The more details, the better. More information might help. Are you proxying through e.g. Apache HTTPD or going direct to the servlet container? Could we see the configuration of whatever is handling SSL connections (minus passwords) please? Does the servlet container (and/or the proxy if you use one) log anything interesting for these problematic connections? There is a rather nice SSL/TLS diagnostic at Qualys SSL Labs: https://www.ssllabs.com/ssltest/analyze.html It might tell you something useful. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ 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] exceptions in dspace.log
On Wed, Jun 25, 2014 at 10:18:36AM -0400, Monika Mevenkamp wrote: I see a lot of 'java.net.SocketException: Connection reset' in our production system dspace.log. For example between 10:05 and 10:13 today, I see 36 lines with 'view_bitstream' and 12 lines with 'bitstream threw exception'. Here are two samples: 2014-06-25 10:05:34,224 INFO TP-Processor10 org.dspace.app.webui.servlet.BitstreamServlet @ anonymous:session_id=600DC9838C6246C339A86057ED0E3697:ip_addr=194.248.77.110:view_bitstream:bitstream_id=5087 2014-06-25 10:12:57,168 ERROR TP-Processor12 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[bitstream] @ Servlet.service() for servlet bitstream threw exception We are running 1.8 with JSPUI How should I go about finding the root cause ? Seeing references to JK, it looks like Tomcat is writing the response back to a proxy over AJP, but the proxy has closed the connection. What does the proxy log at this time? 2014-06-25 08:53:27,698 INFO TP-Processor1 org.dspace.usage.LoggerUsageEventListener @ anonymous:session_id=637AE762BBA5BF2F36B3BE614C0AE106:ip_addr=180.222.140.37:view_bitstream:bitstream_id=3358 2014-06-25 08:53:27,976 ERROR TP-Processor1 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui].[bitstream] @ Servlet.service() for servlet bitstream threw exception java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:538) at org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:162) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at org.dspace.core.Utils.copy(Utils.java:238) at org.dspace.core.Utils.bufferedCopy(Utils.java:264) at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:142) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:126) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) -- Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ 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 -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https
Re: [Dspace-tech] Internal Server Error uploading doc
On Wed, Jul 02, 2014 at 11:26:42AM +0100, Eric Martyns wrote: I get this internal system error when ever a submitter is about uploading a doc. But after a resend most times the doc eventually gets uploaded, sometimes it never does even after many attempts. What could be the reason for this and how can I resolve this. Step one is to find out what the actual problem is. This message means have your DSpace administrator look in the DSpace and servlet container logs for more details. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ 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] mvn installation problems with 4.1
On Thu, Jul 10, 2014 at 10:48:41AM +0200, Hilton Gibson wrote: Hi Ruben Is this a bug? https://jira.duraspace.org/browse/DS-1961 This is fixed in DSpace 3.3, 4.2 (unreleased) and 5.0 (unreleased). -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ 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] Permissions dspace
On Wed, Aug 20, 2014 at 12:34:57PM -0600, Charlene Chinda Barina wrote: Thanks Hilton, but I'm running this on CENTOS 6.5, with tomcat7 being pulled from the epel YUM repo; it doesn't store tomcat user data in the location mentioned on the wiki. If you installed Tomcat from your distribution's package manager, then the package manager probably created a username to run it. In that case, the simplest approach is to have DSpace's files owned by the account that runs Tomcat, rather than trying to fix Tomcat to run as some other user. That's what we do here. You don't need a 'dspace' account; you need DSpace to be fully accessible to whatever account runs Tomcat, since DSpace is just kind of a glorified subroutine of Tomcat (or whatever Servlet container it runs in). -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ 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] Tomcat takes forever
On Tue, Sep 02, 2014 at 03:11:15PM +0300, John Chris wrote: I have installed DSpace 4.2 through upgrade from 3.1 and also with a fresh install. Both times when I copied the webapps inside Tomcat installation, Tomcat stops rensponding and loading takes forever. If I delete the sword, swordv2 and xmlui folders, the jspui that I want to use works fine. What should cause this bug? System: Windows 2008 R2 Standard, Apache Tomcat 8, Apache Ant 1.9.4, Apache Maven 3.2.2, PostgreSQL 9.2, JDK 1.7.0_65 with JRE 7 If you have no use for sword, swordv2, or xmlui then don't copy them into Tomcat. It is quite proper to only run the webapp.s that you intend to use. (solr is used by xmlui and jspui, and perhaps others, so it should always be included.) If the documentation says otherwise, we should correct it. Do you find anything suggestive in the Tomcat or DSpace log files, when Tomcat stops responding? I see that you have a very recent Tomcat, which is good, but Tomcat 8 and recent Tomcat 7 will search through every JAR looking for configuration fragments and taglibs unless told not to. We need to work out how DSpace should inform Servlet 3.x containers as to which JARs are worth inspecting. In the meantime, starting up DSpace on recent Tomcat releases may indeed just be slow. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ 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] IMPORTANT NEWS: Important Info for Future Editions | Ranking Web of Repositories
Points 4, 6 and 7 reveal a profound lack of understanding of hypertext and fundamental security issues, and I would not be surprised to learn that they ignore typical user behavior as well. Does anyone but a sysadmin. or developer really type in direct URLs to repository content? Citations please. I would argue that we can better do without appearing in the Ranking Web of Repositories, whatever that is, than to give up the ability to protect our users' credentials. (Point 4, which disallows HTTPS) Point 5 is just bizarre. Why does someone think this is a problem? Not that I think it particularly useful to use the name of supporting software in naming a repository service, but how can it possibly hurt? Are there any actual statistics to support the belief that long URLs in the interior of a service actually affect anyone's behavior? It sounds like there should be some discussion among the various parties. Where? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ 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 1.8.2 Highest supported PostgreSQL
On Wed, Sep 10, 2014 at 05:35:42PM +, Avino, Thomas W. (LARC-B702)[LITES] wrote: According to the Dspace documentation, v 1.8.2 supports PostgreSQL versions 8.3 and 8.4 Does anyone have experience with 1.8.2 working with Postgres 9.2 or 9.3? https://folio.iupui.edu/ is running DSpace 1.8.1 with PostgreSQL 9.3.3. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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 issue
On Mon, Sep 15, 2014 at 10:03:25AM -0500, Naveen Srinivasan wrote: I am new to Dspace . I am looking at the installed version to fix the issue. Since about version 1.7, DSpace has added a Generator META element to every page, which gives the DSpace version. Your browser likely can show it to you if you ask for something like page info. More recent versions also have the 'bin/dspace version' command. You can also look at [DSpace]/lib/dspace-api-*.jar, whose name includes the version. Issue : After login to Repository . On clicking the Statistics link under Administrative section is not producing the output .I am getting the below message There are currently no reports available for this service. Please check back later. My question is how to find the installed version ? I verified most of the cfg files ,but no luck. Second is how to get the statistics ,i came to know that cron jobs should be scheduled,But to schedule it below files are required which I am not able to find in my bin directory, [dspace]/bin/stat-general [dspace]/bin/stat-monthly [dspace]/bin/stat-report-general [dspace]/bin/stat-report-monthly That suggests a fairly recent version. Newer versions of DSpace have replaced the individual scripts in /bin with the 'dspace' command: bin/dspace stat-general bin/dspace stat-monthly bin/dspace stat-report-general bin/dspace stat-report-monthly -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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] metadata batch import bug?
On Fri, Sep 26, 2014 at 10:12:24AM -0400, Peter Dietz wrote: Hi Pablo, Ideally we'd like to be validating that dc.date.* are all valid ISO8601 dates, but using non-standard values is quite widespread. dc.date.issued: WWI, or Circa 1950, or Sept 2014, or 2014 Summer, or Unknown. I think it's optimistic to suppose that we could always get an ISO 8601 date here. Those odd values contain information that a day-date cannot represent. Aside from fixing the bug (unparseable dates lead to null values which then make code which expects dates sick), we need to consider how date metadata are used. Some need to be convertible to some kind of common representation of time bindings, but others may not. Those on which DSpace does not operate, and whose formats are not defined by external metadata standards, can probably remain free-form. For the rest... Given some time, we ought to build something that can understand reasonable values here. I see several classes that must be addressed: o Imprecise dates: Sep-2014, 20th Century. These have calculable limits but may need special-purpose parsing. They represent definite intervals and can be matched without much trouble. o Fuzzy dates: c. 1969, before 1492. We might represent these as intervals with a fuzzy bit to indicate uncertainty: they cannot really participate in comparison without defining just how much fuzz is acceptable for a match. o Named events and intervals: WWI. There are probably too many variations for DSpace to handle these out-of-the-box. Maybe we can provide room for pluggable parsing and comparison modules, to recognize these as convertible to our hypothetical common representation and to do appropriate matching. o Unknown. We should define one or two external representations of this and require conformance to them if you really want to enter an explicitly unknown date. Or perhaps anything not parseable should be filed as unknown, with a warning on the submission form as you suggest. It might be best to think of these values as sentences in a small language as we design recognizers and manipulators for them. The common representation is probably an object containing a pair of Dates (an interval), the fuzzy bit, the unknown bit, perhaps some information about how it was understood, and methods for manipulating these complex beasties. There is already some code (DCDate) to deal with imprecise dates, but it may not yet be used everywhere we need it. OTOH if the language model fits well, the best common representation might be a parse tree. Has anyone formally studied the kinds of date information that repositories deal with? What they actually *need*, that is, not the *interesting* things that people come up with when they have no standard for dealing with novel problems. :-) -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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 , unable to send email to the address
I see two problems. On Mon, Sep 29, 2014 at 08:42:58AM -0700, SSK wrote: I run [dspace]/bin/dspace test-email result: dspace@dspace-pc:/dspace/bin$ ./dspace test-email log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /dspace/log/dspace.log.2014-09-29 (Permissão negada) I don't speak Portugese, but I think this is saying that the user who is running bin/dspace is not permitted to write into the DSpace log file. That should not be related to the other problem: About to send test email: - To: - Subject: DSpace test email - Server: ** Error sending email: - Error: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Please see the DSpace documentation for assistance. DSpace and the mail server attempted to negotiate an encrypted connection, but the servlet container (Tomcat?) in which DSpace is running does not have a copy of the root certificate which the mail server is using, and so does not trust the connection. If you want to use SMTP-in-TLS or STARTTLS then you will need to get a copy of the mail server's root certificate and place it in the servlet container's trust store so that the mail server's own certificate can be validated. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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] Is it possible to enforce/check that the user use a valid and existing email address when using DSpace forms?
On Wed, Oct 01, 2014 at 12:49:38AM -0700, euler wrote: I'm pretty sure that you have encountered this kind of scenario especially if you have enabled the item request feature where a user put a non existing email address. You will later discover the Delivery to the following recipient failed permanently message when responding to the users' request/feedback. Although it is the user's fault for using an invalid/non existing email address, we take our user's requests/feedback seriously and as much as possible we want to make sure to respond or serve any of their requests/feedbacks. Is there a workaround for this? Or is there some way to check first and then enforce that the user will use a valid and existing email address? Using some sort of verification link to be sent to the users' email address like during self-registration might be overkill or a hassle to them right? Any ideas? We are up against fundamental characteristics of Internet mail. It's a store-and-forward system distributed over any number of links, across multiple administrative domains, with indefinite possible delays. I think the most that DSpace could reasonably do without human interaction is to verify that the address is syntactically correct. This is why you see that we'll send you an email with a link in it method so often: it's about the only thing that works. A possible heuristic approach: send a we're working on it email to the requester immediately, wait a moment for a bounce message and, if one arrives, tell the requester what the problem is and to try again. But, depending on your local network services and policies, DSpace might not be able to receive bounce messages (or any other messages) at all. Or it might take longer than the configured delay for any number of reasons. And meanwhile the user is sitting there waiting, wondering what is taking so long. (At first it seems simple: send an SMTP VRFY to the distant host and look at the response. But these days, you may not be permitted to open an off-site SMTP connection; the distant host may refuse to talk to you; the distant SMTP may be configured to deny the use of VRFY -- this is recommended practice. There are too many ways that this is commonly broken, for it to be very reliable.) -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/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] idle in transaction
On Fri, Oct 10, 2014 at 02:53:47PM -0600, James Holobetz wrote: We are running: Dspace version 3.2 on Suse Linux Enterprise Server 11 SP3 java 1.6.0_33 postgres 8.3.23 tomcat 6.0.18 (these versions are within the SLES upgrade cycle) That is a very old, no-longer-supported-by-postgresql.org PostgreSQL. What version of the JDBC driver are you using? I've seen this problem with older drivers. Here we are running on PostgreSQL 9.3.5 and jdbc-postgresql 9.2_p1003. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Error jsp-api-2.1.jar not loaded (DSpace 4.2)
On Mon, Oct 13, 2014 at 04:45:41PM +0700, Nguyen Hung Thanh wrote: I install DSpace 4.2 on windows. When start apache tomcat, dspace run very slow. Do you mean that DSpace takes a long time to start, or that, after is is completely started, DSpace responds slowly? Recent versions of Tomcat spend a lot of time searching every JAR in a webapp. for descriptor fragments, taglib descriptors, and such stuff, and for a large product like DSpace, with many dependency JARs, startup can be slow. I would appreciate it very much to have this bug fixed. *From tomcat7-stderr.2014-10-13.log file* INFO: *validateJarFile(C:\dspace\webapps\xmlui\WEB-INF\lib\jsp-api-2.1.jar) - jar not loaded.* See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class Oct 13, 2014 2:17:50 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\dspace\webapps\jspui\WEB-INF\lib\jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class These messages are unrelated to your problem. See https://jira.duraspace.org/browse/DS-1997 for details. These messages are annoying but harmless. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Solr Statistics still not working DSpace 4.1
On Mon, Oct 20, 2014 at 03:16:15PM +1100, Keir Vaughan-Taylor wrote: I took a copy of the working Solr statistics from a working machine. Then copied the database, the log files and the assetstore across. The test line wget http://127.0.0.1/solr/statistics/select?q=*:* works and also the discovery index optime etc doesn;t crash. Only one problem - no statistics! i notice in the postgres database there is a table called webapp that contains the url of each server from a previous existance. So we clone the server - recompile dspace and get a new URL in this table. On a trial clone i tried making the url all the name of the server instance and it didn't seem to do anything helpful ( or bad) What does this table do? Is it likely to be related to my problem? I think it unlikely that the webapps table is related to your problem. It only exists to allow 'bin/dspace version' to know what webapp.s are running. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Experience using external handle and/or use cases
As discussed on #dspace, one important thing to keep in mind is that DSpace does Handles backwards: it supplies a class for the Handle server to load, which queries DSpace's database for Handle resolution. I believe that what was envisioned by CNRI as typical would be for things to work the other way around: the Handle server is given newly minted handles by the information service (such as DSpace) and stores them itself. So extending the DSpace way across other products may require writing backwards Handle support for each of those products. Yes, you can create derived prefixes. Yes, there is a separate Annual Service Fee for each prefix, derived or not. There is no Registration Fee for derived prefixes. http://www.handle.net/HSj/hdlnet-2-SVC-AGREE-3.pdf -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/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] Multiple instances of Dspace 4.x in one Tomcat 7
On Fri, Nov 21, 2014 at 10:27:10AM -0800, Pablo Courault wrote: I was tried to mount two instances Dspace 4.x in one Tomcat 7 unsuccessfully. Someone found a way to di it ? Yes. In what way were you unsuccessful? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/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] dpsace3, solr, tomcat7, debian question
On Fri, Jan 23, 2015 at 02:14:01PM +0100, Lars Schimmer wrote: Hi! I took over a dspace installation with dspace3, Tomcat7 on a debin 7.8 system. Now we got a issue with solr: We always get a 403 error, even on a localhost request. I did checked some online ressources, but they did not bring me along so far. In tomcat server.xml I did enter this: Context path=/solr reloadable=true Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.0\.0\.1|129\.27\.218\.d+/ This RE is not quite right, if you meant to accept 129.27.218.0/24. allow=127\.0\.0\.1|129\.27\.218\.\d+ -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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 with mod_jk, SSL, and local authority cert
Perhaps the code cannot recognize that the cert. you provided is the one it wants. It could be a host name resolution problem. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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 count submissions within an interval?
I wanted to double-check: given DSpace 4.0 with PostgreSQL, should this not give me the number of Items submitted in the year 2014? SELECT COUNT(*) FROM metadatavalue WHERE metadata_field_id = (SELECT metadata_field_id FROM metadatafieldregistry WHERE metadata_schema_id = 1 AND element = 'date' AND qualifier = 'accessioned') AND to_date(text_value,'-MM-DD') = '2014-01-01' AND to_date(text_value,'-MM-DD') '2015-01-01'; -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Encryption, APIs in DSpace
On Tue, Feb 17, 2015 at 09:47:25AM +, Vikram . wrote: I was hoping to hear on just a couple of more things: - DSpace being Open Source, how feasible would it be to add encryption DSpace itself. What i mean is, would it be possible to modify the code to integrate encryption so that DSpace does the encryption/decryption itself? Possible? Yes. - Would such an effort be practical? I mean would be too much effort to achieve something which may/may not be achieved using simpler means? First show us your threat model. Why do you need to encrypt? Against what attacks are you defending? How does the system recognize legitimate access to the repository? to a single object in the repository? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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-tech]: Export Import using SAF technique
On Wed, Jan 14, 2015 at 12:43:00PM +0300, Nada Abo-Eita wrote: Hi All, I just noticed that I have this error in dspace.log: 2015-01-14 10:00:38,797 ERROR org.dspace.discovery.SolrServiceImpl @ *Error while writing item to discovery index:* 10576/10556 message:Server at http://tspace.qu.edu.qa:8080/solr/search returned non ok status:500, message:Internal Server Error org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at http://tspace.qu.edu.qa:8080/solr/search returned non ok status:500, message:Internal Server Error mwood@mhw ~ $ HEAD http://tspace.qu.edu.qa:8080/solr/search 500 Can't connect to tspace.qu.edu.qa:8080 (Bad hostname) Content-Type: text/plain Client-Date: Wed, 14 Jan 2015 14:00:20 GMT Client-Warning: Internal response mwood@mhw ~ $ host tspace.qu.edu.qa Host tspace.qu.edu.qa not found: 3(NXDOMAIN) mwood@mhw ~ $ There's your problem. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] What's DSpace--Ubuntu--vg-root?
On Sat, Dec 27, 2014 at 05:27:38AM -0800, P.Hadadan (NW) wrote: What's /dev/mapper/DSpace--Ubuntu--vg-root? Where is refer to? It's used most of my storage. Can I Delete It or not, How? /dev/mapper/* are device nodes created by the Linux kernel's device mapper. This one appears to represent an LVM volume group. It probably does account for most of your storage, but it isn't *using* any of it; it should contain logical volumes, which in turn contain filesystems. To delete it might have results ranging from disruptive to disastrous, or might not work at all -- I've never tried. Do not manipulate DM nodes as if they were files. The Ubuntu documentation should explain how the OS uses DM and LVM to organize raw storage. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ 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 on recent submissions
On Wed, Jan 07, 2015 at 11:46:06PM +0100, Hugo Agud wrote: On the other hand we have the euskera language translated, how can we share with the community. There is advice on how to contribute to DSpace here: https://wiki.duraspace.org/display/DSPACE/How+to+Contribute+to+DSpace#HowtoContributetoDSpace-HowToContributeIdeasorSuggestNewFeatures I think that to contribute a localization, you would add it to the project dspace-api-lang (for JSPUI and command line tools) and/or dspace-xmlui-lang (for XMLUI). -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ 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] (no subject)
Either your Solr is not running, it is not listening at the address and port where DSpace expects to find it, or a firewall is blocking contact between them. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] install error for upstream/master
On Wed, Mar 04, 2015 at 03:19:02PM +, Monika C. Mevenkamp wrote: Thanks Andrea and a follow up question to mvn experts My tomcat8 says in its release notes * servlet-api.jar (Servlet 3.1 API) so I changed the main pom to say dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version3.1.0/version /dependency then a couple rounds of unsuccessful mvn package attempts Finally I removed ~/.m2/repository/javax and tried again mvn clean mvn -U package this triggers downloading of all sorts of a javax packages. As you can see in the list below there is a javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom despite this I get the error [ERROR] Failed to execute goal on project dspace-services: Could not resolve dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could not find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases (https://oss.sonatype.org/content/repositories/releases/) I am at a loss - since the jar/pom was downloaded - why is maven / am I confused ? They changed the name of the artifact starting with 3.0.1. The GAV coordinates are now javax.servlet:javax.servlet-api:3.1.0. http://search.maven.org/#artifactdetails|javax.servlet|javax.servlet-api|3.1.0|jar Personally I think this sort of renaming should be a hanging offense. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] install error for upstream/master
On Wed, Mar 04, 2015 at 07:34:44PM +, Monika C. Mevenkamp wrote: Ah - Yikes - Thanks It compiles now after I changed the dependencies to rely on artifactIdjavax.servlet-api/artifactId Unfortunately this had to be done in all sorts of pom.xml files BUT after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in webapps/*/WEB-INF/lib directories when I do ant update rm $DSPACE_HOME/webapps/jspui/WEB-INF/lib/*servlet* then restart tomcat and localhost:8080/jspui comes up fine My reading of the output of 'mvn dependency:tree' suggests that this is org.mortbay.jetty:servlet-api, pulled in transitively due to the dependency on org.mortbay.jetty.jetty by com.google.oauth-client-jetty, which for some reason is a dependency of dspace-api. I wonder what happens when we exclude o.m.j:servlet-api? It looks to me as though at least oauth-client-jetty, and perhaps others, should be in scopetest/scope. That's probably a better fix. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] (no subject)
On Thu, Mar 05, 2015 at 12:36:23AM +0200, Skevas Spiridon wrote: I've installed the dspace and when i go to browse Authors or By Issue Date or Titles as Administrator i get an error. This happens also when i try to browse Private Items or Withdraw items again as administrator.What happens? It appears to me that your Solr instance for DSpace either is not running, is not listening at the URL that DSpace has been configured to use for it, or is configured to reject connections from the address and/or port that DSpace uses to contact it. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Assistance
#0]; root of factory hierarchy INFO [org.dspace.servicemanager.spring.SpringServiceManager] Spring Service Manager started up in 2611 ms with 111 services... INFO [org.dspace.servicemanager.DSpaceKernelImpl] DSpace kernel startup completed in 2685 ms and registered as MBean: org.dspace:name=33f4ac76-47ef-4b08-8b20-68a696f830b0,type=DSpaceKernel INFO [org.dspace.core.ConfigurationManager] Loading provided config file: /dspace/config/dspace.cfg INFO [org.dspace.core.ConfigurationManager] Using dspace provided log configuration (log.init.config) INFO [org.dspace.core.ConfigurationManager] Loading: /dspace/config/log4j.properties Loading catalog: file:/var/lib/tomcat7/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog Now what is the problem. -- 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 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] spider ip recognition
On Thu, Apr 23, 2015 at 05:39:01PM +, Monika C. Mevenkamp wrote: I found a couple of really suspicious numbers in my solr stats, aka lots of entries were marked as isBot=false although the probably should has been isBot=true. In the config file I use spiderips.urls = http://iplists.com/google.txt, \ http://iplists.com/inktomi.txt, \ http://iplists.com/lycos.txt, \ http://iplists.com/infoseek.txt, \ http://iplists.com/altavista.txt, \ http://iplists.com/excite.txt, \ http://iplists.com/northernlight.txt, \ http://iplists.com/misc.txt, \ http://iplists.com/non_engines.txt I could not find downloadable lists for Bing, Baidu, Yahoo. The best I saw was: http://myip.ms/info/bots/Google_Bing_Yahoo_Facebook_etc_Bot_IP_Addresses.html Is that reliable ? Does anybody out there have lists / sources that they can share ? What version of DSpace are you running? Recent versions can also recognize spiders by regular expression matching of the domain name or UserAgent: string. (However, that only works for new entries. I've recently found that some of the tools for loading and grooming the stat.s core don't use SpiderDetector and are oblivious of these newer patterns.) Also: does the dspace code gracefully deal with IP address patterns ? That depends on what is considered graceful. The code (in org.dspace.statistics.util.IPTable) accepts patterns in three forms: 11.22.33.44-11.22.33.55 11.22.33.44 11.22.33 Addresses in the first form may be suffixed with a CIDR mask-length, but it is currently ignored. If I've understood the code, a range (the first form) is assumed to differ only in the fourth octet. It will match all addresses between 44 and 55 within the /24 containing the start of the range. The second form is an exact match of a single address. The third form is a match of the first 24 bits -- an entire Class C subnet. There is no provision for IPv6. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Autosubscribe to group does not work as expected
On Tue, Apr 28, 2015 at 05:43:09PM +0200, Carlos Alonso Vega wrote: (Platform Dspace 5.1 - xmlui) We got a problem with new users and submissions. New users are expected to be allowed to submit to certain collection after they create their account at dspace, they are unable to. *1*- At account creation they are added to special group (through param login.specialgroup=myUsers) My recollection is that special groups don't work that way. Membership in a special group is a property of a *session*, not an eperson. You won't see such memberships in the database because they are not permanent. *2*- At first login, the user can see him belonging to myUsers (clicking in profile) That sounds like a design flaw in the user interface. Special groups should be shown as distinct from other groups. *3*- There is a collection My Users' Collection with submissions allowed from group myUsers But he cannot submit to it (the collection is not listed)... That sounds like an error in the code, yes. *4*- In DB (Oracle) no entry actually is done at EPERSONGROUP2EPERSON as any ordinary addition to group could have done *5*- Administrator does not see any user at myUsers group, despite users see them belonging to it in their profiles (this is probably due to #4) As above, this is what I would expect to see. Perhaps the auto groups ( as login.specialgroup=myUsers) have an special management, but it seems not to be managed ok when reading permissions to submission. Anyone has seem a similar behaviour, are we missing something o has any ideas to workaround this? Carlos -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Problem in Group and Eperson administration
. 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 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] DSpace V5 New database schema
On Thu, May 07, 2015 at 02:09:57PM +0200, Fernando Gómez Romero wrote: I've just upgrade my DSpace version recently from v4.3 to 5.1. I developed external statistics with some database queries asking for the group and eperson names. In the v4 schema this was very handy, in tables epersongroup.name or eperson.firstname/eperson.lastname . But in the 5.1 schema I have seen that these name and lastname values are gone, with some other more. Where can I get that info? It has to be somewhere because DSpace uses it, but I want to get it for my external info. These moved into the metadatavalue table in 5.0. Use eperson_id as the resource_id, org.dspace.core.Constants.EPERSON or .GROUP as resource_type_id, and (SELECT metadata_field_id FROM metadatafieldregistry WHERE metadata_schema_id = (SELECT metadata_schema_id FROM metadataschemaregistry WHERE namespace = 'http://dspace.org/eperson') AND element = 'firstname') [for example] as metadata_field_id. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Handle server limit (99999 items?)
I think 2147483647 or 9223372036854775807 is much more likely as the limit. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Handle server limit (99999 items?)
On Thu, May 07, 2015 at 08:35:22AM -0400, Mark H. Wood wrote: I think 2147483647 or 9223372036854775807 is much more likely as the limit. The suffix is generated by a DBMS SEQUENCE object. In PostgreSQL, handle_seq.max_value is the latter of the above. (2**63 - 1: the limit of an SQL BIGINT, or java.lang.Long.MAX_VALUE.) However, HandleManager.createHandle(Context, DSpaceObject) uses TableRow.getIntColumn to retrieve it, and this will throw IllegalArgumentException when the value exceeds the former of the above (2**31 - 1: java.lang.Integer.MAX_VALUE). We should fix that. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Not possible to submit new DSpace item
On Fri, May 08, 2015 at 08:29:24AM +, KNOWLES Claire wrote: DSpace needs to handle the CC API failure in a better way though, as it's bound to happy again in the future. https://jira.duraspace.org/browse/DS-2569 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] How to stop users from printing and downloading
On Fri, May 08, 2015 at 03:09:53PM +0530, Dspace Tech wrote: I have a Dspace repository running. I want to restrict the user from printing and downloading. Then you need to deny anonymous READ access, grant READ access to a group, and require users to sign an agreement not to print or download before granting them membership in that group. No web service, not even DSpace, has any way of knowing what the client will do with the documents it provides. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- 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] Some Solr Statistics are lost when upgraded version
On Fri, Jun 05, 2015 at 03:06:55PM +0200, Hilton Gibson wrote: On 5 June 2015 at 14:43, Mark H. Wood mw...@iupui.edu wrote: what is preventing you doing that with the usage data that DSpace collects? Again, I have to advise, give Piwik a spin. I type two-fingered - the reply is too long for me to type - sorry. I don't see the relevance of some other product to the question of why you can't get cases out of Solr. I do it all the time, mostly with little Perl scripts. Once you figure out the query, the rest is fairly simple. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Some Solr Statistics are lost when upgraded version
On Fri, Jun 05, 2015 at 09:31:18AM +0200, Hilton Gibson wrote: On 5 June 2015 at 08:48, Bram Luyten b...@atmire.com wrote: what are you currently lacking in DSpace stats, that make them less trustworthy than Piwik? Hi Bram Piwik lets you examine logs in detail. Give it a spin, you will see. OK, now I have to ask: what is preventing you doing that with the usage data that DSpace collects? I have no particular trouble extracting cases from the 'statistics' core. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 500 while trying POST \login
is available in the Apache Tomcat/8.0.21 logs.* Php fcode which I am using for this purpose is below ... ?php $header=['Content-Type:application/json','Accept:JSON']; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,http://localhost:8080/rest/login/;); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // receive server response ... curl_setopt($ch, CURLOPT_TIMEOUT, 4); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); //curl_setopt($ch, CURLOPT_USERPWD, $your_username.':'.$your_password); curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query(array('email'='emailaddress','password'='passs'))); Should the above line not be: CURLOPT_POSTFIELDS,http_build_query(array('email'=$your_username,'password'=$your_password))); $server_output = curl_exec ($ch); echo $server_output; // var_dump($server_output if (curl_errno($ch)) { print curl_error($ch); } else { } curl_close ($ch); // further processing ? If anyone can point out the error in my code and how to debug it ? Thanks in advance -- ___ 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 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 User registration, password reset and feedback not working DSpace3.3 XMLUI
On Tue, Jun 23, 2015 at 02:30:24PM +0600, Md. Ataur Rahman wrote: Hello, I have installed DSpace 3.3 on a brand new Debian wheeze machine with XMLUI. All things are working ok except user registration, Feedback and reset user password etc. I have configured postfix with gmail which is also working fine. My email configuration on dspace.cfg is as follows- # SMTP mail server # mail.server = smtp.example.com mail.server = smtp.gmail.com # SMTP mail server authentication username and password (if required) #mail.server.username = #mail.server.password = mail.server.username = x...@gmail.com mail.server.password = VCC # SMTP mail server alternate port (defaults to 25) # mail.server.port = 25 mail.server.port = 587 -- # the key and the value. For example: mail.extraproperties = mail.smtp.socketFactory.port=587, \ mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \ mail.smtp.socketFactory.fallback=false These properties combine to force the use of SMTP-in-TLS. That is: the mailer will first try to establish a TLS session and then run an SMTP session inside of it. But you specified port 587, which expects to establish an SMTP session first. It can use the SMTP STARTTLS verb to perform upward negotiation and carry out the actual SMTP transactions in a TLS session. In short: I think your port and class here are incompatible. The Error message for user registration is as follows:- Register an account to subscribe to collections for email updates, and submit new items to DSpace. 1. Email Address: This address will be verified and used as your login name. * Unable to send email to this address. The output of the command -- ./dspace dsrun org.dspace.core.Email INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=0f2e2427-bac7-4e06-85fa-36ce88d721f9,type=DSpaceKernel:lastLoad=null:loadTim e=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/soft/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /soft/dspace/config/log4j.properties About to send test email: - To: ataurb...@gmail.com - Subject: DSpace test email - Server: smtp.gmail.com Error sending email: - Error: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? This shows that DSpace tried to start a TLS session, but the other end responded with plaintext, which result is what the above-described mismatch should produce. If you want SMTP-in-TLS, use SSLSocketFactory and submission port 465. If you want plain SMTP, use the default socket factory and submission port 587. If you want plain SMTP with STARTTLS, also set mail.smtp.starttls.enable=true. My guess is that you want SMTP-in-TLS and that this would work: mail.extraproperties = mail.smtp.sslEnable = true, \ mail.smtp.socketFactory.port=465 But I have not tried that combination. Is there any way to create and manage user through command line? There is a 'dspace user' command in v5.x, but I don't think it was available in v3.3. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ 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] moving a subset of Handles out of DSpace
On Thu, Jun 18, 2015 at 06:44:36PM +, Halliday, James Leonard wrote: Thanks Mark. I just had another idea as well. We already have this community under a separate, unique, XMLUI theme. Could we alter that theme to include a redirect META tag, that redirects to the new location, or to a service that finds the appropriate URL? I don't know if XMLUI themes can do things like that. An interesting question and I don't know the answer. meta refresh is kind of icky, unless you need to interpose one of those sit here forever and eventually your browser will show you what you asked for pages. But I think that a theme could include a transformer that changes the response to an HTTP Redirect. I'd be surprised if there isn't one already, but if not, it should be simple to write. This might at least be a good alternative if the meta tag doesn't work out. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] moving a subset of Handles out of DSpace
I almost forgot: there is a Jira issue for moving to a stock Handle resolver: https://jira.duraspace.org/browse/DS-2153 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] moving a subset of Handles out of DSpace
On Thu, Jun 18, 2015 at 05:01:54PM +, Halliday, James Leonard wrote: We have a DSpace instance which has one community that has moved elsewhere (to OJS). So there are 4000+ items that are no longer valid and should be removed, withdrawn, or deleted. I would like to have the handles for those 4000 articles redirect to the corresponding article in OJS. But I assume this requires hacking the handle server? Has anyone done something like this before or have any tips? The actual difficulty is that the Handle resolver that comes with DSpace is already hacked: it is configured to use a custom storage backend which depends on DSpace's Handle table. A stock Handle resolver would be able to comprehend having this resource on service A, that on service B...but DSpace doesn't know how to deal with the resolver directly. The two services communicate through the shared database. It probably wouldn't take too much effort to build a new Handle provider that interacts with a stock Handle resolver, and I've been thinking that that is really the way for DSpace to go. Has anyone already done that? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] moving a subset of Handles out of DSpace
I also forgot https://jira.duraspace.org/browse/DS-1171 which has a patch attached. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Define xmlui as ROOT
On Thu, Jun 18, 2015 at 10:38:23AM -0500, Shannon Meisenheimer wrote: We are running DSpace 5.1 on a Win server with Tomcat alone (no Apache). We've deployed DSpace webapps using Technique A from the installation doc (define xml context paths). Any ideas on how we can eliminate the need for xmlui in the URL? Would defining a context path file of root.xml with docbase set to [dspace]\webapps\xmlui work without affecting any of the other webapps (solr in particular)? That is how you do it, except that the name must be ROOT.xml (uppercase ROOT). http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] missing Messages.properties file - re-post
On Mon, Jun 08, 2015 at 10:30:37AM -0400, Yongming Wang wrote: I don't get any response for my previous posting a week ago. So try again. (please see the description below for the problem I encountered.) My installation is definitely missing the critical Messages.properties file. The reason, I guess, may be that I downloaded dspace-5.1-release.tar.gz, which probably doesn't contain Messages.properties. Can anyone tell me if that is why I don't have Messages.properties. Thanks so much. You are correct. 'dspace-5.1-release.tar.gz' is the precompiled version, and Messages.properties is packed inside one of the .jar files that it downloads. If that's really the reason, what is the remedy? If you unpack a copy of the file, edit it, and place it in [DSpace]/webapps/jspui/WEB-INF/classes, I think that copy will be found before the one in the JAR, but I have not tested this. You can unpack it this way: cd [DSpace] jar xf webapps/jspui/WEB-INF/lib/dspace-api-5.1.jar Messages.properties That should result in a copy of the file being placed in [DSpace]. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 5.2, Tomcat 8, JSPUI and servlet-api version problems?
Sorry, my previous post was a bit terse. DSpace should not be including *any* version of servlet-api.jar in its webapp.s. The Servlet spec. requires that this be provided by the container. The PR previously mentioned is meant to prevent servlet-api being pulled in. I would be interested to learn whether this patch is helpful. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 5.2, Tomcat 8, JSPUI and servlet-api version problems?
I think you may be seeing https://jira.duraspace.org/browse/DS-2502 (Incorrect dependencies drag javax.servlet:servlet-api into all webapp.s) There's an untested patch at https://github.com/DSpace/DSpace/pull/953 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] user registration
On Mon, Jul 06, 2015 at 01:19:18PM +, Saidy Binta wrote: Hi All, The registration only take users with @mrc.gm, the registration does not that @yahoo.com, @hotmail, @gmail.com etc . I have list these domain at the password authentication and rebuild but still its the same error * Unable to send email to this address. # Only emails ending in the following domains are allowed to self-register # Example - example.com domain : @example.com # Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk domain.valid = @mrc.gm, @yahoo.com, @gmail.com, @hotmail.com can someone kindly help. Registration of a new user causes a message to be sent to that user's email address. The first thing I would check is whether the outgoing mail server ([DSpace]/config/dspace.cfg: mail.server) is configured to allow your DSpace host to send mail to hosts outside of mrc.gm. It's possible that your institution requires specific authorization for that. If that is not the problem, then I think that we will need more information. Specifically, any messages from dspace.log from a few seconds before to a few seconds after after the failure. The timestamps from those messages would also help you to ask the person responsible for your mail server for any log messages from that service which might be helpful. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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] maven build failure dspace 5.2
On Tue, Jun 30, 2015 at 05:25:01AM -0700, cotanio wrote: I'm doing upgrade to dspace 5.2 on Oracle database and run: mvn -Ddb.name=oracle -U clean package the following error message appears: /Failed to execute on project goal additions: Could not resolve dependencies for project org.dspace.modules: additions: jar: 5.2: Could not find artifact com.oracle:ojdbc6:jar:11.2.0.4.0 in Sonatype-releases https: //oss.sonatype.org/content/repositories/releases// Is there an alternative repository to add in pom.xml to solve? You need to have that artifact manually installed in your local Maven repository (~/.m2/repository). The upgrade instructions don't discuss that, but you can follow the instructions under Installation: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation in step 4 (Database Setup) under Oracle:. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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 remove jspui in url to access jspui interface
On Mon, Aug 17, 2015 at 11:51:31AM -0400, Yongming Wang wrote: We just implemented DSpace 5.2 and use jspui interface. In order to access the application, we use the url http://.tcnj.edu/jspui; (we have already changed the default port 8080 to 80). Is it possible to remove the jspui part? So that when people enter http://.tcnj.edu;, it will access the jspui application. If you are using Tomcat as your servlet container, the webapp. at the root path (/) is named ROOT. So find the place where JSPUI was deployed to Tomcat and rename it: o If you are using an unpacked webapp, it will be a directory named jspui. Rename it to ROOT. o If you are using a WAR, it will be named jspui.war, and should be renamed to ROOT.war. o If you are using separate Context descriptor files, the file will be named jspui.xml, and should be renamed ROOT.xml. The directory or WAR which is named as the docbase in that file need not be renamed, and it is probably most convenient not to. http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming If you're using some other container, I can't give specific advice. I'm sure there is a way to do this, but it will be different. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Administrative Statistics
On Tue, Aug 18, 2015 at 02:12:18PM -0500, Tim Donohue wrote: The Administrative Statistics are the (very old) legacy DSpace statistics pulled from log files, which pre-dated the Usage Statistics (based on Solr). They are only generated by running these commandline options: [dspace]/bin/dspace stat-initial [dspace]/bin/dspace stat-general [dspace]/bin/dspace stat-monthly The only reason they still exist is that the Usage Statistics don't provide all the same information (yet). The Usage Statistics are much more accurate in providing usage information (as these legacy, log-based stats do not filter out spiders or similar). But, the legacy, log-based stats do provide some unique administrative statistics, like the counts of the number of actions performed in your DSpace, etc. [tangent] I don't find the situation confusing at all. Service administrators have different needs than contributors and editors. While the mechanism for gathering and storing sitewide admin. statistics might be improvable, I think we ought to look at bringing them up to date and fleshing them out with other information that admin.s would want. As an example, people interested in the content will appreciate having robot accesses filtered out, but admin.s might profit from seeing filtered and unfiltered counts side by side. Even more so if they can sample these counts mechanically and accumulate them for visualization. Some other stuff I get asked for includes simple counts of how much stuff we have: how many Items, how many Bitstreams, how many image Bitstreams. End users don't care about such things, but senior administrators do. For the future, another thing that our biggest statistical consumers want very much is views aggregated by *author*. I'm looking forward to first-class support for author identities so that we can do this well. [tired old refrain] Statistics doesn't mean the same thing to everyone. It may not mean the same thing to *anyone*. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 5.3 SOLR can't find libs
On Tue, Aug 18, 2015 at 02:52:44PM +0200, Brouns, Francis wrote: I am testing out the DSpace 5.3 upgrade on my local Windows machine. The solr.log reports many warnings when trying to add lib dirs. to classloader. Is this a Windows specific problem? Where do I correct this path? Those are left-over examples from the stock Solr distribution which should have been removed from the authority configuration as they were in the search and statistics configurations. You can ignore these messages, but they are annoying. These libraries are declared in [DSpace]/solr/authority/conf/solrconfig.xml and I think you can safely comment them all out. Look for the lib ... / elements. I've created a Jira ticket to track this problem: https://jira.duraspace.org/browse/DS-2706 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 when using import command in DSpace 5.2
On Tue, Jul 28, 2015 at 02:12:31PM +0300, Layale Bassil wrote: I am trying to import items into Dspace 5.2 using the /data/bin/dspace import command but I am getting the following error which I am not being able to know the reason for: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission denie d) [snip] log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /data/log/cocoon.log.2015-07-28 (Permission denie d) [snip] log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission denie d) The account in which your Servlet container (e.g. Tomcat) runs does not have permission to open those files for writing. I would check the ownership and permission on those files. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Nested Metadata
On Wed, Jul 29, 2015 at 04:06:19PM -0400, Peter Dietz wrote: Has anyone stored nested / rich metadata in DSpace? An example I'm thinking of is for storing richer amounts of metadata for an object. For example: - Author - first-name: Peter - last-name: Dietz - name-as-it-appears: Peter Dietz - institution: Longsight - date-of-birth: ... - ... - Author - first-name: Sam - last-name: Ottenhoff - ... The Authority Control system of DSpace looks like it approaches this, but the documentation isn't clear, and I'm not sure if it requires that your data values reside in some Library of Congress registry. You can create other authority providers. (The documentation is indeed sketchy. The code is in dspace-api:org.dspace.content.authority. Sadly there is no package-level documentation to help us understand how the package is organized.) The hack-job I have in mind would be to serialize the information... to json... and then store that into a metadata field. So. schema.author.serialized = {first-name: Peter, last-name: Dietz, name-as-it-appears : Peter Dietz, institution: Longsight, ... } However, I'm tempted to think that DSpace should either have the ability to plug into any registry (hopefully there are registries you can populate and maintain with your own local data), or to extend DSpace's metadata data model to support nested/rich data. DSpace already has infrastructure sufficient to represent the above. We just don't define: somenamespace.person.givenname somenamespace.person.surname somenamespace.person.preferred somenamespace.person.affiliation somenamespace.person.dob That part is easy to fix. The hard part is that DSpace treats author names as immediate strings rather than identifiers for related person objects. Fixing that will take a bit of work. It ties in with existing and ongoing work to integrate ORCID, too. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Need Advice on DSpace Upload Error
On Thu, Jul 30, 2015 at 02:50:48PM -0400, Matt Sherman wrote: Hi all, I could use some help diagnosing an upload error I am getting when I try to upload files. Any assistance would be appreciated as I am unsure what the issues is. The error message is posted below. Thanks for any assistance you can provide. Matt Sherman Problem in creating the Request Message: null Description: No details available. Sender: org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter Source: Cocoon Servlet cause Malformed stream: No space left on device ^^^ Apparently the disk is full. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] what is the resource_type_id in metadatavalue table of dspace database?
On Mon, Aug 03, 2015 at 03:11:36PM +0530, Code 2 dogears wrote: I am new to dspace. I am retrieving values from dspace metadatavalue table. One think I don't understand is resource_type_id in metadatavalue table. Resource_type_id has specific values. It has value 3 for coleection name and its description, 0 for bitstreams etc You can find those in dspace-api:org.dspace.core.Constants: Constants.BITSTREAM, Constants.ITEM, etc. It refers to the type of object, and qualifies the resource_id. (Each subclass of DSpaceObject is persisted in its own table and has its own sequence of object IDs, so one must specify both type and ID to uniquely identify an object.) -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] tomcat bound to port 80
) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:448) ... 40 more -- ___ 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 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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 to Create Multiple Instance for Dspace-5.2-src-release
On Wed, Jul 29, 2015 at 01:46:00PM +0300, Mansoor Ali wrote: Iam really thankful if any one would help me in this case. Iam trying this to implement on windows. I want to create two instances for dspace-5.2-src-release and to keep both the instances in two different servers called ServerA ServerB and my main intention is to view the same data from both instances so please any body have a solution for this case or what will be the best way to view the same data from two instance which are on two different Servers and these two servers are connected to a single DB server a single assetstore. I have not tried to build such a system, but here is what I would do. The two instances of DSpace should in this case use a single database, not two separate databases. That is: db.url should be the same for both. The shared assetstore should be in a filesystem that can coordinate concurrent use across a cluster of hosts and is configured to do so. It appears to me that you are running your DSpaces on MS Windows, and I haven't touched a Windows server in years so I don't have any good specific advice on that. The behavior that you see with two separate databases, even though stored in the same DBMS instance, is what I would expect. The database is how DSpace knows what it has and where to find it. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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