Re: [Dspace-tech] Scroll Bar Bug
Hi, Arthur, I looked at your attached screen shot, the item you're concerned about is the width of the collection select box. It is likely that you have a very wide/deep collection/community hierarchy, and the select box is just growing large enough to accommodate the contents. You might be able to edit your theme's CSS file to add an overflow:hidden to the style for that select box. -Hardy From: Arthur Sady Cordeiro Rossetti [arthurs...@gmail.com] Sent: Thursday, July 09, 2015 1:11 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Scroll Bar Bug Guys, when I uploaded from version 5.1 to 5.2 in that new section batch load import im having a bug with the size of the scroll bar. I can´t find in which file to change it. Im sending a print so you can see my situation. Does anyone know which file to change? Regards -- Arthur Sady C. Rossetti -- 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] Question about Browse By in DSpace 5.2
Please do submit a Jira issue for this, we are working on release 5.3. Thanks! --Hardy Sent from my iPad On Jul 3, 2015, at 3:11 AM, Hilton Gibson hilton.gib...@gmail.commailto:hilton.gib...@gmail.com wrote: Hi All, In addition to the previous two issues, this one cropped up regarding ORCID. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Researcher_Identification/5.X/ORCID#PLEASE_NOTE: I am thinking of submitting a bug report. Cheers hg Hilton Gibson Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 3 July 2015 at 04:17, George Stanley Kozak g...@cornell.edumailto:g...@cornell.edu wrote: Hi… I am almost ready to cutover out DSpace 1.8.2 JSPUI system to DSpace 5.2 XMLUI (Mirage 2 theme), but our user testing uncovered a problem that I didn’t notice before. Testers found that if they put anything in the input fields of Browse by Title, Browse by Author, Browse by Date or Browse by Subject, that the search results in a display of the whole index and the starts on the last page of the index. The fields that I am talking about are input id=aspect_artifactbrowser_ConfigurableBrowse_field_starts_withfield in the Browse by Title or Browse by Author or Browse by Subject And select id=aspect_artifactbrowser_ConfigurableBrowse_field_year and input id=aspect_artifactbrowser_ConfigurableBrowse_field_starts_with in Browse by Date Has anyone seen this before at their site? I am assuming that there is something wrong with my index, but I did a ./dspace index-discovery -b and it didn't help. George Kozak Cornell University -- 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.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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] Vagrant or Docker
Hi, I fielded this question a while ago on my blog: http://lso.umsystem.edu/~pottingerhj/article/38/why-vagrant-instead-of-docker In the mean time, I've since seen a Vagrant-based tool for Wordpress development, that uses Docker under the hood. It's pretty cool, and worth checking out: http://www.sitepoint.com/wocker-easy-dockerized-wordpress/ What makes this environment really cool is that, you get the convenience of easily setting up a dev environment, and when it's done, you get a really nice tool for quickly spinning up new instances of Wordpress, inside that environment. And these same tools can become deployment tools. OK, but, setting down the toys :-) I think Tim Donohue's distinction is a good one: Vagrant is a dev environment tool, and has many very nice features built up to support that use case. Docker is a deployment tool (and a pretty young one, still). Containerization is a big deal in the ops world. It's very likely that the powers that be at your institution have some opinions on the subject, and you'll need to enlist their support before you get too much farther with experimenting with a deployment tool like Docker. From: Monika C. Mevenkamp [moni...@princeton.edu] Sent: Tuesday, June 23, 2015 4:57 PM To: Lista técnica do DSpace Subject: [Dspace-tech] Vagrant or Docker Hi my boss discovered a dspace docker so which one should I do - docker or vagrant ? They sound awfully alike the host can connect to things : tomcat / ssh / ... files can be shared between host and vagrant/docker guest it appears to be easy to hand a ‘vagrant’ or a ‘docker’ to another developer so what’s the deal ? why one over the other ? Monika — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 -- 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] Vagrant Goodies
Is there a reason why you did not do :-) I would never assume that anyone running Vagrant-DSpace would also have Maven installed on their host computer. It's part of the point of Vagrant-DSpace, to not have to install Maven. Though, it's cool that you figured that out, and that you find it helpful. RE: Landrush, it's kind of fiddly, I don't use it any more. Instead I use Vagrant::Hostsupdater [1] [1] https://github.com/cogitatio/vagrant-hostsupdater It's a much more solid solution to mapping host names to localhost. From: Monika C. Mevenkamp [moni...@princeton.edu] Sent: Tuesday, June 23, 2015 10:47 AM To: Pottinger, Hardy J. Cc: Tim Donohue; Lista técnica do DSpace Subject: Vagrant Goodies Hi Hardy vagrant-cachier is just what the doctor ordered - I was wondering about sharing resources I tried it out - it took me a bit to find where the maven dir lives on the host. After that I went ahead and linked (cd ~/.vagrant.d/cache/dspace-trusty64/maven; ln -s ~/.m2/repositry/* .) Is that how you share ? Is there a reason why you did not do # use the generic cache bucket for Maven config.cache.enable :generic, { maven = { cache_dir: /home/vagrant/.m2 }, } and then link (cd ~/.vagrant.d/cache/dspace-trusty64/maven; ln -s ~/.m2/* .) I use Bram’s trick of putting profiles in ~/.settings.xml - sharing the whole .m2 dir would give me the ability to keep all config bundles together in settings.xml Anyway - off to read about land rush and the other goodies Monika — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 On Jun 22, 2015, at 10:47 AM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, Monika, here's the line [1] in the Puppet template file that gets turned into vagrant.properties, which selects the DB driver. Here's what I do when I want to work with Oracle and Vagrant-DSpace (not often, only when I want to test Oracle compatibility): I keep a copy of vagrant.properties in the config/dotfiles folder, and I rename it vagrant-oracle.properties. I then have a little bash alias I run to change the MAVEN_OPTS: alias oracle.env-init=export MAVEN_OPTS='-Denv=vagrant-oracle -Dmirage2.on=true -Dmirage2.deps.included=false' NOTE: if you're not using Mirage2, you can forget the mirage2 options. I also park the ojdbc.jar file in there, just in case I need it, however I usually don't, because long ago I installed the Vagrant-cachier plugin [1], and that keeps my entire .m2/repository folder, including any manually-installed jar files, cached on my host machine. In my local-bootstrap.sh provisioner script, I've added this: # BASH aliases customization if [ -f /vagrant/config/dotfiles/bash_aliases ]; then echo setting up .bash_aliases file sudo -i -u vagrant cp /vagrant/config/dotfiles/bash_aliases /home/vagrant/.bash_aliases fi Which lets me configure all kinds of little aliases. --Hardy [1] https://github.com/DSpace/vagrant-dspace/blob/master/modules/dspace/templates/vagrant.properties.erb#L59 [2] https://github.com/fgrehm/vagrant-cachier From: Tim Donohue [tdono...@duraspace.org] Sent: Thursday, June 18, 2015 2:05 PM To: Monika C. Mevenkamp; Lista técnica do DSpace Subject: Re: [Dspace-tech] dspace 5_x + Oracle on Vagrant Hi Monika, It looks like it's trying to connect with: Driver: org.postgresql.Driver (according to the output of your dspace database test) This implies that your dspace.cfg probably has the wrong value for db.driver. It should be: db.driver=oracle.jdbc.OracleDriver So you may want to update this in your dspace.cfg and try again. Also may want to update it in your build.properties (as that's what populates the dspace.cfg). In the case of vagrant-dspace, it uses a custom vagrant.properties by default. - Tim On 6/18/2015 1:33 PM, Monika C. Mevenkamp wrote: I got myself dspace vagrant switched to dspace_5_x branch setup to run with Oracle via settings in dspace.cfg copied ~/.m2/repository/com/oracle/ojdbc6 from my host to vagrants ~/.m2 did mvn package with -Ddb.name=oracle I can successfully run ~/dspace/bin/dspace database test Attempting to connect to database using these configurations: - URL: jdbc:oracle:thin:@xyz.princeton.edu http://xyz.princeton.edu:1521:dspdevl - Driver: org.postgresql.Driver - Username: dspace - Password: [hidden] - Schema: Testing connection... Connected successfully! localist:8081/probe tells me that jspui, xmlii, oia, rdf did not come up there are exceptions in catalina.out java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@xyz.princeton.edu http://xyz.princeton.edu:1521:dspdevl but the jar is available to all webs - according to ls ls -ld ~/dspace/webapps/*/WEB-INF
Re: [Dspace-tech] dspace 5_x + Oracle on Vagrant
Hi, Monika, here's the line [1] in the Puppet template file that gets turned into vagrant.properties, which selects the DB driver. Here's what I do when I want to work with Oracle and Vagrant-DSpace (not often, only when I want to test Oracle compatibility): I keep a copy of vagrant.properties in the config/dotfiles folder, and I rename it vagrant-oracle.properties. I then have a little bash alias I run to change the MAVEN_OPTS: alias oracle.env-init=export MAVEN_OPTS='-Denv=vagrant-oracle -Dmirage2.on=true -Dmirage2.deps.included=false' NOTE: if you're not using Mirage2, you can forget the mirage2 options. I also park the ojdbc.jar file in there, just in case I need it, however I usually don't, because long ago I installed the Vagrant-cachier plugin [1], and that keeps my entire .m2/repository folder, including any manually-installed jar files, cached on my host machine. In my local-bootstrap.sh provisioner script, I've added this: # BASH aliases customization if [ -f /vagrant/config/dotfiles/bash_aliases ]; then echo setting up .bash_aliases file sudo -i -u vagrant cp /vagrant/config/dotfiles/bash_aliases /home/vagrant/.bash_aliases fi Which lets me configure all kinds of little aliases. --Hardy [1] https://github.com/DSpace/vagrant-dspace/blob/master/modules/dspace/templates/vagrant.properties.erb#L59 [2] https://github.com/fgrehm/vagrant-cachier From: Tim Donohue [tdono...@duraspace.org] Sent: Thursday, June 18, 2015 2:05 PM To: Monika C. Mevenkamp; Lista técnica do DSpace Subject: Re: [Dspace-tech] dspace 5_x + Oracle on Vagrant Hi Monika, It looks like it's trying to connect with: Driver: org.postgresql.Driver (according to the output of your dspace database test) This implies that your dspace.cfg probably has the wrong value for db.driver. It should be: db.driver=oracle.jdbc.OracleDriver So you may want to update this in your dspace.cfg and try again. Also may want to update it in your build.properties (as that's what populates the dspace.cfg). In the case of vagrant-dspace, it uses a custom vagrant.properties by default. - Tim On 6/18/2015 1:33 PM, Monika C. Mevenkamp wrote: I got myself dspace vagrant switched to dspace_5_x branch setup to run with Oracle via settings in dspace.cfg copied ~/.m2/repository/com/oracle/ojdbc6 from my host to vagrants ~/.m2 did mvn package with -Ddb.name=oracle I can successfully run ~/dspace/bin/dspace database test Attempting to connect to database using these configurations: - URL: jdbc:oracle:thin:@xyz.princeton.edu http://xyz.princeton.edu:1521:dspdevl - Driver: org.postgresql.Driver - Username: dspace - Password: [hidden] - Schema: Testing connection... Connected successfully! localist:8081/probe tells me that jspui, xmlii, oia, rdf did not come up there are exceptions in catalina.out java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@xyz.princeton.edu http://xyz.princeton.edu:1521:dspdevl but the jar is available to all webs - according to ls ls -ld ~/dspace/webapps/*/WEB-INF/lib/ojdbc6-11.2.0.4.jar ~/dspace/lib/ojdbc6-11.2.0.4.jar -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/jspui/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/oai/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/rdf/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/rest/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/swordv2/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/sword/WEB-INF/lib/ojdbc6-11.2.0.4.jar* -rw-rw-r-- 1 vagrant vagrant 2739670 Jun 18 17:28 */home/vagrant/dspace/webapps/xmlui/WEB-INF/lib/ojdbc6-11.2.0.4.jar* * * catalina.out also complains SEVERE: The web application [/xmlui] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Obviously the postgres driver should never be registered. Any ideas where that might happen and how to turn this off ? Monika — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette:
Re: [Dspace-tech] More DSpace 5.2 errors
Hi, to do my due diligence, I looked at my original copies of the revised distribution files, and have run jhove on all image files contained within, they are all Well-formed and valid. If you download the latest version of the 5.2 release on SourceForge [1] you should have all you need. --Hardy From: Pottinger, Hardy J. Sent: Wednesday, May 27, 2015 8:43 AM To: Shaun Donovan; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] More DSpace 5.2 errors Hi, Shaun, can you test the most recent distribution files available on Sourceforge [1] and let me know if the image files are still damaged? Thanks! --Hardy [1] https://sourceforge.net/projects/dspace/files/DSpace%20Stable/5.2/ (modified on 5/22) From: Shaun Donovan [sha...@teqcle.co.za] Sent: Tuesday, May 26, 2015 8:04 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] More DSpace 5.2 errors The images in xmlui/themes/Mirage/images packaged in the 5.2 distribution are also broken. Overwriting with the image directory of DSpace 5.1 fixes 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 -- ___ 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 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 DSpace5.2
Hi, Lewatle, thank you for bringing this to our attention. There appears to be a problem with our distribution packaging configuration (confirmed by myself and Mark Wood). We are looking into it. The gist of the problem is, the Maven overlay folders are not getting packaged up in the distributions. These overlay folders are necessary to build DSpace, as our Maven configuration expects to find these folders, even if they are empty. Since this is a packaging error, we should be able to produce new distribution packages that *do* work, and I expect that will happen later today. I hope we'll have a solution for the problem with the packaging configuration as well. In the mean time, if you'd like to manually fix your own distribution, and you're using the BASH shell (Linux or OSX), run this from your dspace-5.2-src-release folder: cd dspace/modules; for X in jspui lni oai rdf rest sword swordv2 xmlui; do mkdir -p $X/src/main/webapp; done Thanks to Mark Wood for the one-line BASH script. If you're using Windows or some other shell, the general idea is: create empty src/main/webapp folders in each folder in dspace/modules. Sorry for the mix-up, I'm sure we'll have this sorted out later today. --Hardy PS: if you or anyone else would like to pitch in with the packaging debugging, here is how: https://wiki.duraspace.org/display/DSPACE/Release+Procedure#ReleaseProcedure-CreatetheDistributionZipsforSourceForge Follow along with the instructions in the block that begins what if I deleted... The gist of it is: start with a fresh clone of DSpace from GitHub, check out the 5.2 tag, build the distributions, and then see that they are indeed missing the overlay folders... From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, May 22, 2015 4:43 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi Dspace Team, I am getting the following error while running : $ mvn -U clean package from dspace-5.2-src-release/dspace see error message that follows https://email.wits.ac.za/owa/?ae=Itema=Newt=IPM.Notecc=MTQuMi4zOTAuMSxlbi1VUyw0Mjk0OTY3Mjk1LEhUTUwsMCwwpspid=_1432287539935_867364774# BUILD FAILURE [INFO] [INFO] Total time: 3:13.958s [INFO] Finished at: Fri May 22 11:34:32 SAST 2015 [INFO] Final Memory: 37M/191M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project xmlui: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir /dspace/src/dspace-5.2-src-release/dspace/modules/xmlui/src/main/webapp does not exist - [Help 1] Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- 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] BUILD FAILURE DSpace5.2
FYI, I've created a JIRA ticket to track this issue: https://jira.duraspace.org/browse/DS-2590 Thanks for reporting the issue! --Hardy From: Pottinger, Hardy J. Sent: Friday, May 22, 2015 1:08 PM To: dspace-tech Subject: Re: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi, again, I have found a temporary workaround, have built new distribution zip files, and have pushed them over to SourceForge. Mark Wood is working on a far more elegant solution. We'll write it all up eventually, but I have tested both the release and src-release zip files, they have all required folders and all build DSpace correctly. The new distribution files work correctly, so if you depend on these files, just download new ones [1]. If you are tired of downloading and managing vendor drops, I do recommend you check out Git and GitHub [2]. Speaking of GitHub, they build distribution zip files on the fly, so, through all of this, the GitHub-made distribution zip file [3] has worked fine. --Hardy [1] https://sourceforge.net/projects/dspace/files/DSpace%20Stable/5.2/ [2] https://github.com/dspace/dspace [3] https://github.com/DSpace/DSpace/releases/tag/dspace-5.2 From: Pottinger, Hardy J. Sent: Friday, May 22, 2015 12:30 PM To: Pottinger, Hardy J. Subject: RE: BUILD FAILURE DSpace5.2 Hi, to be absolutely clear, the DSpace 5.2 application works fine. If you clone the DSpace repository from GitHub and check out the dspace-5_x branch, you will have a working repository. The issue here is that the distribution zip files are missing some important, though empty, folders. We are working to resolve this issue, so that people who might depend on using the distribution zip files (such as anyone still using Subversion for version control, and following a vendor drop protocol for tracking changes to DSpace) can make use of them. Sorry for the inconvenience, we will sort it out soon, I'm sure. --Hardy From: Pottinger, Hardy J. Sent: Friday, May 22, 2015 10:38 AM To: Lewatle Phaladi; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi, Lewatle, thank you for bringing this to our attention. There appears to be a problem with our distribution packaging configuration (confirmed by myself and Mark Wood). We are looking into it. The gist of the problem is, the Maven overlay folders are not getting packaged up in the distributions. These overlay folders are necessary to build DSpace, as our Maven configuration expects to find these folders, even if they are empty. Since this is a packaging error, we should be able to produce new distribution packages that *do* work, and I expect that will happen later today. I hope we'll have a solution for the problem with the packaging configuration as well. In the mean time, if you'd like to manually fix your own distribution, and you're using the BASH shell (Linux or OSX), run this from your dspace-5.2-src-release folder: cd dspace/modules; for X in jspui lni oai rdf rest sword swordv2 xmlui; do mkdir -p $X/src/main/webapp; done Thanks to Mark Wood for the one-line BASH script. If you're using Windows or some other shell, the general idea is: create empty src/main/webapp folders in each folder in dspace/modules. Sorry for the mix-up, I'm sure we'll have this sorted out later today. --Hardy PS: if you or anyone else would like to pitch in with the packaging debugging, here is how: https://wiki.duraspace.org/display/DSPACE/Release+Procedure#ReleaseProcedure-CreatetheDistributionZipsforSourceForge Follow along with the instructions in the block that begins what if I deleted... The gist of it is: start with a fresh clone of DSpace from GitHub, check out the 5.2 tag, build the distributions, and then see that they are indeed missing the overlay folders... From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, May 22, 2015 4:43 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi Dspace Team, I am getting the following error while running : $ mvn -U clean package from dspace-5.2-src-release/dspace see error message that follows https://email.wits.ac.za/owa/?ae=Itema=Newt=IPM.Notecc=MTQuMi4zOTAuMSxlbi1VUyw0Mjk0OTY3Mjk1LEhUTUwsMCwwpspid=_1432287539935_867364774# BUILD FAILURE [INFO] [INFO] Total time: 3:13.958s [INFO] Finished at: Fri May 22 11:34:32 SAST 2015 [INFO] Final Memory: 37M/191M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project xmlui: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir /dspace/src/dspace-5.2-src-release/dspace/modules/xmlui/src/main/webapp does not exist - [Help 1] Regards, Lewatle
Re: [Dspace-tech] BUILD FAILURE DSpace5.2
Hi, again, I have found a temporary workaround, have built new distribution zip files, and have pushed them over to SourceForge. Mark Wood is working on a far more elegant solution. We'll write it all up eventually, but I have tested both the release and src-release zip files, they have all required folders and all build DSpace correctly. The new distribution files work correctly, so if you depend on these files, just download new ones [1]. If you are tired of downloading and managing vendor drops, I do recommend you check out Git and GitHub [2]. Speaking of GitHub, they build distribution zip files on the fly, so, through all of this, the GitHub-made distribution zip file [3] has worked fine. --Hardy [1] https://sourceforge.net/projects/dspace/files/DSpace%20Stable/5.2/ [2] https://github.com/dspace/dspace [3] https://github.com/DSpace/DSpace/releases/tag/dspace-5.2 From: Pottinger, Hardy J. Sent: Friday, May 22, 2015 12:30 PM To: Pottinger, Hardy J. Subject: RE: BUILD FAILURE DSpace5.2 Hi, to be absolutely clear, the DSpace 5.2 application works fine. If you clone the DSpace repository from GitHub and check out the dspace-5_x branch, you will have a working repository. The issue here is that the distribution zip files are missing some important, though empty, folders. We are working to resolve this issue, so that people who might depend on using the distribution zip files (such as anyone still using Subversion for version control, and following a vendor drop protocol for tracking changes to DSpace) can make use of them. Sorry for the inconvenience, we will sort it out soon, I'm sure. --Hardy From: Pottinger, Hardy J. Sent: Friday, May 22, 2015 10:38 AM To: Lewatle Phaladi; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi, Lewatle, thank you for bringing this to our attention. There appears to be a problem with our distribution packaging configuration (confirmed by myself and Mark Wood). We are looking into it. The gist of the problem is, the Maven overlay folders are not getting packaged up in the distributions. These overlay folders are necessary to build DSpace, as our Maven configuration expects to find these folders, even if they are empty. Since this is a packaging error, we should be able to produce new distribution packages that *do* work, and I expect that will happen later today. I hope we'll have a solution for the problem with the packaging configuration as well. In the mean time, if you'd like to manually fix your own distribution, and you're using the BASH shell (Linux or OSX), run this from your dspace-5.2-src-release folder: cd dspace/modules; for X in jspui lni oai rdf rest sword swordv2 xmlui; do mkdir -p $X/src/main/webapp; done Thanks to Mark Wood for the one-line BASH script. If you're using Windows or some other shell, the general idea is: create empty src/main/webapp folders in each folder in dspace/modules. Sorry for the mix-up, I'm sure we'll have this sorted out later today. --Hardy PS: if you or anyone else would like to pitch in with the packaging debugging, here is how: https://wiki.duraspace.org/display/DSPACE/Release+Procedure#ReleaseProcedure-CreatetheDistributionZipsforSourceForge Follow along with the instructions in the block that begins what if I deleted... The gist of it is: start with a fresh clone of DSpace from GitHub, check out the 5.2 tag, build the distributions, and then see that they are indeed missing the overlay folders... From: Lewatle Phaladi [lewatle.phal...@wits.ac.za] Sent: Friday, May 22, 2015 4:43 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] BUILD FAILURE DSpace5.2 Hi Dspace Team, I am getting the following error while running : $ mvn -U clean package from dspace-5.2-src-release/dspace see error message that follows https://email.wits.ac.za/owa/?ae=Itema=Newt=IPM.Notecc=MTQuMi4zOTAuMSxlbi1VUyw0Mjk0OTY3Mjk1LEhUTUwsMCwwpspid=_1432287539935_867364774# BUILD FAILURE [INFO] [INFO] Total time: 3:13.958s [INFO] Finished at: Fri May 22 11:34:32 SAST 2015 [INFO] Final Memory: 37M/191M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project xmlui: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir /dspace/src/dspace-5.2-src-release/dspace/modules/xmlui/src/main/webapp does not exist - [Help 1] Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only
[Dspace-tech] Now available: DSpace 5.2 release, providing bug fixes to 5.x
Dear DSpace Community: On behalf of the DSpace developers, I would like to formally announce that DSpace 5.2 is now available. DSpace 5.2 is a bug-fix release and contains no new features. DSpace 5.2 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-5.2 tag) In addition, you are welcome to try out DSpace 5.2 on http://demo.dspace.org/ and continue to provide any early feedback you may have. == Fixed in 5.2 == * Solr statistics upgrade fixes: - Resolve issues where statistics index was not being properly upgraded. DS-2486, DS-2487, DS-2489 - Failure when sharding the Solr statistics index. DS-2212 * OAI fixes: - Handle dates correctly in resumption tokens, so that harvesting captures the full specified range. DS-2546, DS-2582 - List all authors in METS formatted metadata. DS-2474 - Change the declared OAI deletion mode to transient, which corresponds to what DSpace actually does. DS-2491 - Restore the ability to create additional Filters for OAI-PMH interface. DS-2423 * REST API fixes: - wrong SQL in REST /items/find-by-metadata-field. DS-2501 - Listing collections would fail when using Oracle DB. DS-2508 - Correctly apply bitstream policies. DS-2511 * Other notable fixes: - dspace update-handle-prefix failed when using Oracle DB. DS-2218 - Do not index items that are still in a submitter's workspace. DS-2403 - Remember the context (community, collection) during browsing. DS-2482 - Better handle upload of file with a semicolon in its name. DS-2513 - EZID DOI minting properly sets the URI of the identified item. DS-2518 - Update of the list of robots recognized by DSpace. DS-2531 For much more information on each of these and other fixes, please visit our 5.x Release Notes: https://wiki.duraspace.org/display/DSDOC5x/Release+Notes == 5.2 Documentation == The DSpace 5.x documentation is available online at: https://wiki.duraspace.org/display/DSDOC5x/ A PDF copy of the documentation can also be downloaded from: http://www.dspace.org/latest-release/ == 5.2 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. In particular, I'd like to single out Dr. Andrea Schweer for her identification of various Solr statistics issues, and her contributed fixes for those issues. Dr. Schweer also helped identify and test many other fixes for this release, and 5.2 would not be the same without her efforts. Additionally I would like to thank Tim Donohue of DuraSpace for ensuring that every DSpace release goes off without a hitch. Likewise, I would be remiss if I did not mention the tireless efforts of everyone on the DSpace 5 Release Team. I hope they don't mind me mentioning their names one last time: * Peter Dietz (Longsight) * Hardy Pottinger (University of Missouri Library Systems) * Ivan Masár * Mark H. Wood (Indiana University) * Robin Taylor (University of Edinburgh) * Pascal-Nicolas Becker (Technische Universität Berlin) * Andrea Schweer (Library Consortium of New Zealand) A detailed listing of all known people/institutions who contributed directly to DSpace 5.2 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 5.2, we had a total of 22 individuals contribute 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 5.2 Release Notes at: https://wiki.duraspace.org/display/DSDOC5x/Release+Notes As always, we are happy to hear back from the community about DSpace. Please let us know what you think of 5.2! Hardy Pottinger, on behalf of the DSpace 5.2 Release Team, and all the DSpace developers. -- 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
Hi, you've run into a known issue, and one I very recently wrestled with myself: https://jira.duraspace.org/browse/DS-2431 See my last comment on that ticket, I found a way around the issue, by simply deleting the spider docs from the stats index via a query in the Solr admin interface. --Hardy From: Anthony Petryk [anthony.pet...@uottawa.ca] Sent: Thursday, May 14, 2015 12:06 PM To: Monika C. Mevenkamp; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] spider ip recognition Hi again, Unfortunately, the documentation for the stats-util command is incorrect. Specifically this line: -i or --delete-spiders-by-ip: Delete Spiders in Solr By IP Address, DNS name, or Agent name. Will prune out all records that match spider identification patterns. Running “stats-util –i” does not actually remove spiders by DNS name or Agent name. Here’s are the relevant sections of the code, from StatisticsClient.java and SolrLogger.java: (…) else if(line.hasOption('i')) { SolrLogger.deleteRobotsByIP(); } public static void deleteRobotsByIP() { for(String ip : SpiderDetector.getSpiderIpAddresses()){ deleteIP(ip); } } What this means is that, if a spider is in your Solr stats, there’s no way to remove it other than manually adding its IP to [dpsace]/config/spiders; adding its DNS name or Agent name to the configs will not expunge it. Updating the spider files with “stats-util –u” does little to help because the IP lists it pulls from are out of date. An example is the spider from the Bing search engine: bingbot. As of DSpace 4.3, it’s not in the list of spiders by DNS name or Agent name, nor is it in the list of spider IP addresses. So anyone running DSpace 4.3 likely has usage stats inflated by visits from this spider. The only way to remove it is to specify all the IPs for bingbot. Multiply that by all the other “new” spiders and we’re talking about a lot of work. I tried briefly to modify the code to take domains/agents into account when marking or deleting spiders, but I wasn’t able to figure out how to query Solr with regex patterns. It’s easier to do with IPs because each IP or IP range is transformed into a String and used as a standard query parameter. Anthony From: Monika C. Mevenkamp [mailto:moni...@princeton.edu] Sent: Thursday, May 14, 2015 11:17 AM To: Anthony Petryk Cc: Monika C. Mevenkamp; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] spider ip recognition Anthony Since dspace 4 you can filter by userAgent see https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-FilteringandPruningSpiders I have not used this myself and am not sure whether these filters are applied as crawlers access content - or whether you need to run the [dspace]/bin/dspace stats-util command on a regular basis. You definitely need to run it to prune mark usage events after you configure a list of userAgents you want to filter against. Monika Monika Mevenkamp phone: 609-258-4161 Princeton University, Princeton, NJ 08544 On May 12, 2015, at 2:13 PM, Anthony Petryk anthony.pet...@uottawa.camailto:anthony.pet...@uottawa.ca wrote: After a bit of investigation, it turns out that a significant portion of our items stats come from spiders. Any thoughts on the best way to go about removing them from Solr retroactively? There’s nothing that I can see in the code that will do this by domain or agent, only IP. We’re not excited at the prospect of pulling out the IPs of all the spiders in order run “stats-util –i” effectively. Cheers, Anthony From: Monika C. Mevenkamp [mailto:moni...@princeton.edu] Sent: Friday, May 08, 2015 9:59 AM To: Anthony Petryk Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] spider ip recognition Anthony I wrote a small ruby script to put solr queries together when I was poking around my stats see https://github.com/akinom/dscriptor/blob/master/solr/solr_query.rb an example parameter file is https://github.com/akinom/dscriptor/blob/master/solr/solr_query.yml run it asruby solr/solr_query.rb of cause you ned to adjust the parameters in the mL file you can query like this http://localhost:YOUR-PORT/solr/statistics/select?wt=jsonindent=truerows=1facet=truefacet.field=ipfacet.mincount=1q=type:2+id:218+isBot:falseUrlBlockedError.aspx exclude records that are marked as bots do type:2 - aka items do id:218 - aka item with id 218 return one item facet on ip addresses crank up the number of rows to get more matching docs Monika Monika Mevenkamp phone: 609-258-4161 Princeton University, Princeton, NJ 08544 On May 7, 2015, at 3:26 PM, Anthony Petryk anthony.pet...@uottawa.camailto:anthony.pet...@uottawa.ca wrote: Anyway, we want to determine whether these stats are bona fide or whether there's something
Re: [Dspace-tech] Must I Build/Install as Tomcat service user?
Hi, Christian, and David: I've been running DSpace in this fashion for years (with a shared group). This is especially handy in an environment where more than one person will need to deploy DSpace to the container, or you don't want to add an additional login step to a deploy process. I even went so far as to change the Ant build.xml deploy script to ensure the group permissions were persisted whenever I ran ant update as my own user. This configuration will work well all the way up to DSpace 5. We've recently added some targets to build.xml that perform maintenance on the Solr cores, and the only way these targets will work in my environment is if the Solr cores are similarly set up with group permissions (there *is* a hack you can add to the Tomcat start script to ensure this [1], though I haven't yet tried using it). OR, you can run all the command line scripts (including ant update) as the service user (dspace in our case, though some people use the system-provided service user, typically tomcat or tomcat7). So, anyway, yes, other people use a shared group and carefully curated permissions to make DSpace go. You may run into trouble with DSpace 5, but there *are* options if you'd like to continue to work that way. --Hardy [1] https://mail-archives.apache.org/mod_mbox/lucene-solr-user/200903.mbox/%3cc66dcac40903030839v68d223d7k78e9d5c9008dc...@mail.gmail.com%3E From: Baker, David A. [daba...@milligan.edu] Sent: Monday, December 22, 2014 8:31 AM To: Hilton Gibson; christian.schei...@uni-konstanz.de Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Must I Build/Install as Tomcat service user? Christian, what version of DSpace are you running? How long have you been running it like this? Thanks! Christian Scheiblehttp://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.netq=from:%22Christian+Scheible%22 Mon, 22 Dec 2014 01:17:27 -0800http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.netq=date:20141222 We just add the users dspace and tomcat7 to a shared group (like dspace) and recursivly add read/write permissions to the group for the dspace files and folders. Am 20.12.2014 um 09:34 schrieb Hilton Gibson: Hi David This is what I do: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08#Step_8.5_Setup_Tomcat_server_permissions Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 19 December 2014 at 22:33, Baker, David A. daba...@milligan.edu mailto:daba...@milligan.edu wrote: I’m doing some testing using Ubuntu server 14.04.1 and DSpace 4.2 Ubuntu’s package manager creates a service user, tomcat7, for running Tomcat. So instead of fighting with Ubuntu, I am using that user to run the Tomcat service. Also, I have created a Linux user account, dspace, that I log into the server with. Is it OK that I did my Maven/Ant build/install using my normal user, dspace, and then gave ownership and permissions of all of my dspace files to the Tomcat user, tomcat7? Ubuntu gives the tomcat7 user a home directory of “/usr/share/tomcat7” and a shell of “/bin/false”, so without changing the user I am unable to do any building with it. Would it be better if I were to assign “/home/tomcat7” to my Tomcat service user so it can do the build, or is there some reason that the Ubuntu package manager has assigned “/usr/share/tomcat7” as the home directory? I don’t want to break the service user account, and I don’t want to cause some problem down the road by doing the build/install with a normal user. Thanks for any info! -- David Baker Digital Resources Web Development Specialist Milligan College – P.H. Welshimer Memorial Library 423-461-8703 | library.milligan.edu http://library.milligan.edu/ sig -- 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=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge
Re: [Dspace-tech] upgrading from 1.8 to dspace 3
Hi, Monkia, put simply, this change won't work because it will introduce a license error when we attempt to package DSpace for release. I'll walk you through it: if you add the ojdbc6 artifact as a dependency for dspace-api, you'll be requiring ALL DSpace users to install a proprietary database driver, one which includes acceptance of a license agreement in order to obtain, and is not distributable. You'll be rendering DSpace useless to anyone who has no interest in using Oracle as a back-end database (at least out of the box, we can always delete the dependency). We'd also inadvertently end up packaging the ojdbc6 driver when we package DSpace for release, which would run afoul of Oracle's licensing terms, and get us in trouble. I suspect the Maven license plugin will catch us before we actually got too far down that road, but, I'd not want to put it to the test. As Helix has pointed out and the docs mention, you need to activate the Oracle profile (mvn -Ddb.name=oracle) in order to get Maven to install the Oracle driver. [1] One easy way to remember this is to define a MAVEN_OPTS environment variable. Here's one similar to one I use: MAVEN_OPTS=-Denv=oracle_devspace -Ddb.name=oracle -Xmx512m this also helps you remember to set an env.properties file, if you use them. I have a number of them all configured via various include files, which I source with the following command: source ~/etc/devenv/oracle_devspace cat ~/etc/devenv/oracle_devspace export MAVEN_OPTS=-Denv=oracle_devspace -Ddb.name=oracle -Xmx512m and of course, you'll need the env.properties file in ~/dspace-src (just copy build.properties and customize to suit) HTH --Hardy [1] https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation From: Monika C. Mevenkamp [moni...@princeton.edu] Sent: Tuesday, December 30, 2014 9:33 AM To: heli...@centrum.sk; dspace-tech@lists.sourceforge.net Tech Subject: Re: [Dspace-tech] upgrading from 1.8 to dspace 3 Helix Good point - but still no inclusion There was no dependency of dspace-api on ojdbc6 After adding +dependency +groupIdcom.oracle/groupId +artifactIdojdbc6/artifactId +/dependency To dspace-api ’s pom.xmlmvn copied the jar into the lib as it should Should I turn this into a mischevious feature report ? Monika Monika Mevenkamp phone: 609-258-4161 693 Alexander Road, Princeton University, Princeton, NJ 08544 On Dec 30, 2014, at 4:18 AM, helix84 heli...@centrum.sk wrote: Hi Monika, just a guess, but I would try with -Dversion=11.2.0.4.0 That's what Maven Central has [1]. I admit it's strange that mvn install worked with 11.2.0.4. [1] http://search.maven.org/#search%7Cga%7C1%7Cojdbc6 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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 -- 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] How to develop manually for importing an item to collection
Hi, just to add to Claudia's response, you don't have to go it alone when creating this SAF (Simple Archive Format) structure, there are several very nice tools to make this task much easier. Here are two, but I'm sure there are more: http://georgetown-university-libraries.github.io/File-Analyzer/ https://github.com/peterdietz/SAFBuilder File-Analyzer is very handy if you're in need of a desktop application to help you visualize the process, SAFBuilder is a good fit if you're already in the habit of using CSV files for working with metadata. --Hardy From: Claudia Jürgen [claudia.juer...@ub.tu-dortmund.de] Sent: Tuesday, December 02, 2014 8:54 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] How to develop manually for importing an item to collection Hello, the item importer expects a certain structure for the source (-s) to be imported. The source specified must contain one directory per item. Your /home/administrator/dspace-ingest contains the files belonging to a single import item. e.g. just create /home/administrator/dspace-ingest/001 and move the files contained in /home/administrator/dspace-ingest to /home/administrator/dspace-ingest/001 Then run the command as you've listed it below an it should work. Hope this helps Claudia Jürgen Am 02.12.2014 um 14:58 schrieb P.Hadadan (NW): Dears, Unfortunately I can’t import any Item ☹. After unsuccessful importing, I do linux Dspace (ubuntu 14.04 LTS,Postgre) fresh installation and try it. Command: /dspace/bin/dspace import -a -e knitosp...@gmail.com -c 123456789/8826 -s /home/administrator/dspace-ingest -m /home/administrator/dspace-ingest/Importlog Log: Destination collections: Owning Collection: import collection Adding items from directory: /home/administrator/dspace-ingest Generating mapfile: /home/administrator/dspace-ingest/Importlog Started: 1417525165741 Ended: 1417525165941 Elapsed time: 0 secs (200 msecs) The line after Generating mapfile… did not appear ! mapfile also is empty (size:0). The importing folder attached. Terry, Your command did not start by dspace why? What is your dspace version? I use dspace-4.2-src-release. How to develop manually for importing an item to collection? From: Terry Brady [mailto:terry.br...@georgetown.edu] Sent: Wednesday, November 26, 2014 7:44 PM To: P.Hadadan (NW) Subject: Re: [Dspace-tech] Importing command did not work Here are my results (excluding PubMed metadata). Since I do not have the PubMed schema registered, I could not load that file. I believe you will want to name it metadata_PubMed.xml. Command: import -a -e terry.br...@georgetown.edumailto:terry.br...@georgetown.edu -c 10822.1/707103 -s /var/data/dspace/dspace-ingest/article3 -m /var/www/batch-tools/mapfile/20141125_12.22.51 Destination collections: Owning Collection: 2014 October Terry Adding items from directory: /var/data/dspace/dspace-ingest/article3 Generating mapfile: /var/www/batch-tools/mapfile/20141125_12.22.51 Adding item from directory article Loading dublin core from /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml Schema: dc Element: title Qualifier: none Value: Amirkabir International Journal of Electrical _ Electronics Engineering Schema: dc Element: date Qualifier: issued Value: 2009 Processing contents file: /var/data/dspace/dspace-ingest/article3/article/contents Bitstream: A Fast Localization and Feature Extract_.pdf Bundle: ORIGINAL Bitstream: A Fast Localization and Feature Extract_.xml Bundle: ORIGINAL Processing handle file: handle It appears there is no handle file -- generating one 0 article Here is my ingest folder structure... [dspace@dspace-dev-1 ~]$ find /var/data/dspace/dspace-ingest/article3 -type f -p rint /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and Feature Extract_.pdf /var/data/dspace/dspace-ingest/article3/article/A Fast Localization and Feature Extract_.xml /var/data/dspace/dspace-ingest/article3/article/contents /var/data/dspace/dspace-ingest/article3/article/dublin_core.xml I hope this helps. Once you get one item to load, the rest are very easy! Terry On Wed, Nov 26, 2014 at 6:09 AM, P.Hadadan (NW) p.hada...@notionwave.commailto:p.hada...@notionwave.com wrote: By following this step, unfortunately my problem did not solved. Mapfile also is empty. I work on Dspace version 4.2 . how to resolve problem without any log? Requires certain settings? Are you using below command? dspace import --add --eperson=a...@b.commailto:a...@b.com --collection=123456789/74 --source=c:\Temp\article --mapfile=c:\Impoort the metadata_[PubMed].xml file contain metadata base on registered schema (http://www.ncbi.nlm.nih.gov/corehtml/query/static/PubMed.dtd) for concurrent importing, not for add to repository.My
Re: [Dspace-tech] DSpace 4.2 Build problem
Hi, Tim, sorry to revive an old thread, but I am setting up a new notebook (using Linux Mint, an Ubuntu-based Linux distro), and while I typically do most of my development with Vagrant-DSapce [1] these days, I wanted to have a working maven and ant stack on my host machine, just for emergencies, and, long story short, I ran into the exact same error you mention below. It turned out that the default Java installed by Linux Mint was in fact a JRE. To dispense with the error messages you mention below, I had to specifically install a JDK, and set up JAVA_HOME, and add $JAVA_HOME/bin to my path (same with Ant and Maven, the usual drill with setting up Java on a new development machine). I suspect you've made it past this hurdle, but I did want to reply just to be sure there is an answer for your question, if anyone else come across this error message. People of the future, please check to be sure you've installed a JDK. :-) --Hardy [1] https://github.com/dspace/vagrant-dspace From: Tim Au Yeung [y...@ucalgary.ca] Sent: Thursday, August 07, 2014 5:33 PM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] DSpace 4.2 Build problem Hi all, I just pulled down the latest build and ran into this build problem: [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @ org.dspace:dspace-parent:4.2, /home/dspace/source/dspace-4.2-src-release/pom.xml, line 150, column 28 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [ERROR] [ERROR] The project org.dspace:dspace:4.2 (/home/dspace/source/dspace-4.2-src-release/dspace/pom.xml) has 1 error [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @ org.dspace:dspace-parent:4.2, /home/dspace/source/dspace-4.2-src-release/pom.xml, line 150, column 28 [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException Any suggestions as to a solution to this? Thanks, Tim -- 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
[Dspace-tech] DSpace 5.0 Testathon Has Begun! Nov. 10-21 2014 -- Users, Feedback, Translations Wanted
Hi, I am just sending a quick reminder, the DSpace 5.0 Testathon is going on right now, and will continue through November 21, 2014. TESTATHON ESSENTIALS Details on how to participate: see [1] Details about new features, bug fixes in 5.0 and release schedule: see [2] CALL FOR TRANSLATIONS This is also the time to send us your translations of DSpace 5.0 (Messages_xx.properties and messages_xx.xml files). Both new and updated translations are welcome. When updating translations, please try to contact the previous translator first to avoid possible duplication of work. You may send translations at any time, but to make them easily available to others via the DSpace build process, try to send them before the 5.0 release date, tentatively scheduled for December 15. To send a translation, register/log in to Jira [3], file a new issue (e.g. Updated French translation) and attach the files to that issue. You can find the latest English version of these files here: [4] [5] --- [1] https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Testathon+Page [2] https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Status [3] https://jira.duraspace.org/browse/DS [4] https://raw.github.com/DSpace/DSpace/master/dspace-xmlui/src/main/webapp/i18n/messages.xml [5] https://raw.github.com/DSpace/DSpace/master/dspace-api/src/main/resources/Messages.properties From: Peter Dietz [pe...@longsight.com] Sent: Monday, November 10, 2014 4:43 PM To: Pottinger, Hardy J. Cc: dspace-tech Subject: Re: [Dspace-tech] DSpace 5.0 Testathon begins Nov 10, 2014 -- Users / Feedback wanted Hi All, As Hardy mentioned, DSpace 5 Test-a-Thon has begun, so if you have a feature, bug-fix, or regression that you are looking or not looking for, please look or not-look for it on the DSpace Demo site, which has been updated to the latest release. So. demo.dspace.orghttp://demo.dspace.org is the official place to try out DSpace 5. I've also stood up a TryDSpace5 instance hosted by Longsighthttp://www.longsight.com/: http://trydspace5.longsight.com/ You can also find jspui at: http://trydspace5.longsight.com/jspui/ If for reference, you need access to a site running DSpace 4, you can look at: https://trydspace.longsight.com/ One of the new features of DSpace 5 that I'm most excited about is the CRUD additions to the REST API, so I have a rest client demo app pointing to the TryDSpace5 (Longsight) rest api: https://dspace-rest-client-play.herokuapp.com/communities You can use the same site-admin account that you could use at Demo.DSpace.orghttp://Demo.DSpace.org I've also enabled the PDF Citation Coverpage at: http://trydspace5.longsight.com/handle/123456789/79 If there is something that you would like to test on either site, please contact me, the dspace-tech list, or pop in to #dspace IRC, developers standing by. Also, a little meta on the DSpace 5 release candidate. We (Hardy) released DSpace 5 RC1 over the weekend. We are going to quickly release an RC2 tonight, based on some of our findings. But keep on testing sites, or test it yourself on a local clone/build of the code. Thanks All! Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Wed, Nov 5, 2014 at 3:39 PM, Pottinger, Hardy J. pottinge...@missouri.edumailto:pottinge...@missouri.edu wrote: From Hardy Pottinger, DSpace 5.0 Release Team Member The first Release Candidate for DSpace 5.0 will be made available for testing on November 6, 2014. Some new features of interest include: For all UIs: * Batch import from Zip files uploaded via the admin interface of either UI * Easier Database upgrades, thanks to the inclusion of Flyway, an open-source database migration tool * A feature-complete REST API, supporting both read and write operations * Linked (Open) Data support * Metadata for all DSpace Objects * Improved thumbnail generation (via ImageMagick/Ghostscript) * Google Analytics integration now tracks downloads of bitstreams * A place to add third-party plugins For JSPUI only: * HTML5-based drag and drop upload interface for uploading bitstreams during submission * Per-item configurable visual indicators for browse and search results For XMLUI only: * Mirage2 theme, utilizing many modern web design tools and technologies, facilitating a responsive web design, adapting to any screen size * ORCID integration via an authority plugin, and a new authority cache * Serpa/Romeo lookup * Rendering MathML code in abstracts * Error pages (including page not found) are all styled with your own site styles * Collection drop down box performance improvements for repositories with a large number of collections * (Optional) ability to generate citation cover pages on PDFs * An aspect for adding Google Analytics web usage information to item pages There's much more. Please see full list
Re: [Dspace-tech] DSpace authorization policies
Hi, Jacob, I agree with Peter's enthusiasm, this is indeed really cool, and handy to have as an example. It would be nice to grow a collection of similar scripts, and share them around. Would you consider writing an article for the DSpace documentation wiki? I think you definitely have the makings for a presentation and/or workshop at a DSpace Users Group. [1] [1] http://www.or2015.net/ From: Peter Dietz [pe...@longsight.com] Sent: Tuesday, November 11, 2014 2:14 PM To: Brown, Jacob Cc: Dspace Tech list Subject: Re: [Dspace-tech] DSpace authorization policies Jacob, That is REALLY cool! So, for quick one-off tasks, this jruby looks pretty handy. You have full access to the dspace-api, so you can access database, solr, dspace-objects, elasticsearch, everything I guess. And its really quick to get running. i.e. A development cycle (change code, re-run code) is just a few seconds, rather than 5+ minutes for a full DSpace rebuild. So for admin tasks, and especially reports, this is perfect. Thanks for sharing. Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Tue, Nov 11, 2014 at 11:45 AM, Brown, Jacob j.h.br...@tcu.edumailto:j.h.br...@tcu.edu wrote: I’ve started using JRuby for administrative/backend stuff like this to work with the DSpace API, and I’ve found it to be very convenient and more flexible than using straight SQL for most things. Here is an example script for doing something along the lines you mention: https://gist.github.com/kardeiz/c8ab990614dbbcb31213. This certainly isn’t as fast/efficient as a SQL script, but I’ve found it’s really nice to have a DSpace scripting language. For this example, I “monkeypatched” the ResourcePolicy class since it doesn’t have a `findAll` method, but this usually isn’t necessary. This is just a first quick iteration—there are lots of things that could be improved in this script. Use at your own risk (though I don’t think there is anything breakable here). Jacob Brown Digital Services Librarian j.h.br...@tcu.edumailto:j.h.br...@tcu.edu 817-257-5339tel:817-257-5339 From: Paul Go [mailto:p...@iit.edumailto:p...@iit.edu] Sent: Monday, November 10, 2014 12:36 PM To: Peter Dietz Cc: Dspace Tech list; DSpace General Mailing List Subject: Re: [Dspace-tech] DSpace authorization policies Thank you, Peter. Paul Go Systems Librarian / Library Technology Manager / CS and ITM Liaison Paul V. Galvin Library Illinois Institute of Technology 35 West 33rd Street Chicago, IL 60616 312.567.7997tel:312.567.7997 p...@iit.edumailto:p...@iit.edu Driving Innovation through Knowledge and Scholarship On Mon, Nov 10, 2014 at 12:30 PM, Peter Dietz pe...@longsight.commailto:pe...@longsight.com wrote: Hi Paul, There are a lot of relationships in the authorization policies, to handle all of that complexity, I think you could build some custom java code to walk through all of them, and join all of the resources, and all of the epersons and epersongroups. Here's an inaccurate query that would give you some of the information: SELECT * FROM public.handle, public.resourcepolicy, public.epersongroup WHERE resourcepolicy.resource_type_id = handle.resource_type_id AND resourcepolicy.resource_id = handle.resource_id AND resourcepolicy.epersongroup_id = epersongroup.eperson_group_id; This would show you what objects with handles (community, collection, item), have an authorization policy to an eperson-group. You would have to make other queries to find policies that map to an eperson (as opposed to eperson group). And also, this only connects to things with handles, which misses bundles and bitstreams. Since this is for an audit, your probably more concerned with finding users with irregular permissions, so maybe you could work backwords. Start with all the eperson, and see which one's are members of groups or resourcepolicy's. Because it's likely that you'll find that 99% of users have essentially nothing interesting in terms of policies/memberships, and then just investigate the dozen or so users with permissions. Good luck! If you end up creating any interesting java code (such as a query tool to look at all of this information), or just a series of SQL queries it might be helpful to share back your eventual findings. Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809tel:740-599-5005%20x809 On Mon, Nov 10, 2014 at 12:44 PM, Paul Go p...@iit.edumailto:p...@iit.edu wrote: Is there a way to export the entirety of the authorization policies so that we can audit them in bulk rather than one by one? Paul Go Systems Librarian / Library Technology Manager / CS and ITM Liaison Paul V. Galvin Library Illinois Institute of Technology 35 West 33rd Street Chicago, IL 60616 312.567.7997tel:312.567.7997
[Dspace-tech] DSpace 5.0 Testathon begins Nov 10, 2014 -- Users / Feedback wanted
From Hardy Pottinger, DSpace 5.0 Release Team Member The first Release Candidate for DSpace 5.0 will be made available for testing on November 6, 2014. Some new features of interest include: For all UIs: * Batch import from Zip files uploaded via the admin interface of either UI * Easier Database upgrades, thanks to the inclusion of Flyway, an open-source database migration tool * A feature-complete REST API, supporting both read and write operations * Linked (Open) Data support * Metadata for all DSpace Objects * Improved thumbnail generation (via ImageMagick/Ghostscript) * Google Analytics integration now tracks downloads of bitstreams * A place to add third-party plugins For JSPUI only: * HTML5-based drag and drop upload interface for uploading bitstreams during submission * Per-item configurable visual indicators for browse and search results For XMLUI only: * Mirage2 theme, utilizing many modern web design tools and technologies, facilitating a responsive web design, adapting to any screen size * ORCID integration via an authority plugin, and a new authority cache * Serpa/Romeo lookup * Rendering MathML code in abstracts * Error pages (including page not found) are all styled with your own site styles * Collection drop down box performance improvements for repositories with a large number of collections * (Optional) ability to generate citation cover pages on PDFs * An aspect for adding Google Analytics web usage information to item pages There's much more. Please see full list on the Release Status page at: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Status ATTENTION ORACLE SITES Hi, sorry to shout at you, but now that we have your attention, please do plan on testing the release candidates of DSpace 5.0 on your own infrastructure. We'd like to minimize the surprises on the day that 5.0 is officially released, and the best way to do that is with your help. If at all possible, please consider testing DSpace 5.0, to ensure it is compatible with Oracle. Ideally, this would mean testing a new install, and an upgrade. Thanks! We've really improved our Oracle testing capabilities during this release process, and that's something that makes me particularly proud. But, setting pride aside, we still need your help to test DSpace 5.0. INVITATION TO TRANSLATORS If you are willing to translate DSpace message catalogs into another language: the 5.0 catalogs should be nearly stable now. TESTATHON and NEXT STEPS: We plan to tag RC1 on Thursday November 6, 2014. There will be another announcement when it is ready for download. If you would like to try out the next release of DSpace in your own test environment, please do, and tell us what you find. The 5.0 Testathon begins on Monday, Nov. 10, 2014 and continues through Nov. 21. RC1 will be available on http://demo.dspace.org. You can try it out without installing your own instance, and your feedback would be appreciated. Look for the red Feedback button to report issues with the demo site. As always, if you really want to get your hands dirty, you can spin up your own testing instance of DSpace using Vagrant-DSpace: https://github.com/DSpace/vagrant-dspace The actual use of a software product is always more varied and surprising than the developers and maintainers imagined. Please help us ensure that DSpace 5.0 will do what you expect. Thanks! -- ___ 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 5.0 feature freeze deadline extended to Monday 10/27/2014
Hi, on behalf of the DSpace 5.0 Release Team, I'd like to officially announce the extension of the feature freeze deadline for DSpace 5.0. It was originally set for Monday October 20, 2014. In order to accommodate the discussion of DSPR#668/DS-2169 [1] (author profiles for XMLUI), we've extended the deadline to Monday October 27, 2014. The feature freeze is the last possible day for new features to be merged into the master branch of DSpace, which in December will be released as DSpace 5.0. We've been working hard evaluating and merging pull requests to the master branch, and I think DSpace 5.0 is shaping up to be a very exciting release. We have much more to do, and would love your help in evaluating pull requests. I will send another note calling your attention to the pull requests we'd really like your help in testing. It's tempting to keep the mail lists less noisy but I want to keep this note clearly about the small schedule change. Note, at this time, no other changes to the schedule have been planned. You can find the current schedule on the DSpace 5.0 status page. [2] If you permit me, I'd also like to take the chance to commend everyone on the DSpace 5.0 release team for the really solid work going in on this release. I'm proud of us all. It's going to be a really great release. --Hardy Pottinger [1] https://github.com/DSpace/DSpace/pull/668 [2] https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Status#DSpaceRelease5.0Status-TimelineandProcessing -- ___ 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 5.0 testing help needed
Hi, I am writing on behalf of the DSpace 5.0 Release Team. We need your help. The following pull requests need testing before we can accept them into DSpace 5.0. Many of these PRs are JSPUI-related, and thus require the testing of a JSPUI user. The 5.0 RT does not have a JSPUI expert in our number, so, we're calling on the whole community to help with this effort. The JSPUI Pull Requests that require testing are: https://github.com/dspace/dspace/pull/518 (DS-1968 Select the collection already selected in the previous operation) https://github.com/dspace/dspace/pull/447 (DS-1880 New Language menu for JSPUI) https://github.com/dspace/dspace/pull/701 (DS-1227 Tag cloud for any browse index or Discovery facet) https://github.com/dspace/dspace/pull/659 (DS-2162: Per item configurable visual indicators for browse and search results) https://github.com/dspace/dspace/pull/660 (DS-2163: Multilingual support for browse indexes and discovery facets) https://github.com/dspace/dspace/pull/620 (DS-2113: JSPUI HTML5 upload should store Bitstreams) https://github.com/dspace/dspace/pull/548 (DS-2021: Upgrade DSpace JSPUI to the last bootstrap version) https://github.com/dspace/dspace/pull/524 (DS-1951 Global Setting to stop Explicit Authentication Trigger for GET-DSObject requests) https://github.com/dspace/dspace/pull/445 (DS-125 Date type repeatable in the submission) This next PR is not specific to JSPUI, but does require testing: https://github.com/dspace/dspace/pull/621 (DS-2119 EZID IdentifierProvider Metadata Mapping) As I mentioned in a previous note, the feature freeze deadline has been extended to Monday October 27. Which is four days from now. Time is drawing short to get these pull requests merged into DSpace 5.0. If you can make room in your schedule to test any of these out, we would be really grateful for the help. Thanks! -- ___ 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] Save the date! Nov. 3-14 is the DSpace 5.0 Testathon
Hi, as Peter has already mentioned, DSpace 5.0 is coming soon. And that means it’s time for another testathon! Please consider participating in this year's testathon, scheduled for November 3 through November 14. As usual, we'll have the 5.0 release candidate running on demo.dspace.org, but, if you're really wanting to dig in, please do consider running your own testathon instance on your own infrastructure. This is *especially* important for institutions who utilize Oracle as a back-end database. We need to work extra hard to ensure DSpace's support for Oracle is suitably tested. If that aspect of DSpace is important to you or your institution, I urge you to make plans now to participate in the DSpace 5.0 testathon. We'll send more details after the release candidate has been tagged in October. But, in the mean time, do make plans to participate. Thanks! --Hardy Pottinger (on behalf of the DSpace 5.0 Release Team) -- 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 3.1 to 4.2 upgrade: XMLUI webapp not running and can not be started
Hi, Nason, did you ever configure Tomcat to run as the DSpace user? What are you using for a service init script? --Hardy Sent from my iPad On Sep 1, 2014, at 1:52 PM, Nason Bimbe nasonbi...@gmail.commailto:nasonbi...@gmail.com wrote: Hi, I am still having the same problem. I have made sure dspace is the owner of all files and I am also using dspace user to build the DSpace. I am running Debian Wheezy. This is how Tomcat was installed = - downloaded, copied Tomact 7 files into /usr/local, created a symbolic link mv /home/dspace/Downloads/apache-tomcat-7.0.54 /usr/local unlink tomcat ln -s apache-tomcat-7.0.54 tomcat - made sure that tomcat folder is owned by the dspace user cd /usr/local chown -R dspace:dspace apache-tomcat-7.0.54 - restarted tomcat /etc/init.d/tomcat restart - checked if tomcat is running and is running ok http://localhost:8080 This the change I made to the top level POM as advised by Bram by adding scope tag === dependency groupIdjavax.servlet/groupId artfactIdservlet-api/artfactID version2.5/version scopeprovided/scope /dependency Regards Nason On 1 September 2014 00:38, Pottinger, Hardy J. pottinge...@missouri.edumailto:pottinge...@missouri.edu wrote: Peter is right, you can ignore the info line. You probably have a permission issue. How did you install and start Tomcat? What OS are you using? --Hardy Sent from my Zact Mobile phone. Peter Dietz pe...@longsight.commailto:pe...@longsight.com wrote: Hmm, I don't know what's wrong in this case. Check your logs further back for a line that starts with ERROR, the INFO line might not be too much to worry about. When you built the DSpace 4 code, I would try mvn -U clean package. Also, double check that your tomcat/dspace user is the owner of all the files. Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, Aug 29, 2014 at 11:56 AM, Nason Bimbe nasonbi...@gmail.commailto:nasonbi...@gmail.com wrote: Hello, I have upgraded the dspace from 3.1 to 4.2 but when I try to access XMLUI webapp I get a 404. Checking the Tomcat manager shows that xmlui webapp is not running but the rest are, that is oai and solr. When I try to start the webapp in Tomcat manager I get a FAIL error (FAIL - Application at contect path /xmlui could not be started). The dspace logs to not show any errors but the catalina out shows the following... Aug 29, 2014 2:16:01 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/local/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 Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/xmlui] startup failed due to previous errors The platform I am using has: - OS: Debian Wheezy Java: 1.7.0_65 (OpenJDK) Tomcat: 7.0.54 Maven: 3.2.1 Has anyone encountered this problem or does anyone know a solution or where I am going wrong? Thanks Nason -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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
Hi, there is more cause for concern than just the handle issue (which is alarming enough), re-read the announcement: http://repositories.webometrics.info/en/node/26 They intend to no longer rank repositories running on ports that are not cleartext (80 or 8080) which, I'm sorry, is completely wrong-headed. I will not ask my users to send their passwords in the clear. It's not even open for discussion. Even if we set aside the issue of login details, I am willing to bet there are a fair contingent of researchers who would prefer to keep their research activities out of a cleartext channel--despite the many concerns about SSL being compromised, running a repository on port 443 is, I think, at least a good-faith effort at securing the usage of the repository. Is this port requirement an attempt to penalize institutions who embargo some of their content? If that's Webometrics' desire, they will have to make a better effort than to lump all port 443 repositories into that category. It's a pity, I realize they have good intentions, but I think these decisions will likely diminish the relevance of their rankings. --Hardy From: TAYLOR Robin [robin.tay...@ed.ac.uk] Sent: Tuesday, September 02, 2014 5:42 AM To: Hilton Gibson; dspace-tech; General List Subject: Re: [Dspace-tech] IMPORTANT NEWS: Important Info for Future Editions | Ranking Web of Repositories Hi Hilton, It looks like a large proportion of DSpace instances would be excluded if this proposal were implemented. It seems a bit over the top, I think we may reply with a comment to that effect. Cheers, Robin. Robin Taylor Main Library University of Edinburgh From: Hilton Gibson hilton.gib...@gmail.com Sent: 01 September 2014 19:01 To: dspace-tech; General List Subject: [Dspace-tech] IMPORTANT NEWS: Important Info for Future Editions | Ranking Web of Repositories The Ranking is also a powerful tool for penalizing bad practices, with especial emphasis in the awful naming proposals by software developers that ignore librarian traditions and in many ways are going against intellectual rights of depositing authors. We truly believe the lengthy and useless addresses coined for the repository items have a negative impact in their web visibility and affect the authors will to deposit as it makes difficult the citation of full texts in future papers. http://repositories.webometrics.info/en/node/26 Hi All Sorry for the cross-posting How will this affect DSpace installations? Regards hg -- 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 3.1 to 4.2 upgrade: XMLUI webapp not running and can not be started
Hi, Nason, here is the init script I use for running a binary install of Tomcat 7 on RHEL [1] Note that it gets progressively more aggressive when shutting down Tomcat. This script is a mash-up of a few sample Tomcat init scripts I found online, citations are given in the code. [1] https://gist.github.com/hardyoyo/9903387 From: Nason Bimbe [nasonbi...@gmail.com] Sent: Tuesday, September 02, 2014 9:25 AM To: Pottinger, Hardy J. Cc: Peter Dietz; dspace-tech Subject: Re: [Dspace-tech] Dspace 3.1 to 4.2 upgrade: XMLUI webapp not running and can not be started Hi Hardy, I will be trying it out again tomorrow afresh after restoring the system to before the attempted upgrade. I am using a script I created in /etc/init.d for starting/stopping Tomcat. I will also try Shaun Donovan's information which he sent directly to me and shown below. I will update you how it on progress. Thanks again for the help. Best Nason I had this problem, not on xmlui but on oai. I found the following on the web and tried it, and it worked. Check Inside the Following Directory for the jar file el-api.jar :C:\apache-tomcat-7.0.39\lib\el-api.jar if it exists then in this directory of your web application WEB-INF\lib\el-api.jar the jar should be removed What I did is find the file, and moved it, then the app started without issues. This was on a development machine. I then tried it on the production machine and my oai would still not start. I had other issues in my catalina.out which pointed to the web.xml file in tomcats conf directory which had !-- comments within a comment, which I also removed, and then production worked as well. On 2 September 2014 13:59, Pottinger, Hardy J. pottinge...@missouri.edumailto:pottinge...@missouri.edu wrote: Hi, Nason, did you ever configure Tomcat to run as the DSpace user? What are you using for a service init script? --Hardy Sent from my iPad On Sep 1, 2014, at 1:52 PM, Nason Bimbe nasonbi...@gmail.commailto:nasonbi...@gmail.com wrote: Hi, I am still having the same problem. I have made sure dspace is the owner of all files and I am also using dspace user to build the DSpace. I am running Debian Wheezy. This is how Tomcat was installed = - downloaded, copied Tomact 7 files into /usr/local, created a symbolic link mv /home/dspace/Downloads/apache-tomcat-7.0.54 /usr/local unlink tomcat ln -s apache-tomcat-7.0.54 tomcat - made sure that tomcat folder is owned by the dspace user cd /usr/local chown -R dspace:dspace apache-tomcat-7.0.54 - restarted tomcat /etc/init.d/tomcat restart - checked if tomcat is running and is running ok http://localhost:8080 This the change I made to the top level POM as advised by Bram by adding scope tag === dependency groupIdjavax.servlet/groupId artfactIdservlet-api/artfactID version2.5/version scopeprovided/scope /dependency Regards Nason On 1 September 2014 00:38, Pottinger, Hardy J. pottinge...@missouri.edumailto:pottinge...@missouri.edu wrote: Peter is right, you can ignore the info line. You probably have a permission issue. How did you install and start Tomcat? What OS are you using? --Hardy Sent from my Zact Mobile phone. Peter Dietz pe...@longsight.commailto:pe...@longsight.com wrote: Hmm, I don't know what's wrong in this case. Check your logs further back for a line that starts with ERROR, the INFO line might not be too much to worry about. When you built the DSpace 4 code, I would try mvn -U clean package. Also, double check that your tomcat/dspace user is the owner of all the files. Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, Aug 29, 2014 at 11:56 AM, Nason Bimbe nasonbi...@gmail.commailto:nasonbi...@gmail.com wrote: Hello, I have upgraded the dspace from 3.1 to 4.2 but when I try to access XMLUI webapp I get a 404. Checking the Tomcat manager shows that xmlui webapp is not running but the rest are, that is oai and solr. When I try to start the webapp in Tomcat manager I get a FAIL error (FAIL - Application at contect path /xmlui could not be started). The dspace logs to not show any errors but the catalina out shows the following... Aug 29, 2014 2:16:01 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/local/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 Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/xmlui] startup failed due to previous errors The platform I am using has: - OS: Debian Wheezy Java: 1.7.0_65 (OpenJDK) Tomcat: 7.0.54 Maven: 3.2.1 Has anyone encountered this problem or does anyone
Re: [Dspace-tech] Dspace 3.1 to 4.2 upgrade: XMLUI webapp not running and can not be started
Peter is right, you can ignore the info line. You probably have a permission issue. How did you install and start Tomcat? What OS are you using? --Hardy Sent from my Zact Mobile phone. Peter Dietz pe...@longsight.com wrote: Hmm, I don't know what's wrong in this case. Check your logs further back for a line that starts with ERROR, the INFO line might not be too much to worry about. When you built the DSpace 4 code, I would try mvn -U clean package. Also, double check that your tomcat/dspace user is the owner of all the files. Peter Dietz Longsight www.longsight.comhttp://www.longsight.com pe...@longsight.commailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, Aug 29, 2014 at 11:56 AM, Nason Bimbe nasonbi...@gmail.commailto:nasonbi...@gmail.com wrote: Hello, I have upgraded the dspace from 3.1 to 4.2 but when I try to access XMLUI webapp I get a 404. Checking the Tomcat manager shows that xmlui webapp is not running but the rest are, that is oai and solr. When I try to start the webapp in Tomcat manager I get a FAIL error (FAIL - Application at contect path /xmlui could not be started). The dspace logs to not show any errors but the catalina out shows the following... Aug 29, 2014 2:16:01 PM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/local/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 Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Aug 29, 2014 2:16:12 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/xmlui] startup failed due to previous errors The platform I am using has: - OS: Debian Wheezy Java: 1.7.0_65 (OpenJDK) Tomcat: 7.0.54 Maven: 3.2.1 Has anyone encountered this problem or does anyone know a solution or where I am going wrong? Thanks Nason -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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 troubles
Hi, Helix84 is right, you can check catalina.out for more information/clues. It's possible you may be running into this bug: https://jira.duraspace.org/browse/DS-2001 There are some workarounds posted in the comments of that ticket. If it turns out you *are* experiencing this bug, can you post a comment to DS-2001? I'd like confirmation from more people that this is something that affects more people than just, erm, me. :-) Thanks! --Hardy From: helix84 [heli...@centrum.sk] Sent: Tuesday, July 29, 2014 5:41 AM To: Peter Sichilyango Tutu Cc: dspace-tech Subject: Re: [Dspace-tech] tomcat troubles Use tail -f to watch catalina.out (and then the latest dspace.log file) during startup. You can find more info about log files here: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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 -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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] What is your setup?
Hi, Luiz, I currently run an old 2010 era MBP, though it's been through a few rounds of updates. It has the i7 proc, 8GB RAM, and a solid state drive. However, I only rarely build directly on this MBP, I either build on our development server (RHEL6) or on my Vagrant-DSpace workspace [1] Since I'm used to working in Vim day to day, I just haven't taken the steps necessary to run Vagrant-DSpace with an IDE, though it would be pretty straightforward to do (just share the dspace-src and dspace folders with the host system, and then run an IDE on the host). If you haven't yet checked out Vagrant-DSpace, you might want to. It's a really quick and easy way to get started, and to organize your work. --Hardy [1] https://github.com/DSpace/vagrant-dspace From: Luiz dos Santos [luiz...@gmail.com] Sent: Friday, July 25, 2014 8:20 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] What is your setup? I’m starting in the DSpace so I would like to share with guys my setup, I want improve my productivity. So I decided to ask you about your setup? I'm think about to buy a macbook to me, Anybody over ther use mac to code DSpace? My Setup: Hardware -i7 core 1.8GHz -8 GB (Ram) -Windows 8.1 pro Software -Java SE 1.7.0_51 -Netbeans 8.0 -Maven 3.1.1 -Ant 1.93 -Git 1.9.0 -Postgree 9.1.12 Regards Luiz -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ 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] vagrant trouble
Hi, Monika, I'm trying to fire up a fresh clone of Vagrant-DSpace, just to see if it goes OK, and I notice that you've skipped a step in making a fresh start. You need to type vagrant destroy to destroy any previos Vagrant box, so you can re-provision a new box. I typically type this to start from scratch: vagrant destroy -f vagrant up I'll reply again when things start up OK. You're right, it does take a while... From: Monika Mevenkamp [moni...@princeton.edu] Sent: Wednesday, July 02, 2014 3:08 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] vagrant trouble I tried to work inside vagrant to redo my pull request but was stopped in my tracks by vagrant acting up. So I started from scratch. Cloned a fresh copy from git then vagrant up - this took a while; then vagrant ssh, a bit of set up, then creation of a top level community in the UI that took and took and took more time. So I decided it was hanging, my ssh session into the vagrant box became unresponsive as well, so I did vagrant halt then vagrant up which failed with the nasty message below my other vagrant box comes up just fine and vagrant ssh works as expected tips anybody ? Monika = default: Configuring and enabling network interfaces... /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:392:in `await_response_state': dspace setup (RuntimeError) from /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:363:in `block (3 levels) in start_command' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:311:in `call' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:311:in `process' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `block in preprocess' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `each' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `preprocess' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:205:in `process' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `block in loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:269:in `wait' from /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:279:in `upload!' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:211:in `block in upload' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:500:in `block in scp_connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:247:in `connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:498:in `scp_connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:205:in `upload' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:40:in `block in configure_networks' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:13:in `tap' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:13:in `configure_networks' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/capability_host.rb:111:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/capability_host.rb:111:in `capability' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/guest.rb:43:in `capability' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/network.rb:132:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/clear_network_interfaces.rb:26:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:15:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' from
Re: [Dspace-tech] vagrant trouble
Hi, everything started... I had a minor hiccup with my local-bootstrap.sh file (it was looking in the wrong folder for AIPs) but otherwise I had a functioning DSpace installation. I've tweaked local-bootstrap.sh and am re-running it now. But, I think if you run vagrant destroy -f vagrant up you'll be able to get going. From: Pottinger, Hardy J. Sent: Wednesday, July 02, 2014 3:22 PM To: Monika Mevenkamp; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] vagrant trouble Hi, Monika, I'm trying to fire up a fresh clone of Vagrant-DSpace, just to see if it goes OK, and I notice that you've skipped a step in making a fresh start. You need to type vagrant destroy to destroy any previos Vagrant box, so you can re-provision a new box. I typically type this to start from scratch: vagrant destroy -f vagrant up I'll reply again when things start up OK. You're right, it does take a while... From: Monika Mevenkamp [moni...@princeton.edu] Sent: Wednesday, July 02, 2014 3:08 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] vagrant trouble I tried to work inside vagrant to redo my pull request but was stopped in my tracks by vagrant acting up. So I started from scratch. Cloned a fresh copy from git then vagrant up - this took a while; then vagrant ssh, a bit of set up, then creation of a top level community in the UI that took and took and took more time. So I decided it was hanging, my ssh session into the vagrant box became unresponsive as well, so I did vagrant halt then vagrant up which failed with the nasty message below my other vagrant box comes up just fine and vagrant ssh works as expected tips anybody ? Monika = default: Configuring and enabling network interfaces... /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:392:in `await_response_state': dspace setup (RuntimeError) from /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:363:in `block (3 levels) in start_command' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:311:in `call' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:311:in `process' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `block in preprocess' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `each' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:222:in `preprocess' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:205:in `process' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `block in loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop' from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:269:in `wait' from /Applications/Vagrant/embedded/gems/gems/net-scp-1.1.2/lib/net/scp.rb:279:in `upload!' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:211:in `block in upload' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:500:in `block in scp_connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:247:in `connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:498:in `scp_connect' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/communicators/ssh/communicator.rb:205:in `upload' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:40:in `block in configure_networks' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:13:in `tap' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/guests/debian/cap/configure_networks.rb:13:in `configure_networks' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/capability_host.rb:111:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/capability_host.rb:111:in `capability' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/guest.rb:43:in `capability' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/network.rb:132:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' from /Applications
Re: [Dspace-tech] Security vulnerability - Blind SQL injection
Hi, before this conversation goes any further, we have a system to deal with bug reports, and we take them very seriously. Please submit a detailed bug report, including steps to reproduce the error, to https://jira.duraspace.org/browse/DS Thanks! PS, I would be very surprised if any JDBC-based webapp ever contained an SQL injection error, as there is very good protection from that in those libraries. Sent from my NOOK Koh Kim Boon koh_kim_b...@sp.edu.sg wrote: Hi As we are a government related agency, our IT agency does a regular security scan to check for weakness or vulnerabilities. Koh Kim Boon Department of Information and Digital Technology (Library Solutions) 500 Dover Road, Singapore 139651 DID: 67721129 Tel: 67721160 Fax: 61121969 Email: koh_kim_b...@sp.edu.sgmailto:koh_kim_b...@sp.edu.sg From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: Friday, 30 May 2014 4:10 PM To: Koh Kim Boon Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Security vulnerability - Blind SQL injection On 30 May 2014 03:32, Koh Kim Boon koh_kim_b...@sp.edu.sgmailto:koh_kim_b...@sp.edu.sg wrote: Recent my dspace server had a security scan and one of the vulnerabilities listed in blind sql injection. Hi Koh Can you tell us exactly the nature of the security scan Thanks. Hilton Gibson Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet___ 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] Update epersonid field in SOLR statistics
Hi, I did some searching just now, and found this... http://wiki.apache.org/solr/UpdateCSV ...might help? --Hardy Sent from my iPad On Apr 17, 2014, at 3:53 PM, Terry Brady tw...@georgetown.edumailto:tw...@georgetown.edu wrote: We would like to make our usage statistics anonymous. I would like to update all statistics records with an epersonid value. * q=epersonid:[0 TO *] Once the records are found, I would like to set the epersonid to 0. Is there a way to do this with a single curl statement? We are running DSpace 3.1. If not, could someone suggest a good approach to accomplish this task? Thanks, Terry -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- 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.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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] HELP! Dspace will not restart
Hi, Dale, you might try clearing your cocoon cache. https://wiki.duraspace.org/plugins/servlet/mobile#TechnicalFaq-ClearingCocoon(XMLUI)cache (sorry for the mobile link, I am typing on my iPad). I will check email after my kids are in bed, let us know if things work out. --Hardy Sent from my iPad On Apr 17, 2014, at 5:45 PM, Poulter, Dale dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu wrote: Good afternoon, We had 3 crawlers hit our Dspace instance at the same time today which brought our site down. We stopped tomcat and apache (we use apache as the front end through mod_jk). When we restarted tomcat the xmlui does not work (we get a 404) the other apps (oai) works fine. The same thing occurs is we go directly to tomcat bypassing apache and mod_jk.We get a couple of oai errors but the only error we get for xmlui is “No Spring WebApplicationInitializer types detected on classpath” . Has anyone encountered this? We are running out of ideas – beyond whiskey. Thanks for your help! --Dale --- Dale Poulter Coordinator, Search and Core Services Library Digital Services Vanderbilt University 419 21st Avenue South, Room 812 Nashville, TN 37203-2427 (615)343-5388 (615)343-8834 (fax) (615)207-9705 (cell) dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu -- 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.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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] Maven - Local Code as a Maven Project
Hi, here's a hasty writeup I did on using the additions module to include a (not a custom) jar file: https://wiki.duraspace.org/display/DSPACE/Nailgun?focusedCommentId=40076646src=search#comment-40076646 From: Terry Brady [tw...@georgetown.edu] Sent: Tuesday, April 08, 2014 12:16 PM To: Christian Scheible Cc: dspace-tech Subject: Re: [Dspace-tech] Maven - Local Code as a Maven Project I have struggled with the maven configuration for my instance. I have a custom plugin to generate thumbnails with ImageMagick. Fortunately, once I upgraded to DSpace 3, I was able to use the additions module to contain my plugin. Looking at my code prior to DSpace 3, I believe that I needed to list my custom module dependencies in both my custom module's pom and in dspace/pom.xml in order to get the dependencies on to the runtime classpath. Terry Terry On Tue, Apr 8, 2014 at 11:03 AM, Christian Scheible christian.schei...@uni-konstanz.demailto:christian.schei...@uni-konstanz.de wrote: Hi together, I was trying to add a maven module to our version of DSpace to seperate our code from the rest. This was needed because of dependency conflicts (Our code has dependencies which can't be added to additions/pom.xml without problems). My Problem is that one of the classes in our module is a NamedPlugin (ChoiceAuthority) which is defined in dspace.cfg. So the PluginManager tries a Class.forName(my.edu.Classname). The result is a ClassNotFoundException. I think this is because the custum module is not in the classpath (no dependency in dspace-api/pom.xml) But I can't add the module to dspace-api/pom.xml because our custom module has a dependency to dspace-api (so it would be cyclic). https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one can add local code as a Maven Project for a own AuthenticationMethod (as an example) wouldn't that lead to the same error? Has anyone made a custom module with one or more Named Plugins (implementing an interface from dspace-api/ extending a class from dspace-api)? Thanks in advance Christian -- 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 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 202-687-7053 -- 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___ 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] SQL for counting unique items (excluding citation-only items)
Hi, I found some useful SQL in the mail list archives for counting items [1]. I'd like to adapt this SQL to exclude citation-only items. The easiest way to characterize such items is that they only have a license bitstream/bundle, no other bundles. I'm close to figuring this out on my own, but I have to leave for the day, so, I figured I'd send a quick note to see if anyone might have some SQL they're willing to share? Here's what I have so far (warning, not valid SQL, just a wild stab at an answer): SELECT count(*) as total_items FROM item i, bitstream b inner join bundle2bitstream b2b ON b.bitstream_id=b2b.bitstream_id inner join item2bundle i2b ON b2b.bundle_id=i2b.bundle_id inner join item i ON i2b.item_id=i.item_id; WHERE i.in_archive = 1 AND b.name != LICENSE Chatting about this on IRC with Mark Wood, he pointed me in the direction of the WITH clause [2], which looks interesting, but I can't wrap my head around using it. Yet. --Hardy [1] http://dspace.2283337.n4.nabble.com/Total-item-count-DSpace-1-7-2-XMLUI-td4666869.html [2] http://stackoverflow.com/questions/12552288/sql-with-clause-example -- 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 ___ 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
Hi, Jose, can you tell us the version numbers of the stuff in your stack? OS, Java, Tomcat? Thanks! --Hardy From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 2:31 PM To: Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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 I grabbed jsp-api-2.1.jar from the web, which was a different size and I still get this error. -Jose On Fri, Apr 4, 2014 at 1:40 PM, Jose Blanco blan...@umich.edu wrote: when I try to deploy /solr with tomcat I get: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. I've looked at the log4j files and nothing catches my eye. Thank you! Jose -- ___ 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 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
Hi, I agree with Kostas, I think moving to Tomcat 7 will resolve these issues. I suspect, given that you're using Tomcat 5.5, that you're using RHEL or CentOS 6? I'm in the process of setting up new staging and production boxes using RHEL6, Tomcat 5.5 is the best I can get with Yum, so I'm using a binary version of Tomcat 7 straight from Apache. --Hardy From: Kostas Stamatis [kstama...@ekt.gr] Sent: Friday, April 04, 2014 3:42 PM To: Jose Blanco Cc: Pottinger, Hardy J.; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Yes, you can try that. Maybe you need to remove the “xercesImpl” jar as well. Also, take a look in your tomcat directory for a folder named “endorsed”. There are located some of these jars that usually conflict. I think moving to Tomcat7 could be a wise choice. Regards, Kostas On Apr 4, 2014, at 11:37 PM, Jose Blanco blan...@umich.edu wrote: So you are suggesting I get rid of xml-apis-1.0.b2.jar and add listener listener-classorg.dspace. solr.filters.ConfigureLog4jListener/listener-class /listener back in? What about the version of tomcat. According to the documentation I need to have 7 but right now I have 5.5.26. Could updating tomcat resolve this problem? Thank you! Jose On Fri, Apr 4, 2014 at 4:30 PM, Kostas Stamatis kstama...@ekt.gr wrote: Hi Jose, I think your problem is more or less conflicts between some DSpace libs and some that Tomcat already has. For example, the one that you mention that you deleted, the jsp-api one, is a library that Tomcat has as well. So, lib version mismatching problem :) I think that some other libraries may conflict as well. Take a look at the XML ones (I think it is called xml-api ore something like that). Regards, Kostas On Apr 4, 2014, at 11:20 PM, Jose Blanco blan...@umich.edu wrote: Is this all because I don't have tomcat 7. -Jose On Fri, Apr 4, 2014 at 4:00 PM, Jose Blanco blan...@umich.edu wrote: I just got it deployed, but I'm not sure it's working. I got it deployed by (1) deleting jsp-api-2.1.jar from the solr lib area, since it was complaining about it. AND (2) removing listener listener-classorg.dspace.solr.filters.ConfigureLog4jListener/listener-class /listener from the solr web.xml file sine it could not load this. Here is the info you asked for: -bash-3.2$ java -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) Apache Tomcat/5.5.26 OS is linux Thank you! Jose On Fri, Apr 4, 2014 at 3:40 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, Jose, can you tell us the version numbers of the stuff in your stack? OS, Java, Tomcat? Thanks! --Hardy From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 2:31 PM To: Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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 I grabbed jsp-api-2.1.jar from the web, which was a different size and I still get this error. -Jose On Fri, Apr 4, 2014 at 1:40 PM, Jose Blanco blan...@umich.edu wrote: when I try to deploy /solr with tomcat I get: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. I've looked at the log4j files and nothing catches my eye. Thank you! Jose -- ___ 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 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 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
Re: [Dspace-tech] can't get /sorl deployed in 4.1
Hi, here's some of the back and forth from the dspace-devel archive: http://sourceforge.net/p/dspace/mailman/message/31032016/ From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 3:54 PM To: Pottinger, Hardy J. Cc: Kostas Stamatis; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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. Thank you! Jose On Fri, Apr 4, 2014 at 4:48 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I agree with Kostas, I think moving to Tomcat 7 will resolve these issues. I suspect, given that you're using Tomcat 5.5, that you're using RHEL or CentOS 6? I'm in the process of setting up new staging and production boxes using RHEL6, Tomcat 5.5 is the best I can get with Yum, so I'm using a binary version of Tomcat 7 straight from Apache. --Hardy From: Kostas Stamatis [kstama...@ekt.gr] Sent: Friday, April 04, 2014 3:42 PM To: Jose Blanco Cc: Pottinger, Hardy J.; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Yes, you can try that. Maybe you need to remove the xercesImpl jar as well. Also, take a look in your tomcat directory for a folder named endorsed. There are located some of these jars that usually conflict. I think moving to Tomcat7 could be a wise choice. Regards, Kostas On Apr 4, 2014, at 11:37 PM, Jose Blanco blan...@umich.edu wrote: So you are suggesting I get rid of xml-apis-1.0.b2.jar and add listener listener-classorg.dspace. solr.filters.ConfigureLog4jListener/listener-class /listener back in? What about the version of tomcat. According to the documentation I need to have 7 but right now I have 5.5.26. Could updating tomcat resolve this problem? Thank you! Jose On Fri, Apr 4, 2014 at 4:30 PM, Kostas Stamatis kstama...@ekt.gr wrote: Hi Jose, I think your problem is more or less conflicts between some DSpace libs and some that Tomcat already has. For example, the one that you mention that you deleted, the jsp-api one, is a library that Tomcat has as well. So, lib version mismatching problem :) I think that some other libraries may conflict as well. Take a look at the XML ones (I think it is called xml-api ore something like that). Regards, Kostas On Apr 4, 2014, at 11:20 PM, Jose Blanco blan...@umich.edu wrote: Is this all because I don't have tomcat 7. -Jose On Fri, Apr 4, 2014 at 4:00 PM, Jose Blanco blan...@umich.edu wrote: I just got it deployed, but I'm not sure it's working. I got it deployed by (1) deleting jsp-api-2.1.jar from the solr lib area, since it was complaining about it. AND (2) removing listener listener-classorg.dspace.solr.filters.ConfigureLog4jListener/listener-class /listener from the solr web.xml file sine it could not load this. Here is the info you asked for: -bash-3.2$ java -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) Apache Tomcat/5.5.26 OS is linux Thank you! Jose On Fri, Apr 4, 2014 at 3:40 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, Jose, can you tell us the version numbers of the stuff in your stack? OS, Java, Tomcat? Thanks! --Hardy From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 2:31 PM To: Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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 I grabbed jsp-api-2.1.jar from the web, which was a different size and I still get this error. -Jose On Fri, Apr 4, 2014 at 1:40 PM, Jose Blanco blan...@umich.edu wrote: when I try to deploy /solr with tomcat I get: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. I've looked at the log4j files and nothing catches my eye. Thank you! Jose -- ___ DSpace-tech mailing list
Re: [Dspace-tech] can't get /sorl deployed in 4.1
I think the primary argument for bumping up the DSpace-recommended Tomcat version, as explained by Mark Wood in that attached mail list thread, is that Tomcat 5.5 will very shortly be EOL. You really don't want to be building a brand new server on top of an EOL stack. I'm certain your sysadmin will understand that. Now, if they balk at doing a binary install of Tomcat7, you can always ask them to move to CentOS6 (I understand CentOS has Tomcat 6 in its Yum repositories). OR, you can always move to JBoss--which is the RedHat way of doing a Java servlet container, and is probably why RH is falling behind on supporting a recent-enough version of Tomcat (note, that's just a guess, I wouldn't dream of speaking for RH). --Hardy From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 4:26 PM To: Pottinger, Hardy J. Cc: Kostas Stamatis; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Thank you for the link. It sounds like solr uses some jars that can only be loaded with tomcat 7 and higher, like jsp-api-2.1.jar, and so we need to go to tomcat 7 for this reason. Right? I want to be able to explain this clearly to the sysadmin that will be installing tomcat 7. The new solr must have a UI interface, is that right? Thank you, again! Jose On Fri, Apr 4, 2014 at 5:12 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, here's some of the back and forth from the dspace-devel archive: http://sourceforge.net/p/dspace/mailman/message/31032016/ From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 3:54 PM To: Pottinger, Hardy J. Cc: Kostas Stamatis; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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. Thank you! Jose On Fri, Apr 4, 2014 at 4:48 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I agree with Kostas, I think moving to Tomcat 7 will resolve these issues. I suspect, given that you're using Tomcat 5.5, that you're using RHEL or CentOS 6? I'm in the process of setting up new staging and production boxes using RHEL6, Tomcat 5.5 is the best I can get with Yum, so I'm using a binary version of Tomcat 7 straight from Apache. --Hardy From: Kostas Stamatis [kstama...@ekt.gr] Sent: Friday, April 04, 2014 3:42 PM To: Jose Blanco Cc: Pottinger, Hardy J.; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Yes, you can try that. Maybe you need to remove the xercesImpl jar as well. Also, take a look in your tomcat directory for a folder named endorsed. There are located some of these jars that usually conflict. I think moving to Tomcat7 could be a wise choice. Regards, Kostas On Apr 4, 2014, at 11:37 PM, Jose Blanco blan...@umich.edu wrote: So you are suggesting I get rid of xml-apis-1.0.b2.jar and add listener listener-classorg.dspace. solr.filters.ConfigureLog4jListener/listener-class /listener back in? What about the version of tomcat. According to the documentation I need to have 7 but right now I have 5.5.26. Could updating tomcat resolve this problem? Thank you! Jose On Fri, Apr 4, 2014 at 4:30 PM, Kostas Stamatis kstama...@ekt.gr wrote: Hi Jose, I think your problem is more or less conflicts between some DSpace libs and some that Tomcat already has. For example, the one that you mention that you deleted, the jsp-api one, is a library that Tomcat has as well. So, lib version mismatching problem :) I think that some other libraries may conflict as well. Take a look at the XML ones (I think it is called xml-api ore something like that). Regards, Kostas On Apr 4, 2014, at 11:20 PM, Jose Blanco blan...@umich.edu wrote: Is this all because I don't have tomcat 7. -Jose On Fri, Apr 4, 2014 at 4:00 PM, Jose Blanco blan...@umich.edu wrote: I just got it deployed, but I'm not sure it's working. I got it deployed by (1) deleting jsp-api-2.1.jar from the solr lib area, since it was complaining about it. AND (2) removing listener listener-classorg.dspace.solr.filters.ConfigureLog4jListener/listener-class /listener from the solr web.xml file sine it could not load this. Here is the info you asked for: -bash-3.2$ java -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) Apache Tomcat/5.5.26 OS is linux Thank you! Jose On Fri, Apr 4, 2014 at 3:40 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, Jose, can you
Re: [Dspace-tech] can't get /sorl deployed in 4.1
Hi, Jose, if you do elect to move to a binary install of Tomcat 7 on RHEL6, this init script might come in handy: https://gist.github.com/hardyoyo/9903387 --Hardy From: Tim Donohue [tdono...@duraspace.org] Sent: Friday, April 04, 2014 4:48 PM To: Pottinger, Hardy J.; Jose Blanco Cc: Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 It looks like Tomcat 5.5 is already considered end-of-life: https://tomcat.apache.org/tomcat-55-eol.html In general, when something becomes end-of-life (Java, Tomcat, etc), the DSpace Committers stop testing on it. Therefore, DSpace 4.x is completely untested on Tomcat 5.5 (and we cannot guarantee stability on that version of Tomcat). So, really, it's best to upgrade your Tomcat to ensure the stability of DSpace 4. - Tim On 4/4/2014 4:38 PM, Pottinger, Hardy J. wrote: I think the primary argument for bumping up the DSpace-recommended Tomcat version, as explained by Mark Wood in that attached mail list thread, is that Tomcat 5.5 will very shortly be EOL. You really don't want to be building a brand new server on top of an EOL stack. I'm certain your sysadmin will understand that. Now, if they balk at doing a binary install of Tomcat7, you can always ask them to move to CentOS6 (I understand CentOS has Tomcat 6 in its Yum repositories). OR, you can always move to JBoss--which is the RedHat way of doing a Java servlet container, and is probably why RH is falling behind on supporting a recent-enough version of Tomcat (note, that's just a guess, I wouldn't dream of speaking for RH). --Hardy From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 4:26 PM To: Pottinger, Hardy J. Cc: Kostas Stamatis; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Thank you for the link. It sounds like solr uses some jars that can only be loaded with tomcat 7 and higher, like jsp-api-2.1.jar, and so we need to go to tomcat 7 for this reason. Right? I want to be able to explain this clearly to the sysadmin that will be installing tomcat 7. The new solr must have a UI interface, is that right? Thank you, again! Jose On Fri, Apr 4, 2014 at 5:12 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, here's some of the back and forth from the dspace-devel archive: http://sourceforge.net/p/dspace/mailman/message/31032016/ From: Jose Blanco [blan...@umich.edu] Sent: Friday, April 04, 2014 3:54 PM To: Pottinger, Hardy J. Cc: Kostas Stamatis; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 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. Thank you! Jose On Fri, Apr 4, 2014 at 4:48 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I agree with Kostas, I think moving to Tomcat 7 will resolve these issues. I suspect, given that you're using Tomcat 5.5, that you're using RHEL or CentOS 6? I'm in the process of setting up new staging and production boxes using RHEL6, Tomcat 5.5 is the best I can get with Yum, so I'm using a binary version of Tomcat 7 straight from Apache. --Hardy From: Kostas Stamatis [kstama...@ekt.gr] Sent: Friday, April 04, 2014 3:42 PM To: Jose Blanco Cc: Pottinger, Hardy J.; Dspace-Tech Subject: Re: [Dspace-tech] can't get /sorl deployed in 4.1 Yes, you can try that. Maybe you need to remove the xercesImpl jar as well. Also, take a look in your tomcat directory for a folder named endorsed. There are located some of these jars that usually conflict. I think moving to Tomcat7 could be a wise choice. Regards, Kostas On Apr 4, 2014, at 11:37 PM, Jose Blanco blan...@umich.edu wrote: So you are suggesting I get rid of xml-apis-1.0.b2.jar and add listener listener-classorg.dspace. solr.filters.ConfigureLog4jListener/listener-class /listener back in? What about the version of tomcat. According to the documentation I need to have 7 but right now I have 5.5.26. Could updating tomcat resolve this problem? Thank you! Jose On Fri, Apr 4, 2014 at 4:30 PM, Kostas Stamatis kstama...@ekt.gr wrote: Hi Jose, I think your problem is more or less conflicts between some DSpace libs and some that Tomcat already has. For example, the one that you mention that you deleted, the jsp-api one, is a library that Tomcat has as well. So, lib version mismatching problem :) I think that some other libraries may conflict as well. Take a look at the XML ones (I think it is called xml-api ore something like that). Regards
Re: [Dspace-tech] DSPACE version
Hi, Monika, if you view source on a page of the repository in question, regardless of which UI it runs (jspui or xmlui) near the top you'll see a tag that looks like: meta name=Generator content=DSpace 4.0-SNAPSHOT / or meta name=Generator content=DSpace 4.1 / If it says 4.0-SNAPSHOT, that repository is running a version of master, from the 3.x era. Same goes for other SNAPSHOT versions (just subtract 1 from it to figure out what version of the source code it's based on). Hope that helps. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I am always doing that which I cannot do, in order that I may learn how to do it. --Pablo Picasso On 3/25/14 1:31 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: is there a place where the JSP-UI displays the current software version ? Monika Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 -- 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] Linking from DSpace Object to External URL
Hi, Stacy, I wonder if you wouldn't mind writing up your solution, once you've gotten it all settled? It sounds interesting. I've been kicking around the idea of setting something similar up, and there are obvious tie-ins with the streaming project underway. [1] Thanks! [1] http://tinyurl.com/dspace-streaming -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. On 3/21/14 4:25 PM, Pennington_Stacy penning...@rhodes.edu wrote: Last week, I updated our DSpace from 1.8.2 to 4.1 without many (any?) issues. Kudos to everyone on this list that worked on the DSpace 4.x releases, whether as a developer, contributor, tester, or whatever. Your efforts are appreciated! I'm wondering how to do something that seems pretty simple and can't find any leads in the DSpace docs or wiki on how to do it. I would like to provide a hyperlink from a DSpace object's page (we are using JSPUI) to an external location to showcase that object's bitstream using technology not associated with DSpace. For example, I've got high-resolution images saved as objects in DSpace, so that the lossless TIFF (huge) and lossy JPEG (much smaller) are available in DSpace, complete with lovely DC metadata. I've now got a Djatoka server running with OpenSeaDragon as a viewer, and many of these large images can be viewed on the external Djatoka server using a custom URL for that image. I want to link to that external URL from within the DSpace JSPUI object page in the simplest way possible, without modifying DSpace code. Is this possible? I know that this may be bad form for a repository, but I'm not interested in modifying the JSPUI template pages to load the Javascript viewer on the page or anything like that. I'm willing to store the URL to the zoomable viewer in the object's metadata, which of course I can do now in DC but it doesn't create a hyperlink; the user needs to copy/paste the URL to get to the zoomable viewer. I just need a simple link from the object page, and if that link stops working in the future, that's OK. I can remove it at that time. The bitstreams are the most important thing, but the user would get the most use out of the simple, zoomable, external URL. Does anyone have any advice for me? Again, I'm interested in the simplest, easiest way to do this link, one with the least number of changes to the DSpace source code. Thanks in advance for any ideas! -- Stacy Pennington Information Technology Services Rhodes College 901-843-3968 -- 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 -- 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
[Dspace-tech] Persisting handles for a community, after that community moves elsewhere
Hi, I'm just trying to ensure I have a solution on hand, should this situation ever come up. Say an entire community wanted to move their content elsewhere. Moving content is not particularly difficult, you've got bitstreams and metadata, package it all up and move it. However, there are handles that have been minted, and the deal with handles is they are forever, right? So, the general idea is, we'd have to redirect for certain handles. I'm pretty sure we could intercept these handles via an apache module, or even Tuckey [1], but I'm also wondering if there might be a software solution within DSpace itself... and that thought makes me think that, possibly, someone else has already crossed this bridge, and might have some advice, sample code, a box of tissues I can borrow. :-\ Thanks! [1] http://tuckey.org/urlrewrite/ -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals -- 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] Fwd: Custom statistics page with solr information
Hi, Patricia, you might want to check out Harvard¹s MyDASH site. They've posted the code up on GitHub. [1] It's a Drupal interface to DSpace statistics. You can also see it in action. [2] [1] https://github.com/oscharvard/mydash [2] https://osc.hul.harvard.edu/dash/mydash It's not quite a custom report, it's more of a stats portal, with a particular focus on being usable by the content creators. But it still might be worth a look. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I think people who can live a life in music are telling the world 'You can have my love, you can have my smiles. Forget the bad parts, you don't need them. Just take the music, the goodness, because it's the very best, and it's the part I give most willingly.'-- George Harrison On 3/18/14 4:07 PM, Patricia B forumdsp...@gmail.com wrote: Hello I'm new in dspace and I wold like to now if is it possible to create a custom report containing the files that were submitted by a given user, using a solr log informations. My dspace version is 3.2 I appreciate any help. -- 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 setting up Shibboleth login
Hi, there is no Shibboleth Service Provider code in DSpace, so, yes, you will need to install and configure a Service Provider on your machine, and ensure it is working with your Identity Provider. Here is the current documentation on setting up DSpace to work with Shibboleth: https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#Authentic ationPlugins-ShibbolethAuthentication It's worth skimming the whole document, but the specific section you want to read is entitled: Configuring Shibboleth Authentication (DSpace 1.8.2+) -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I think I like disruptive technology because it makes the whole world a bit fuzzy, my normal state of mind. -- Robert Llewellyn (aka Kryten) On 1/10/14 7:47 AM, Vassilis Charpantidis vcharpanti...@knowledge.gr wrote: Hello everybody , I have a problem setting Shibboleth login in Dspace 4. My main issue is that I cannot find an updated tutorial. For example, I cannot realize if I must install a Shibboleth Service Provider or it is built-in the Dspace application code . Than ks in advance, Vassilis Charpantidis -- 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] Problem with Debian and DSpace during port scan
Hi, David, I'm not a security expert, but it sounds to me like your port scanner hit the Tomcat shutdown port. Here's an article on hardening Apache Tomcat: http://www.mulesoft.com/improving-apache-tomcat-security-step-step-guide It's perfectly fine to set the Tomcat shutdown port to -1, which disables that feature. However... I personally prefer to run Tomcat behind regular Apache [1], and reverse proxy just the ports I'm interested in exposing (that's usually just 8009, the AJP-proxy port). Then Tomcat can do its thing, and Apache can handle the public. [1] https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts#DspaceOnSta ndardPorts-Method2a-UseApacheHTTPD(mod_proxy_ajp)+Tomcat(port8009) -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals On 11/15/13 8:48 AM, Schuster, David dschus...@mail.twu.edu wrote: This may not be a Dspace issue, but hopefully someone can point me in the right direction. During a port scan of our Dspace instance before we make it public Apache/Tomcat shutsdown. Being fairly new to tomcat where might I look and in which log to determine why this is happening? I am open to suggestions as to how to fix it as well! David Schuster Texas Woman's University Director of Library Information Technology Technical Support PO Box 425528 Denton TX 76204-5528 Phone: 940-898-3909 Fax: 940-898-3764 dschus...@twu.edu -- 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] Maven Package in 3.x
Hi, Adam, if it builds ok, you can probably just switch back to mvn clean package. If it still hangs, let us know where it hangs in the process. --Hardy Sent from my iPad On Oct 29, 2013, at 4:38 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: Hi Hardy, Just thought I would let you know that it does actually appear to be working, it is just painfully slow. I left it running over lunch and when I came back it had finished the package. Ran it again just to see and it looks it hangs at that point for about 20 minutes before finishing the download. But it builds so I am happy lol. Regards, Adam -Original Message- From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu] Sent: 25 October 2013 19:31 To: Adam Rousell; heli...@centrum.sk Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Maven Package in 3.x Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just point out that the most important part of the command that Helix suggested, and you didn't mention in your reply, so I'm pointing it out, is the -U option. clean package tells Maven to first clean out the build target folder, and then package tells Maven to re-package the ant installer for DSpace. The -U command line tells Maven to update all snapshots--think of those as dependencies. Taking the extra step of first deleting your .m2 folder just ensures that nothing strange happens with the dependency update. BTW, deleting your ~/.m2 folder deletes a lot more than your cache repository... in the future, you may want to remove just the ~.m2/repository folder, especially if you've been storing settings or profiles in .m2/settings.xml. Also, if you're an Oracle DB user like me, you'll need to re-install the Oracle driver, since it's stored in your ~/.m2/repository folder. Sorry to be pedantic, but these details are important. :-) Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a quick way to get up and running with DSpace: https://github.com/DSpace/vagrant-DSpace -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: Hey, think I may have spoken too soon... It worked once and now I'm having the same issue again, and running the clean package and deleting the .m2 folder are having no effect. Any other thoughts? It's a 3.2-src-release one that I am trying to build... Adam -Original Message- From: Rousell Adam Sent: 23 October 2013 14:41 To: 'heli...@centrum.sk' Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Maven Package in 3.x Hey, the clean package thing seemed to do the trick. It's on a new Linux setup so maybe something to do with Maven being freshly downloaded from the repository or something... Anyway, thanks for your help :) Adam -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 23 October 2013 13:34 To: Adam Rousell Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Maven Package in 3.x On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: I seem to be having issues with running the maven package on a newly downloaded instance of DSpace 3.x. During the package process the system hangs when trying to download files. A number of the links provided result in a 404 error when trying to access through a browser (i.e. http://oss.sonatype.org/content/repositories/releases/commons-digester /co mmons-digester/1.6/commons-digester-1.6.jar). Is this a problem with the host that holds these files as at the minute I cannot build any instances that use these. Hi Adam, I'm not sure how Maven got that broken link, because commons-digester-1.6.jar *is* available on Maven Central [1]. We think this might be a Maven caching issue. Try building again with: mvn -U clean package If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch every dependency and recreate it on its next run. Which exact 3.x version are you building? We were able to build 3.2 successfully. [1] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22% 20A ND%20a%3A%22commons-digester%22 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette --- --- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP
Re: [Dspace-tech] Maven Package in 3.x
Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just point out that the most important part of the command that Helix suggested, and you didn't mention in your reply, so I'm pointing it out, is the -U option. clean package tells Maven to first clean out the build target folder, and then package tells Maven to re-package the ant installer for DSpace. The -U command line tells Maven to update all snapshots--think of those as dependencies. Taking the extra step of first deleting your .m2 folder just ensures that nothing strange happens with the dependency update. BTW, deleting your ~/.m2 folder deletes a lot more than your cache repository... in the future, you may want to remove just the ~.m2/repository folder, especially if you've been storing settings or profiles in .m2/settings.xml. Also, if you're an Oracle DB user like me, you'll need to re-install the Oracle driver, since it's stored in your ~/.m2/repository folder. Sorry to be pedantic, but these details are important. :-) Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a quick way to get up and running with DSpace: https://github.com/DSpace/vagrant-DSpace -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: Hey, think I may have spoken too soon... It worked once and now I'm having the same issue again, and running the clean package and deleting the .m2 folder are having no effect. Any other thoughts? It's a 3.2-src-release one that I am trying to build... Adam -Original Message- From: Rousell Adam Sent: 23 October 2013 14:41 To: 'heli...@centrum.sk' Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Maven Package in 3.x Hey, the clean package thing seemed to do the trick. It's on a new Linux setup so maybe something to do with Maven being freshly downloaded from the repository or something... Anyway, thanks for your help :) Adam -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 23 October 2013 13:34 To: Adam Rousell Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Maven Package in 3.x On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: I seem to be having issues with running the maven package on a newly downloaded instance of DSpace 3.x. During the package process the system hangs when trying to download files. A number of the links provided result in a 404 error when trying to access through a browser (i.e. http://oss.sonatype.org/content/repositories/releases/commons-digester/co mmons-digester/1.6/commons-digester-1.6.jar). Is this a problem with the host that holds these files as at the minute I cannot build any instances that use these. Hi Adam, I'm not sure how Maven got that broken link, because commons-digester-1.6.jar *is* available on Maven Central [1]. We think this might be a Maven caching issue. Try building again with: mvn -U clean package If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch every dependency and recreate it on its next run. Which exact 3.x version are you building? We were able to build 3.2 successfully. [1] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20A ND%20a%3A%22commons-digester%22 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktr k ___ 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 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net
Re: [Dspace-tech] Question about mod_jk, x-forwarded-for and IP-based authentication
Hi, this is a tangent, but if you want a really handy tool for your box, grab a copy of ipcalc (it's in most package managers): http://jodies.de/ipcalc I use this whenever I need to spot-check my guesses at CIDR notation. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I am always doing that which I cannot do, in order that I may learn how to do it. --Pablo Picasso On 9/12/13 11:37 AM, Mark H. Wood mw...@iupui.edu wrote: On Thu, Sep 12, 2013 at 06:32:45PM +0800, Nemiz, Elvi wrote: Lastly, in authentication-ip.cfg, what is the correct syntax for specifying ip range? If for example our ip range is 203.xxx.xx.129 to 203.xxx.xx.142? I tried using 203.xxx.xx.129/142 and I get Malformed *IP range* specified for group error. This part I can answer. See: https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#Authenti cationPlugins-ConfiguringIPAuthentication You seem to be trying to use CIDR notation. That doesn't directly indicate the range; the number after the slash is the number of leading one bits in the mask. So, 203.xxx.xx.129/142 is impossible, as there are not 142 bits in an IPv4 address, and that isn't what you meant anyway. You may need to figure out a set of masked addresses, of which the union is the entire set of addresses that you permit. I'm not quite sure what you mean by 203.xxx.xx.129 to 203.xxx.xx.142. Are the xxx and xx don't care bits? If the permitted set is very small, you could just specify each address individually. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/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] Upgrade to Solr
Hi, Anja, everyone else will be chiming in on your specific question, I have a question for you, though: can you share more details about your work with Elastic Search? Is this work something that you'd consider submitting as an enhancement for DSpace 4.0? Shorter version: I'm intrigued, tell me more. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I am always doing that which I cannot do, in order that I may learn how to do it. --Pablo Picasso On 8/13/13 5:36 AM, Anja Le Blanc anja.lebl...@manchester.ac.uk wrote: Hello, We are using DSpace 1.8. We modified the source to use ElasticSearch as well as the build in Solr. After upgrading ElasticSearch to 0.90.3 we are now forced (library conflict with lucene) to update the build in Solr to 4.4.0. Is the version of Solr which comes with DSpace in any way modified to make it work with DSpace? Did anyone attempt an upgrade to Solr 4.4.0 before? Are there any known pit-falls? Any advice appreciated! Best regards, Anja -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktr k ___ 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 -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] another unscheduled shutdown
Hi, I think you need more info before you do much more performance tuning, but, if it helps at all, here are the settings we are using in production with 32bit RHEL5: http://lso.umsystem.edu/~pottingerhj/article/25/dspace-3-tomcat-tweaks --Hardy Sent from my iPad On Jun 26, 2013, at 7:17 AM, Hilton Gibson hilton.gib...@gmail.commailto:hilton.gib...@gmail.com wrote: It should allow you to get a proper java dump the next time. The dump should tell you what happened. I am not a java expert but it seems like the direction to go. Personally I have better results regularly using Ubuntu as a server. Perhaps you should reconsider Redhat EL, I believe it has very old versions of software. On 26 June 2013 13:25, Ady Wahyudi Paundu ad...@unhas.ac.idmailto:ad...@unhas.ac.id wrote: Not yet, but i'm implementing it now... i'll let you know the result in the mean time, can you explain what it is for? TIA AdyWP On 06/26/2013 07:27 PM, Hilton Gibson wrote: Ok. Have you tried this: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08#Step_8.3_Increase_number_of_open_files_available Cheers hg On 26 June 2013 12:47, Ady Wahyudi Paundu ad...@unhas.ac.idmailto:ad...@unhas.ac.id wrote: here is my machine info: - dual cpu (xeon 2.2G) IBM machine with 2x8 GB memory - work only for repository (plus postgredb) - with modjk to work with apache - using only xmlui-mirage - Current JAVA_OPTS=-Xmx8192M -Xms8192M -XX:MaxPermSize=1024M -XX:PermSize=1024M -XX:+UseParallelGC -XX:-UseLoopPredicate -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote=true - OS: RedHat Enterprise 5.6 64 bit - DSpace 3.1 Thanks AdyWP -- Hilton Gibson Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://www.journals.ac.za -- This SF.nethttp://SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Introducing DSpace 3.x at OR13
Hi, I am giving a talk to introduce the latest version of DSpace at Open Repositories 2013 at PEI next month. And, I'd like to hear from you if you've put 3.1 into production. I'd particularly like to hear from anyone with a 3.1 war story to tell, or screenshots you're particularly proud of. I'll even just take links and make my own screenshots, but if you don't trust me, feel free to make your own. If you have a favorite feature of 3.1, I'd like to hear about that, too. My personal favorite is the new build.properties file, and the related ENV.properties capability. But, that's me, a developer, talking. We're not all developers here on DSpace_tech, and I'd like to hear from all of you. Alas, I can't speak for everyone, though, so you should probably reply to just me, and not the list. Thanks! A quick recap, here's what I'm looking for: I need stories and pictures, favorite features and why, pain points and how you dealt with them (as an example, I intend to share what we elected to punt on implementing, but still intend to implement). The cold hard truth, and pretty pictures. AND if you're running 3.1 in production, that makes you an early adopter. Let me know if it's OK to mention your institution by name, but I think you should be proud about running the latest version. I also bet there's a good story behind why you implemented early, and I want to tell that story for you. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] lazysession.loginurl?
To anyone following along, Ben Ryan's description below is spot-on. It would be worth copying part of his message into the documentation. If I feel sufficiently full of pique, I might do so myself, though my day is pretty full of distractions already... I won't be offended if someone beats me to it. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I am always doing that which I cannot do, in order that I may learn how to do it. --Pablo Picasso On 6/10/13 9:57 AM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: Richard, The lazysession.loginurl refers to the Shibboleth request initiator endpoint that is configured for the Shibboleth Service Provider (ShibSP) that you are using. This configuration is done by the administrators of the federation that you belong to (http://iamsect.ncl.ac.uk/deliverables/docs/federations/). The lazysession.loginurl is appended to the domain name the machine that your Dspace instance is running on e.g. https://content.resourceshare.ac.uk/Shibboleth.sso/Login. If you access this URL the browser will be re-directed to the Discovery service (another end point that has to be configured for your ShibSP) that allows the user to choose the institution at which they want to authenticate. In my case I choose The University of Manchester as that is where I have an account and the Shibboleth Identity Provider (ShibIDP) will provide information to the ShibSP that is then passed through the web server to the application server where it is available for DSpace to process. As Shibboleth is designed to able to be used to protect many different types of web services without affecting those services Dspace only has the need to know where the browser should be re-directed to so that a Shibboleth session can be established e.g. the lazysession.loginurl and the mapping from the Authentication headers passed through to Dspace to the Dspace specific parameters that are used to determine whether a user can be authenticated e.g. # Authentication headers for Mail, NetID, and Tomcat's Remote User. # Supply all parameters possible. netid-header = net-id email-header = SHIB-MAIL email-use-tomcat-remote-user = false The authenticate headers are defined in the Shibboleth configuration (attribute-map.xml) and take the form: Attribute name=urn:oasis:names:tc:SAML:2.0:nameid-format:persistent id=net-id AttributeDecoder xsi:type=NameIDAttributeDecoder formatter=$NameQualifier!$SPNameQualifier!$Name defaultQualifiers=true/ /Attribute The value of the id attribute is up to you but must match the one in the Dspace Shibboleth configuration file. To get Dspace to work with Shibboleth is straight forward if you have access to the relevant information about how the ShibSP you intend to use is configured. It is out of scope for the Dspace documentation to contain detailed information on the setup and configuration of the Shibboleth system as this is a very complex area (I know, I have had to do all the configuration of both Dspace and Shibboleth). Regards, Ben -- Dr Ben Ryan Jorum Technical Manager 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: benjamin.r...@manchester.ac.uk -- -Original Message- From: Richard Sims [mailto:r...@bu.edu] Sent: 10 June 2013 14:57 To: DSpace Tech Subject: Re: [Dspace-tech] lazysession.loginurl? Thanks for your quick response... On Jun 10, 2013, at 9:28 AM, helix84 heli...@centrum.sk wrote: On Mon, Jun 10, 2013 at 2:57 PM, Richard Sims r...@bu.edu wrote: Shibboleth configuration has greatly changed since DSpace 1.7. In 3.x there is configuration File [dspace]/config/modules/authentication-shibboleth.cfg. In it, there is a lazysession.loginurl parameter. Unfortunately, there is no useful documentation on the parameter so as to provide any perspective or guidance on what value to provide, saying only that it is The url to start a shibboleth session. And no customer examples can be found on the Web. Hi Richard, in fact, there were no code changes to the Shibboleth module between DSpace 1.8.2 and 3.0, which you can verify using: git diff dspace-1.8.2 dspace-3.0 -- dspace-api/src/main/java/org/dspace/authenticate/ShibAuthentication.ja va As I indicated, I have been attempting to bring our 1.7 implementation up to a 3.1 level. Across that void there have been substantial changes. There is also documentation about lazy sessions and it includes the authentication.shib.lazysession.loginurl parameter: https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#Auth enticationPlugins-ConfiguringShibbolethAuthentication(DSpace1.8.1) That is the documentation I was referencing. It is useless as to this
Re: [Dspace-tech] lazysession.loginurl?
Hi, here is a definition of what Shibboleth means by Lazy Session: https://wiki.shibboleth.net/confluence/display/SHIB/LazySession (note, link is to the older Shib 1.3 documentation, I can't find the corresponding page in the 2.x documentation). In a nutshell, a Lazy Session configuration of Shibboleth allows attributes from an already-established session to be passed to your application, but does not actually require such an existing session. A Lazy Session Login URL would be where you would need to send a user should the session need to be recreated or refreshed for some reason. In your Apache config file, here's how you'd configure a lazy session: # turn on Shibboleth Lazy Session Location / AuthType shibboleth ShibRequireSession Off require shibboleth /Location If you instead pass a value of ShibRequireSession On or ShibRequireSession True, you would force all visitors to login when they encounter any URL to your site. So, in a Lazy Session environment, you still need a way for your application to create new sessions and/or refresh existing ones. If you are using Shibboleth authentication at your institution, I recommend utilizing Lazy Sessions, as it's how you deliver on the promise of a single sign on, otherwise you're asking people to log in yet again, using the same credentials they use elsewhere. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Every last one of us can do better than give up.-- Sugar On 6/10/13 1:47 PM, Kevin P. Foote kpfo...@iup.edu wrote: On Mon, 10 Jun 2013, Mark H. Wood wrote: So, from the DSpace installer's POV, the doco. should answer the question: how do I generate the proper value for this variable? That does seem to take some reading between the lines. The DSpace source doesn't really help much here. You have to look at the way that Shibboleth is plumbed into your web server. There seems to be an assumption that Apache HTTPD is used. My best You will most certainly be using Apache as a front to tomcat/jetty if you are using or relying on the Shibboleth SP. guess is that the value for lazysession.loginurl can be calculated by finding something in the HTTPD configuration that looks like: Location /Shibboleth.sso SetHandler shib /Location taking the argument to Location and appending /Login. Can someone confirm that this is How To Do It? or supply the correct procedure? I'd be happy to fix the DSpace documentation once I am confident that I know what it should say. I've always assumed (yea-yea) that if your running Shib for your login you have some local resources to fall back on, local or back to the shib community. The concept of 'lazy login' comes into play if you have a website that in general does NOT need to be user/pass protected -- ie: searchable by the world etc. But, has some areas that need to have authn/z to function. So we are left with a protection example that looks like this in apache config.. !-- -- !-- Lazily protect the entire dspace site -- !-- -- Location / AuthType Shibboleth ShibRequestSetting requireSession 0 Require shibboleth /Location Your entry in to the dspace config would be that of the SP login initiator.. which by default is http(s)://site/Shibboleth.sso/Login This tells the shib-sp to kick off a login event which, directs to IdP or discovery page.. So, I'm purely guessing here that, in dspace 3 you are calling the initiator directly, hence the config entry, to get the login started rather than relying on an Apache Location block specific to where the shibboleth login code will be waiting. --- Contrast the older model.. In 1.7 era (which I'm still using) you protect a Dspace location /shibboleth-login which gets the login rolling and is able to parse out the return data from the headers. example of 1.7 ish Location /shibboleth-login AuthType shibboleth ShibRequestSetting requireSession 1 ShibUseHeaders On Require affiliation member /Location -- thanks kevin.foote -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] [SPAM] Re: Dspace release 3.0 with Oracle???
Hi, the issue has been solved, I am currently running code based on that branch in production, on an Oracle DB. However, I think the word schema may be tripping you up. It means something specific in PostgreSQL, in Oracle it means just user or database. You can safely leave it blank for Oracle, and just use the username you need to address each Oracle schema. We do this for several developer instances in the same container, on our development machine. --Hardy Sent from my iPad On Jun 7, 2013, at 6:50 PM, damanzano damanz...@icesi.edu.co wrote: Hi, Has being this issue solved? I'm have downloaded the dspace-3_X branch from Github and tried to install into a windows 7 PC and using an oracle database. When i execute the ant fresh_install comand it fails reporting the following error: [java] Error: [java] - null [java] 2013-06-07 15:54:02,870 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries: [java] java.lang.NullPointerException [java] at org.dspace.storage.rdbms.ColumnInfo.canonicalize(ColumnInfo.java:154) [java] at org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:579) [java] at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:437) [java] at org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1834) [java] at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675) [java] at org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447) [java] at org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403) [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:172) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138) [java] at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75) I have already all the comments in the jira DS-1435 report https://jira.duraspace.org/browse/DS-1435 https://jira.duraspace.org/browse/DS-1435and cheked the code match with the file in Github but still have the problem. I only get the error when i set the db.schema property in build.properties. If i leave this property in blank ant fresh_install does not ocurre but then i have problems submiting item to collections because i have several database schemas for different dspace repositorioes (in different verisons). for example i get : ERROR org.dspace.app.webui.servlet.SubmissionController @ Error loading step class'org.dspace.submit.step.UploadStep': java.sql.SQLSyntaxErrorException: ORA-00904: METS_BITSTREAM_ID: identificador no válido at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3685) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1376) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1281) at org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1879) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675) at org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447) at org.dspace.content.Bundle.create(Bundle.java:199) at org.dspace.content.Item.createBundle(Item.java:1258) at org.dspace.content.Item.createSingleBitstream(Item.java:1403) at org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:500) at org.dspace.submit.step.UploadStep.doProcessing(UploadStep.java:145) at org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401) at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252) at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382) at
Re: [Dspace-tech] Fwd: [Dspace-devel] Item state definitions
In a way, this is a start at documenting our business rules, which is useful work in and of itself, but would be especially useful for building a business logic layer, which is something many of us have expressed an interest in. As Peter Dietz observed more than a year ago, it is currently up to each interface to implement these rules. My comment at this point is carry on. But, I should also add, How can we help? --Hardy Sent from my iPad On May 27, 2013, at 3:16 AM, helix84 heli...@centrum.sk wrote: On Mon, May 27, 2013 at 9:52 AM, Andrea Bollini a.boll...@cineca.it wrote: As I haven't received yet any feedback or comment I'm trying to get more visibility on the tech list. Please note that imho it is very important for the consistent of the DSpace data model that we all agree about standard scope and usage of item state. Hi Andrea, I think the reason you didn't get feedback is that you're describing how things should work, while it's not completely clear how it differs from how things currently work. To get feedback, you should describe the status quo, why it is not ideal and propose a change. For example, I notice that no interface except XMLUI currently doesn't respects the discoverable attribute (the private state). It's clear that this is a problem. So the proposal should say whether we should add support to all other interfaces or wait for a more final solution and what that would be. I know this is a lot of work and I appreciate you started looking into it, thank you. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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 -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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 shutdown automatically
Hi, there is no need to apply that patch to the version of DSpace you are running, it is already in there. I am sadly still unfamiliar with Discovery, but I would expect there to also be a need to regularly optimize the Discovery Solr index. --Hardy Sent from my iPad On May 21, 2013, at 10:54 PM, Ady Wahyudi Paundu ad...@unhas.ac.idmailto:ad...@unhas.ac.id wrote: Thank you Mr. Pottinger, i have now added a new crontab line: [dspace]/bin/dspace stats-util --optimize my next question, right now i'm running DS-3.1, should i patch it using patch from here: https://jira.duraspace.org/browse/DS-615 or not? also along the line there is suggestion from Peter Dietz to use [dspace]/bin/dspace update-discovery-index -o should i use that too? for your kind attention i thank you... Best Regards, adywp On 05/22/2013 11:10 AM, Pottinger, Hardy J. wrote: Hi, I think you may not be optimizing your Solr index, which is recommended practice. See this thread http://dspace.2283337.n4.nabble.com/Documentation-and-changes-for-DS-615-td3675851.html --Hardy -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___ 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 shutdown automatically
Hi, I think you may not be optimizing your Solr index, which is recommended practice. See this thread http://dspace.2283337.n4.nabble.com/Documentation-and-changes-for-DS-615-td3675851.html --Hardy Sent from my iPad On May 21, 2013, at 8:39 PM, Ady Wahyudi Paundu ad...@unhas.ac.idmailto:ad...@unhas.ac.id wrote: Hi Helix, this is a part of dspace.log at the time it stopped: ... 2013-05-21 12:45:16,500 INFO org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @ anonymous:session_id=F5D08032AE8FDAEB7FD815985005CC28:ip_addr=65.55.213.239:browse:org.d$ 2013-05-21 12:45:16,621 INFO org.dspace.usage.LoggerUsageEventListener @ anonymous:session_id=A7B303417E8CA457DEEE6650874B5CA8:ip_addr=66.249.81.44:view_bitstream:bitstream_id=3000 2013-05-21 12:45:17,272 INFO org.dspace.usage.LoggerUsageEventListener @ anonymous:session_id=B3DE8D0B3FB3F3B33F879CB46437904F:ip_addr=69.175.60.110:view_bitstream:bitstream_id=5331 2013-05-21 12:45:19,134 INFO org.dspace.browse.BrowseEngine @ anonymous:session_id=89255A6360C4D85789CBD7A9F368E134:ip_addr=66.249.75.179:browse_by_item: 2013-05-21 12:45:19,144 INFO org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @ anonymous:session_id=89255A6360C4D85789CBD7A9F368E134:ip_addr=66.249.75.179:browse:org.d$ 2013-05-21 12:45:19,832 INFO org.dspace.browse.BrowseEngine @ anonymous:session_id=873BF6D354CB83AB62E1ABAA1D8C668F:ip_addr=65.55.213.239:browse_by_item: 2013-05-21 12:45:19,885 INFO org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @ anonymous:session_id=873BF6D354CB83AB62E1ABAA1D8C668F:ip_addr=65.55.213.239:browse:org.d$ 2013-05-21 12:45:21,394 INFO org.dspace.browse.BrowseEngine @ anonymous:session_id=BEDD3F9B0DECD9D441D427534C44D003:ip_addr=66.249.75.179:browse_by_value:focus=null 2013-05-21 12:45:21,406 INFO org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @ anonymous:session_id=BEDD3F9B0DECD9D441D427534C44D003:ip_addr=66.249.75.179:browse:org.d$ 2013-05-21 12:45:23,449 INFO org.dspace.browse.BrowseEngine @ anonymous:session_id=7E6586A5EB3DFDFD2B23AA2BE3D7B82E:ip_addr=65.55.213.239:browse_by_item: 2013-05-21 12:45:23,503 INFO org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse @ anonymous:session_id=7E6586A5EB3DFDFD2B23AA2BE3D7B82E:ip_addr=65.55.213.239:browse:org.d$ 2013-05-21 13:21:57,115 WARN net.sf.ehcache.store.DiskStore @ The index for data file cocoon-ehcache.data is out of date, probably due to an unclean shutdown. Deleting index file coc$ 2013-05-21 13:21:57,584 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Loading XMLUI configuration from: /usr/local/dspace/config/xmlui.xconf 2013-05-21 13:21:57,680 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Displaying Artifacts', path='resource://aspects/ViewArtifacts/'. 2013-05-21 13:21:57,680 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Browsing Artifacts', path='resource://aspects/BrowseArtifacts/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Searching Artifacts', path='resource://aspects/SearchArtifacts/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Administration', path='resource://aspects/Administrative/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='E-Person', path='resource://aspects/EPerson/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Submission and Workflow', path='resource://aspects/Submission/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Statistics', path='resource://aspects/Statistics/'. 2013-05-21 13:21:57,681 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Aspect Installed: name='Original Workflow', path='resource://aspects/Workflow/'. 2013-05-21 13:21:57,682 INFO org.dspace.app.xmlui.configuration.XMLUIConfiguration @ Theme Installed: name='Atmire Mirage Theme', path='Mirage/', id='null', regex='.*', handle='null'. 2013-05-21 13:21:58,034 INFO net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4] 2013-05-21 13:21:58,833 INFO net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4] 2013-05-21 13:22:00,312 INFO net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/R ... there is nothing wrong as i see it... this is also from cocoon.log . 2013-05-21 12:45:23,503 INFO org.apache.cocoon.caching.impl.CacheImpl - Cache MISS for
Re: [Dspace-tech] Citation Cover Page feature
Hi, we're interested in this feature, and will happily just go the local customization route to implement it. Thank you for working on the documentation, as well as making the code available, that is very thoughtful of you. I do think there has been interest from the community in producing on the fly derivatives and this would be a nice working example of one way to do it. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Don't undertake a project unless it is manifestly important and nearly impossible. --Edwin Land On 5/16/13 4:34 PM, Peter Dietz pdiet...@gmail.com wrote: Hi All, I wanted to share that we have also made an implementation of generating a Citation Cover Page to PDF's downloaded from DSpace. I'm starting a write-up on what we're doing now. We originally followed Andrea's approach and made it as a Curation Task, but have altered the XMLUI BitstreamReader to disseminate the coverpage on the fly. https://github.com/osulibraries/DSpace/wiki/Citation-Cover-Page I wanted to know if anyone was interested in this feature, since I'm wondering if/when/how to contribute it upstream. I'm hesitant to contribute something that feels like its just a local customization. Other solutions that I'm aware of: Keiji Suzuki, Otaru Japan http://barrel.ih.otaru-uc.ac.jp/bitstream/10252/1213/1/BHMK33_3.pdf Andrea Schweer, Waikato NZ https://github.com/lconz-irr/Curation-Tasks/blob/master/src/main/java/nz/a c/lconz/irr/curate/task/GenerateCitation.java Peter Dietz -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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.io.IOException on Dspace 3.1
Hi, in an effort to share as much information as we have, here's our latest thinking on this. However, do note, I'm talking about an esoteric/intermittent error that looks just like the much more straightforward error that Peter mentions below. It is well worth your time to troubleshoot as Peter suggests, because a simple permissions issue is easily repaired. However, the error described by Amy [1] is another thing altogether. In troubleshooting it earlier this year, I brought an article [2] to the attention of Mark Wood in Indiana as well as a few sysadmins here. After reading this article, I realized we actually have a bit of an oddity in our server setup. The server that hosts our repository runs on RHEL5, which is 32-bit, but it has a special PAE kernel, which means it's running enough 64-bit Linux to address more RAM. Our sysadmin searched around and discovered another article [3], which generically warns of Java issues on a PAE kernel. So, our plan at this point is to try testing DSpace on a 64-bit machine, using Java 7, and a specifically-tuned installation of Tomcat, to make the best utilization of available memory. Last I heard, Mark was also planning on migrating to 64-bit machine. Anyway, this is another shot in the dark, but you may want to try upgrading your hardware and using a newer version of Java... it might just help with this little problem. If you do find anything, please do keep the community posted. The ticket Amy mentioned earlier [1] is a good place to do that, and replying to this thread on the mail list would help, too. Thanks! [1] https://jira.duraspace.org/browse/DS-1143 [2] http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html [3] https://kb.groundworkopensource.com/display/SUPPORT/Using+the+32-bit+PAE+ke rnel+can+cause+JAVA+errors -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 5/3/13 1:42 PM, Peter Dietz pdiet...@gmail.com wrote: Hi Will, This might sound like very basic stack-overflow 101 advice, but I would double check filesystem permissions. A while ago, I was sure that the dspace-user owned all of the files, but then I actually checked, and found that some files in our assetstore were owned by root. After chown'ing them to the dspace-user, this problem disappeared for us. Another one of my theories is that our SAN/NAS was having intermittent connectivity issues, but our sys-admin showed me otherwise. Peter Dietz On Fri, May 3, 2013 at 2:24 PM, Lana, Amy la...@missouri.edu wrote: Hi Will, We¹ve had this problem for a while now as well (https://jira.duraspace.org/browse/DS-1143). It¹s my understanding that work trying to fix the issue continues; if you could add your information to the existing ticket, it may help with the diagnosis. Sorry we¹ve no solution at this point. Amy Amy Lana University of Missouri Libraries la...@missouri.edu / 573-882-4757 tel:573-882-4757 http://mulibraries.missouri.edu http://mulibraries.missouri.edu/ https://mospace.umsystem.edu From: Will Clarke [mailto:clark...@wfu.edu] Sent: Friday, May 03, 2013 1:11 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] java.io.IOException on Dspace 3.1 We've just upgraded to dspace 3.1 and when trying to add items we are now getting this error. Can anyone help? java.io.IOException: No such file or directoryCocoon stacktrace [hide] Error calling continuation context:/resource://aspects/Submission/submission.js - 507:-1 processPage context:/resource://aspects/Submission/sitemap.xmap - 93:44 map:call context:/resource://aspects/Submission/sitemap.xmap - 92:61 map:match context:/resource://aspects/Submission/sitemap.xmap - 60:48 map:select type=AuthenticatedSelector context:/jndi:/localhost/aspects/aspects.xmap - 89:72 map:mount context:/jndi:/localhost/aspects/aspects.xmap - 79:34 map:select type=parameter context:/jndi:/localhost/aspects/aspects.xmap - 78:36 map:match type=AspectMatcher context:/jndi:/localhost/sitemap.xmap - 485:100 map:mount context:/jndi:/localhost/sitemap.xmap - 484:49 map:match context:/resource://aspects/Statistics/sitemap.xmap - 285:31 map:serialize type=xml context:/resource://aspects/Statistics/sitemap.xmap - 37:19 map:generate context:/resource://aspects/Workflow/sitemap.xmap - 139:38 map:serialize type=xml context:/resource://aspects/Workflow/sitemap.xmap - 76:26 map:generate context:/jndi:/localhost/aspects/aspects.xmap - 85:34 map:serialize type=xml context:/jndi:/localhost/aspects/aspects.xmap - 84:43 map:transform type=PageNotFound context:/jndi:/localhost/aspects/aspects.xmap - 83:22 map:generate context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 164:34 map:serialize type=xhtml context:/jndi:/localhost/themes/Mirage/sitemap.xmap - 158:33 map:transform type=i18n
[Dspace-tech] help with hiding Discovery facets on the main page of the repository
Hi, we're working on bringing up Discovery on our repository. On our development instance, our librarians are concerned about displaying facets on the main home page of the repository. They'd like to hide them, and reserve them for display on collection and community home pages, as well as on the search results pages. From reading the documentation: https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Configuringl istsofsidebarFacetsandsearchFilters It looks like you can define settings for facets based on community or collection, and there's a setting for site as well. I'm a bit worried if I change this site setting whether I'll override more than I intend. I'll be giving that a whirl, so my concern may be unfounded, but, if anyone has already done something similar, and wouldn't mind letting me know whether I'm on the right track, I'll pledge to update the documentation with a specific example, since it seems (to me) that hiding facets on the home page would be a common concern. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Time and accident are committing daily havoc on the originals of the valuable historical and State papers deposited in our public offices. The late war has done the work of centuries in this business. The last cannot be recovered but let us save what remains not by vaults and locks which fence them from the public eye and use in consigning them beyond the reach of accident --Thomas Jefferson -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_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] Using SWORD services in DSpace
Hi, Terry, the SWORDapp site is where you want to go for more information on using SWORD clients: http://swordapp.org/category/clients/ One particularly easy path towards getting a working client set up is the aptly-named EasyDeposit SWORD client creation toolkit: http://easydeposit.swordapp.org/ HTH --Hardy -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ We must try to contribute joy to the world. That is true no matter what our problems, our health, our circumstances. We must try. --Roger Ebert On 4/22/13 12:11 PM, Terry Brady tw...@georgetown.edu wrote: I am in the process of upgrading my DSpace installation to 3.1. I am curious to try out the sword services to see if they are properly configured and to determine how to make use of these services. I have found documentation on how to configure these services, but I have not found documentation on how to use these services. Could you recommend a tutorial that would explain how to use these services within a DSpace instance? Thanks, Terry -- Terry Brady Applications Programmer Analyst Lauinger Information Technology 202-687-7053 -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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] handles
Hi, Matt, while the schema diagram found in the documentation implies that there's a field in each table for handle[1], the handle table actually holds all the data you seek. The column RESOURCE_TYPE_ID indicates what sort of thing the handle points to (2=item, 3=collection, 4=community [2]) and RESOURCE_ID is the ID of the object in question. So, SELECT HANDLE,RESOURCE_ID FROM HANDLE WHERE RESOURCE_TYPE_ID=4 would get you the matrix of handle to community IDs, similarly, SELECT HANDLE,RESOURCE_ID FROM HANDLE WHERE RESOURCE_TYPE_ID=3 would get you the matrix of handle to collection Ids, and so on. [1] https://wiki.duraspace.org/display/DSDOC3x/Functional+Overview [2] https://wiki.duraspace.org/display/DSDOC3x/Business+Logic+Layer#BusinessLog icLayer-Constants -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 3/12/13 11:45 AM, Drover, Matt mattdro...@mun.ca wrote: How do I get the handle for communities and collections, providing I have the community_id or collection_id ? I'm not seeing a table or field that links the two in the database. Thanks. Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching Support Memorial University of Newfoundland This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.ph p -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ 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] Welcome to the latest DSpace committer: Bram Luyten
Dear DSpace Community, The DSpace committers team are delighted to announce a new member to the group: Bram Luyten [1] from @mire. Please join us in welcoming him! Bram is a Co-Founder of @mire, and is very active in the DSpace community. He is a regular on the DCAT Skype calls, and is always eager to lend a hand on the DSpace-tech mail list. He has been a big help managing the DSpace documentation in the lead-up to the DSpace 3.0 release, and we know that he will continue to help in those many ways as DSpace moves forward. His other contributions include pulling together several DSpace user group meetings and creation of videos like Faces of DSpace. [2] We are always on the lookout for new developers, contributors, and committers within the DSpace community. Anyone who would like to get more involved is encouraged to do so. You are also welcome to contact us at any time if you'd like some ideas of how to start contributing. [3] Contributions can take many forms, from writing code to editing documentation, or testing new releases to designing new themes for our user interfaces. If you or someone you know has been an active DSpace contributor for some time, you can also nominate that person to become our next committer! [4] Thanks, The DSpace Committers Group [1] http://www.linkedin.com/in/bluyten [2] http://www.youtube.com/watch?v=SvLlyXrF6kY [3] https://wiki.duraspace.org/display/DSPACE/DSpaceContributors [4] https://wiki.duraspace.org/display/DSPACE/Committer+Nominations -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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] Uploading Bibliographic information from RefWorks
Hi, Thomas, we chatted briefly about this on IRC, I am mostly replying so this response gets into the mail list archive, in case anyone else runs into trouble. I have not yet tried to use the bibliographic import feature of 3.0 yet (it's on our list of things to try soon, though). There is a rather nice wiki page on the new feature here: https://wiki.duraspace.org/pages/viewpage.action?pageId=32481931 As an alternative, you may also want to contact the contributor of the feature (see https://jira.duraspace.org/BROWSE/DS-1226 for details). -- University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. On 1/29/13 10:55 AM, Thomas Misilo misi...@fit.edu wrote: Hi, I was wondering if anyone has used the new bibliographic upload for DSpace 3.0 yet with a refworks bibtex file? Below is what I have tried, and the ouput I got. If you want the refworks bibtex file, I can dspace import -b -m refworks-map.map -e misi...@fit.edu -c 123456789/6856 -s refworkstest.txt -i bibtex INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=cf20d3c4-227c-4adb-82da-1def97a034c7,type=DSp aceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/srv/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /srv/dspace/config/log4j.properties Destination collections: Owning Collection: Bibupload Holding INFO: Dataloader gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader@6d1a0d35 will be used for the import! Started: 1359477659086 Ended: 1359477660013 Elapsed time: 0 secs (927 msecs) Exception: Lexical error at line 1, column 79. Encountered: \u03b7 (951), after : org.jbibtex.TokenMgrError: Lexical error at line 1, column 79. Encountered: \u03b7 (951), after : at org.jbibtex.LaTeXParserTokenManager.getNextToken(LaTeXParserTokenManager.j ava:303) at org.jbibtex.LaTeXParser.jj_scan_token(LaTeXParser.java:408) at org.jbibtex.LaTeXParser.jj_3R_6(LaTeXParser.java:270) at org.jbibtex.LaTeXParser.jj_3_3(LaTeXParser.java:253) at org.jbibtex.LaTeXParser.jj_2_3(LaTeXParser.java:242) at org.jbibtex.LaTeXParser.String(LaTeXParser.java:190) at org.jbibtex.LaTeXParser.Object(LaTeXParser.java:66) at org.jbibtex.LaTeXParser.ObjectList(LaTeXParser.java:46) at org.jbibtex.LaTeXParser.LaTeX(LaTeXParser.java:21) at org.jbibtex.LaTeXParser.parse(LaTeXParser.java:16) at gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader.parseLaTeX (BibTexDataLoader.java:169) at gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader.loadData(B ibTexDataLoader.java:132) at gr.ekt.transformationengine.core.TransformationEngine.transform(Transforma tionEngine.java:111) at org.dspace.app.itemimport.ItemImport.addBTEItems(ItemImport.java:649) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) I was able to load the data via an EndNote export from RefWorks, however all it did was create the ~400 records, with all Unknown data. Thanks for any help, Tom -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Oracle-using DSpace installations: I'm seeking help debugging DS-1435
Forwarding to DSpace-tech mail list, at the suggestion of Helix84 (thanks!). On 1/16/13 4:10 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I'm working on trying to find a solution for DS-1435 (https://jira.duraspace.org/browse/DS-1435) which is the bug preventing DSpace 3.0 from running with an Oracle database. I have added comments to the ticket to track my work. If anyone out there is also working on this bug, I urge you to share information in a comment on this ticket. Even something as simple as a confirmation that you, too, also cannot get DSpace 3.0 to work with an Oracle database, would be helpful. Also, if you're in a position to chip in a few cycles to try to work on this bug, Oracle makes a vbox image available here: http://www.oracle.com/technetwork/community/developer-vm/index.html And this image in particular could be very helpful, as it contains everything you'd need to get a dev instance of DSpace running, including a copy of Netbeans: http://www.oracle.com/technetwork/middleware/weblogic/downloads/weblogic-d e veloper-vm-303434.html -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ 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 release 3.0 with Oracle???
Hi, I've opened a Jira issue for this: https://jira.duraspace.org/browse/DS-1435 And have referenced the two DSpace-tech threads (this one to which I am replying, as well as the one mentioned immediately below). If there are any active DSpace developers who use Oracle, or have access to an Oracle DB for testing purposes, would you please consider pitching in with this effort? We'll need the help of the Oracle + DSpace community to figure this one out. The date for DSpace 3.1 has not yet been set... I for one would really like to see a patch for DS-1435 make it into that release. Let's make it happen! If you *can* test DSpace 3.0 with Oracle, please post your findings (error messages and stack traces) to DS-1435. Thanks! If you already have such details, please post them soon. I've recently sorted out an issue with rebuilding the browse index on our 1.7.2-based staging instance of DSpace, and found the following wiki page invaluable: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-Setting loggingleveluptoDEBUG In particular, adding this line to DSpace/config/log4j.properties was very helpful: log4j.logger.org.dspace.storage.rdbms.DatabaseManager=DEBUG, A1 Being able to see the actual SQL queries that were causing the error made the solution obvious. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ And remember, also added the Princesss of Sweet Rhyme, that many places you would like to see are just off the Map and many things you want to know are just out of sight or a little beyond your reach. But someday you'll reach them after all, for what you learn today, for no reason at all, will help you discover all the wonderful secrets of tomorrow. --Norton Juster, The Phantom Tollbooth On 12/18/12 9:22 AM, qamar syed kamars...@gmail.com wrote: Well my post is already discussed on this forum with subject : Ant fresh install Fatal error. Mr. Helix already replied that he can't provide support on this issue. Your support would be appreciated if you can help me in this regard. Sent via GNex On Dec 18, 2012 8:12 PM, Lighton Phiri lighton.ph...@gmail.com wrote: It would help if you specified the version of Oracle you are using and the errors you get when installation fails. Lighton Phiri http://lightonphiri.org On 18/12/2012 17:09, qamar syed wrote: If anyone successfully configured release 3.0 with Oracle, please share your experience. Because I have tried so many times but unfortunately still failed. Regards Abbas http://qamarsyed.blogspot.com/ Sent via GNex -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listi nfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ 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 release 3.0 with Oracle???
Hi, just a small update, if you're at all interested in helping out with testing this issue, but don't have access to an Oracle DB, but you do have VirtualBox installed, here are some Vbox images with Oracle 11g on them: http://www.oracle.com/technetwork/community/developer-vm/index.html One of them comes complete with Maven 3 and Netbeans. Almost an entire DSpace development stack on a stick. :-) -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Do not bubble. Do not spin your wheels. Use words I know. --Kurt Vonnegut, final instructions to writing students On 12/19/12 1:48 PM, Pottinger, Hardy J. pottinge...@missouri.edu wrote: Hi, I've opened a Jira issue for this: https://jira.duraspace.org/browse/DS-1435 And have referenced the two DSpace-tech threads (this one to which I am replying, as well as the one mentioned immediately below). If there are any active DSpace developers who use Oracle, or have access to an Oracle DB for testing purposes, would you please consider pitching in with this effort? We'll need the help of the Oracle + DSpace community to figure this one out. The date for DSpace 3.1 has not yet been set... I for one would really like to see a patch for DS-1435 make it into that release. Let's make it happen! If you *can* test DSpace 3.0 with Oracle, please post your findings (error messages and stack traces) to DS-1435. Thanks! If you already have such details, please post them soon. I've recently sorted out an issue with rebuilding the browse index on our 1.7.2-based staging instance of DSpace, and found the following wiki page invaluable: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-Settin g loggingleveluptoDEBUG In particular, adding this line to DSpace/config/log4j.properties was very helpful: log4j.logger.org.dspace.storage.rdbms.DatabaseManager=DEBUG, A1 Being able to see the actual SQL queries that were causing the error made the solution obvious. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ And remember, also added the Princesss of Sweet Rhyme, that many places you would like to see are just off the Map and many things you want to know are just out of sight or a little beyond your reach. But someday you'll reach them after all, for what you learn today, for no reason at all, will help you discover all the wonderful secrets of tomorrow. --Norton Juster, The Phantom Tollbooth On 12/18/12 9:22 AM, qamar syed kamars...@gmail.com wrote: Well my post is already discussed on this forum with subject : Ant fresh install Fatal error. Mr. Helix already replied that he can't provide support on this issue. Your support would be appreciated if you can help me in this regard. Sent via GNex On Dec 18, 2012 8:12 PM, Lighton Phiri lighton.ph...@gmail.com wrote: It would help if you specified the version of Oracle you are using and the errors you get when installation fails. Lighton Phiri http://lightonphiri.org On 18/12/2012 17:09, qamar syed wrote: If anyone successfully configured release 3.0 with Oracle, please share your experience. Because I have tried so many times but unfortunately still failed. Regards Abbas http://qamarsyed.blogspot.com/ Sent via GNex - - LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/list i nfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ 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 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue
[Dspace-tech] DSpace 3.0 is now available!
Dear DSpace Community, On behalf of the DSpace developers, I would like to formally announce that DSpace 3.0 is now available! DSpace 3.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-3.0 tag) In addition, you are welcome to try out DSpace 3.0 on http://demo.dspace.org/ and continue to provide any early feedback you may have. DSpace 3.0 follows 1.8 in being a time-based release. The developers have managed to include some significant new features and numerous bug fixes. == New Features and Improvements in 3.0 == DSpace 3.0 is a huge release! Here is a list of some of the many contributions... * Completely rewritten OAI-PMH interface (now compatible with Driver and Open-AIRE) * Improvements to Solr-based Statistics (including Workflow Search Query Statistics) * Batch import for bibliographic formats (e.g. EndNote, BibTeX, RIS, TSV, CSV) * Controlled Vocabulary support for XMLUI * Google Analytics support for JSPUI * More secure password storage * Enhancements to Discovery Search Browse (including hit highlighting, search snippets, related items, and JSPUI support) * Item Level Versioning for XMLUI * Advanced Embargo options for XMLUI (time based restrictions on bitstreams and metadata) * Mobile Theme for XMLUI (beta) * Type-based submissions (show or hide submission fields based on type of content) * ElasticSearch-based Usage Statistics (alternative to Solr Statistics) * Improvements to LDAP authentication For much more information on each of these features, please visit our 3.0 Release Notes: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.0+Notes == 3.0 Documentation == The DSpace 3.0 documentation is available online at: https://wiki.duraspace.org/display/DSDOC3x/ A PDF copy of the Documentation are still distributed with the software. In addition, they can also be downloaded from: http://www.dspace.org/latest-release/ == 3.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 3.0 went off without a hitch. A detailed listing of all known people/institutions who contributed directly to DSpace 3.0 is available in the Preface of the DSpace Documentation: https://wiki.duraspace.org/display/DSDOC3x/Preface (If you contributed and were accidentally not listed, please let us know so that we can correct it!) For DSpace 3.0, we had a total of 41 individuals contribute code, bug reports, and bug fixes. Of those 41 individuals, a surprising 23 of them were brand new contributors! A big thanks goes out to everyone who participated for the first time. 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.0 Release Notes at: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.0+Notes As always, we are happy to hear back from the community about DSpace -- please let us know what you think of 3.0! --Hardy Pottinger (3.0 Release Team member) on behalf of the DSpace 3.0 Release Team, and all the DSpace developers. -- Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. 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] Interested in a simplified build?
Hey, Steve, this sounds a bit like DS-921 (https://jira.duraspace.org/browse/DS-921). I agree with the notion that Maven is probably the tool we want to use for building and deploying, but I do find the idea of an instant dev environment, container and all, pretty appealing. --Hardy Sent from my iPad On Nov 22, 2012, at 7:20 PM, Steve Swinsburg steve.swinsb...@anu.edu.aumailto:steve.swinsb...@anu.edu.au wrote: Hi, Yes, consolidating build tech would be a good step forward. Right now we are using 1.8 so had to work with what we have. It may be possible to do everything with the Maven Antrun plugin, though you are still going to need Ant build scripts to run the more complex things like populating the database etc, though these could still all be bootstrapped via Maven. regards, Steve -- Steve Swinsburg Java Team Leader Information Technology Infrastructure Information Technology Services Building 3K The Australian National University Canberra ACT 0200 T: +61 2 6125 6608 F: +61 2 6125 0449 On 23/11/2012, at 11:01 AM, helix84 mailto:heli...@centrum.skheli...@centrum.skmailto:heli...@centrum.sk wrote: Hi Steve, I'm sure this is a convenient feature for you. I just wanted to note that the other developers were generally aiming to eliminate ant for deployment and complete the transition to Maven, so I guess it would make sense to try that instead (if it's possible). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquettehttps://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace-discovery missing from GIT clone of V3.0rc2
Hi, Kevin, RC1 has a number of issues, a few of them testing issues, we've been working on them. Since you're using Git, you may want to look at the master branch, as it has a number of bug fixes, and will form the basis of RC2, if/when we release one. --Hardy Sent from my iPad On Oct 21, 2012, at 10:44 PM, Kevin Gunn k.g...@aims.gov.aumailto:k.g...@aims.gov.au wrote: Hi, Upon further investigation I can see this class is now in dspace-api. Still not sure why the test failed out of the box. Does anyone else experience this test case failure on maven package of the dspace-api? Cheers Kevin From: Kevin Gunn Sent: Monday, 22 October 2012 1:17 PM To: 'dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net' Subject: dspace-discovery missing from GIT clone of V3.0rc2 Hi, I have just cloned DSpace tag 3.0rc1 to test and can’t get the build to happen. It’s failing on the dspace-api build on test cases. Specifically that the defaultConfiguration class used in the spring configuration is missing. I then noticed that I didn’t have a dspace-discovery module anymore, as compared to V1.8.2, and it doesn’t seem to be declared as a dependency anymore. java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in file [C:\_work\GitHub\DSpace\dspace-api\target\classes\spring\spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in file [C:\_work\GitHub\DSpace\dspace-api\target\classes\spring\spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224) I’m new to GIT and GITHUB so maybe I did something wrong on the clone/checkout from github?? Should I be seeing the dspace-discovery module in a tag 3.0rc2 checkout? Using Intellij and its GIT/GITHUB plug-in, but just browsing GITHUB doesn’t show dspace-discovery either. Cheers Kevin -- The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 and delete all copies of this transmission together with any attachments. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace 1.8.2 : registering error
Hi, François, it's possible the problem you have found may have something to do with this issue: https://jira.duraspace.org/browse/DS-1007 But, I think it's likely you've found a new issue specific to the LDAP AuthN code. I'd suggest opening a Jira ticket for this issue http://jira.dspace.org/ and include any patches/workarounds you find which help with the problem. This will help us track down, and possibly fix, the problem. Posting workarounds in a Jira ticket will help others who may encounter the issue. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 9/27/12 6:37 AM, François Lefebvre francois.lefeb...@univ-lille1.fr wrote: Hi, Thanks for your answer. I think I found a beginning of a solution : In RegisterServlet.java ( line 298 ), Dspace try to add new users in the LDAP. But He can't. So, to avoid this, I play with the conditions. I change the JSP new-ldap-user. In this file, you can write your mail only. So, if your netid is empty, you don't enter in this condition, so you add your new users in the dspace DB and not your LDAP. So registration works. The second point is : Each time I click on the link become a new user, I receive a error by mail : at org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java: 101) The source code is : // Registering a new user if (ldap_enabled) { JSPManager.showJSP(request, response, /register/new-ldap-user.jsp); } JSPManager.showJSP(request, response, /register/new-user.jsp); So : LDAP is enabled, so the new-ldap-user.jsp is called. But, new-user.jsp too ! I don't want to change the source code. Is there a way to make a new-user.jsp empty ? % return 0; % or something like that ? Thanks. Le 27/09/2012 12:03, Bram Luyten a écrit : Hi François, you might be suffering from a DSpace bug. Does it work when you configure following values in dspace.cfg ldap.provider_url ldap.id_field ldap.search_context I know that they *should* be in authentication-ldap.cfg, but the bug you might be facing still expects them to be in dspace.cfg. If this works, we should check whether this has already officially been filed as a bug in JIRA. best regards, Bram -- Bram Luyten@mire 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=e mailutm_campaign=braml On Thu, Sep 27, 2012 at 10:54 AM, François Lefebvre francois.lefeb...@univ-lille1.fr wrote: Hi, I'm still looking about this error. Any ideas ? In the mailing archives, I found a similar post but there is no solution. Someone wrote that he doesn't understand why there are 2 authentications. For me, we need both because we've got 2 kinds of population : from the university and the others. So the others must not appear in our LDAP. I put the logs in DEBUG mode, but I don't see something which help me. thanks. Le 26/09/2012 16:53, François Lefebvre a écrit : Hi, I'm a new dspace user. I've installed dspace 1.8.2 and I have an error when I try to register a user with the jspui interface. I'm using LDAP authentication et password, so in the authentication.cfg file I have : plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.PasswordAuthentication, \ org.dspace.authenticate.LDAPAuthentication So with LDAP user, all is OK. When I try to subscribe ( the /register page ), I send the form an dspace displays An internal server error. This is what I'm getting by mail : The first one : An internal server error occurred onhttp://iris.univ-lille1.fr/jspui http://iris.univ-lille1.fr/jspui: Date: 26/09/12 16:43 Session ID: 76B9E5504639E1D3FB64A8FBCC6512DA User: Anonymous IP address: x -- URL Was:http://iris.univ-lille1.fr/jspui//register -- Method: GET -- Parameters were: Exception: java.lang.IllegalStateException: Impossible d'utiliser faire-suivre (forward) après que la réponse ait été envoyée at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat cher.java:312) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch er.java:302) at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60) at org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java: 101) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.ja va:119) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
Re: [Dspace-tech] Adding RSS feed to DSpace Search Results
Hi, I have never tinkered with OpenSearch until today, and I am trying to set it up on our staging server, but I think I am missing something key. It appears that myrepositoryurl/opensearch should point to an existing UI, so, I am thinking I need to specify another reverse proxy in Apache... Or am I missing something? -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ A child who does not play is not a child, but the man who doesn't play has lost forever the child who lived in him and who he will miss terribly. --Pablo Neruda On 9/10/12 12:08 PM, Richard Rodgers rrodg...@mit.edu wrote: Hi Rodrigo: I'd start here: http://www.dspace.org/1_6_2Documentation/ch13.html#N182C9 http://www.dspace.org/1_6_2Documentation/ch05.html#N140AC and then post any further questions to the tech-list. Hope this helps, Richard On Sep 10, 2012, at 1:02 PM, Calloni, Rodrigo wrote: Thanks Richard I wonder, how can I activate OpenSearch in my current 1.6.2? Is there any documentation available? Rodrigo Rodrigo Calloni System Librarian Felipe Herrera Library Knowledge and Learning Sector Tel: 202-623-2952 Fax: 202-623-3183 image001.gif 1300 New York Avenue, N.W. Washington, D.C. 20577 USA www.iadb.org http://www.iadb.org/ Knowledge for Development Challenges P Please consider the environment before printing this email From: Richard Rodgers [mailto:rrodg...@mit.edu] Sent: Monday, September 10, 2012 12:59 PM To: Calloni, Rodrigo Cc: Andrea Bollini; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding RSS feed to DSpace Search Results Hi Rodrigo: No - OpenSearch has been in DSpace since 1.6 for all UIs (JSP and XMLUI). There is a discovery related issue in XMLUI 1.7+, but: (1)If you don't run discovery (only available in XMLUI), there should be no problem on any version 1.6 or later, (2) There is a fix posted for 1.8+ (https://jira.duraspace.org/browse/DS-1244), so if you want to upgrade to 1.8 *and* use discovery, applying the patch should address the issue. So you don't need to wait for 3.0 to enable OpenSearch, although it will of course also work. Thanks, Richard R On Sep 10, 2012, at 12:44 PM, Calloni, Rodrigo wrote: Thanks Andrea So I assume that OpenSearch is only available after 1.7 and for JSPUI. Is that correct? We are planning to upgrade to the most recent DSpace version soon so we can see this as a possibility. When is 3.0 release date? Best regards Rodrigo Rodrigo Calloni System Librarian Felipe Herrera Library Knowledge and Learning Sector Tel: 202-623-2952 Fax: 202-623-3183 1300 New York Avenue, N.W. Washington, D.C. 20577 USA www.iadb.org http://www.iadb.org Knowledge for Development Challenges P Please consider the environment before printing this email -Original Message- From: Andrea Bollini [mailto:boll...@cilea.it] Sent: Monday, September 10, 2012 11:29 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Adding RSS feed to DSpace Search Results The same result can be obtained using OpenSearch, see an example here: http://eprints.rclis.org/simple-search?query=submit=Go In jspui it works well with both legacy lucene search engine ( dspace 3.0) and the new discovery search engine (from the next release, dspace 3.0). In XMLUI as far as I know there was an issue (that should be solved in the next 3.0) so open search doesn't work with discovery. Andrea Il 10/09/2012 16:27, helix84 ha scritto: On Mon, Sep 10, 2012 at 4:14 PM, Calloni, Rodrigo rcall...@iadb.org wrote: Is there some local development that you could share with us to achieve this functionality? Hi Rodrigo, I can confirm that DSpace currently doesn't know how to do that. It can do subscriptions only for collections. I don't know of anyone who has done this. In case you decide to do this kind of development, I recommend against doing it on the SearchArtifacts, which is default in 1.6. Instead, develop it for Discovery (present since 1.7, improved in 1.8 and 3.0), which will be the default XMLUI aspect in 3.0. It should also be easier to do in Discovery, not to mention performance. Remember, that SearchArtifacts will probably be obsoleted in future DSpace versions. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding RSS feed to DSpace Search Results
Oh, sure, sorry, the basics: DSpace 1.7.1 (manually patched to be compatible with 1.7.2), Discovery is not yet turned on. We *are* using Oracle on the back end. So, I'm thinking since we use /xmlui in our URL (we don't use the ROOT webapp) that we need to craft our OpenSearch URLs a bit differently than is documented. I'll keep poking around and see what I can find. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Don't undertake a project unless it is manifestly important and nearly impossible. --Edwin Land On 9/10/12 5:21 PM, helix84 heli...@centrum.sk wrote: On Mon, Sep 10, 2012 at 11:57 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I have never tinkered with OpenSearch until today, and I am trying to set it up on our staging server, but I think I am missing something key. It appears that myrepositoryurl/opensearch should point to an existing UI, so, I am thinking I need to specify another reverse proxy in Apache... Or am I missing something? Hi Hardy, can you first check what DSpace version you're trying this on, maybe you're running into this bug (present in 1.7 and 1.8, fixed in master): https://jira.duraspace.org/browse/DS-1244 Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding RSS feed to DSpace Search Results
Aha, thanks for the link to that ticket, it inspired me to look at the xmlui sitemap, and sure enough, I was using the wrong URL: map:match pattern=open-search/** Ourstagingsitedomain.edu/xmlui/open-search is all the magic that is required. That 'dash' in there is kinda important. :o) -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ We shall not cease from exploration, and at the end of all our exploring will be to arrive where we started and know the place for the first time. --T.S. Eliot On 9/10/12 5:21 PM, helix84 heli...@centrum.sk wrote: On Mon, Sep 10, 2012 at 11:57 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I have never tinkered with OpenSearch until today, and I am trying to set it up on our staging server, but I think I am missing something key. It appears that myrepositoryurl/opensearch should point to an existing UI, so, I am thinking I need to specify another reverse proxy in Apache... Or am I missing something? Hi Hardy, can you first check what DSpace version you're trying this on, maybe you're running into this bug (present in 1.7 and 1.8, fixed in master): https://jira.duraspace.org/browse/DS-1244 Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding to DSpace remotely
Hi, I don't think Richard Jones will mind if I share this URL around, I bugged him about SWORDiT shortly after OR12, and he passed me this GitHub URL: https://github.com/richard-jones/swordit Haven't done much playing with it yet, but, boy, does it look handy. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Do you love it? Do you hate it? There it is, the way you made it. --Frank Zappa On 9/4/12 2:34 PM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: +1 on SWORD Also Google for the Dev Challenge at OR2012, the Cottage Labs people presented an idea called SWORDiT a simple widget to allow submission via SWORD into Dspace. Also check out https://github.com/kshepherd for EasyDeposit and RightClickDeposit, both nice ways of making SWORD submissions to Dspace simple. Regards, Ben -- Dr Ben Ryan Jorum Technical Coordinator (Services) 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: benjamin.r...@manchester.ac.uk -- -Original Message- From: Darren Arsenault [mailto:arse...@algonquincollege.com] Sent: 04 September 2012 18:32 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] adding to DSpace remotely Hi all, I'm just looking for a little advice here. I am using DSpace 1.8.0, JSPUI (though I don't think it matters for my question). I want to add items to DSpace from a different server. This server/dataset is not OAI-PMH compliant, and even if it was, I do not want to harvest the data because I do not want everything on that server brought into DSpace. I want people who are uploading to that server to be able to check a box (or push a button, etc., the type of event is of no concern) and have their content automatically uploaded to DSpace. My first thought is that I can simply add the data to the DSpace database with remote ADO or other such code. Has anyone else tried something like this in the past? Does anyone see any flaws in my idea that might make it impossible/difficult? Thanks in advance for any advice/assistance. Darren Arsenault -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Ingesting large data set
Hi, Bill, the theoretical limit for posting data via HTTP is 1.8 GB [1]. Your only recourse for storing this particular data set in DSpace, is to transfer to the server via FTP, SFTP, or SCP, and then either batch load, or run the item update script [2]. However, my main question is: once it is *in* DSpace, how do you plan on getting it *out*? I'd love to hear more from folks who are storing large data sets, just to hear how you're handling usability of the stored data. [warning, I'm about to jump of the deep end here...] One possibility worth exploring is streaming uploads and downloads. I've come across streaming upload clients before, and in a brief bit of googling, I discovered that Apache Commons supports streaming upload. [3] What would be cool is if someone had a streaming dataset viewer, where you could plug some kind of visualization into a 'thumbnail' snapshot of a data set, and then have the full data set stream in to fill out that visualization/analysis. I can't be the first person to have thought of such a thing, somebody has to be working on this already, right? [1] http://stackoverflow.com/questions/1922414/file-upload-limit-in-http [2] https://wiki.duraspace.org/display/DSDOC18/Updating+Items+via+Simple+Archiv e+Format [3] http://commons.apache.org/fileupload/streaming.html -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. On 8/30/12 10:53 AM, Ingram, William A wingr...@illinois.edu wrote: I apologize if a similar questuon has been answered in a prior thread. We have a student needing to submit a 150 GB data set into DSpace. Is this even possible? Are there any tips or workarounds I should try? Cheers, Bill -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Ingesting large data set
This may be just me hijacking the thread, so, apologies up front, but I followed a link [1] on the Code4Lib mail list just now, and came across Miso Dataset [2] Which looks very cool, indeed. [1] http://selection.datavisualization.ch/ [2] http://misoproject.com/dataset/ -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Do you love it? Do you hate it? There it is, the way you made it. --Frank Zappa On 8/30/12 11:16 AM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, Bill, the theoretical limit for posting data via HTTP is 1.8 GB [1]. Your only recourse for storing this particular data set in DSpace, is to transfer to the server via FTP, SFTP, or SCP, and then either batch load, or run the item update script [2]. However, my main question is: once it is *in* DSpace, how do you plan on getting it *out*? I'd love to hear more from folks who are storing large data sets, just to hear how you're handling usability of the stored data. [warning, I'm about to jump of the deep end here...] One possibility worth exploring is streaming uploads and downloads. I've come across streaming upload clients before, and in a brief bit of googling, I discovered that Apache Commons supports streaming upload. [3] What would be cool is if someone had a streaming dataset viewer, where you could plug some kind of visualization into a 'thumbnail' snapshot of a data set, and then have the full data set stream in to fill out that visualization/analysis. I can't be the first person to have thought of such a thing, somebody has to be working on this already, right? [1] http://stackoverflow.com/questions/1922414/file-upload-limit-in-http [2] https://wiki.duraspace.org/display/DSDOC18/Updating+Items+via+Simple+Archi v e+Format [3] http://commons.apache.org/fileupload/streaming.html -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. On 8/30/12 10:53 AM, Ingram, William A wingr...@illinois.edu wrote: I apologize if a similar questuon has been answered in a prior thread. We have a student needing to submit a 150 GB data set into DSpace. Is this even possible? Are there any tips or workarounds I should try? Cheers, Bill -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Log into DSpace with curl
Hi, Simon, I know that I would be interested in hearing more about what it is you're up to. :-) What's your use case for the item ID once you scrape it? Is this something that the REST-API module might be able to do for you? -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ And remember, also added the Princesss of Sweet Rhyme, that many places you would like to see are just off the Map and many things you want to know are just out of sight or a little beyond your reach. But someday you'll reach them after all, for what you learn today, for no reason at all, will help you discover all the wonderful secrets of tomorrow. --Norton Juster, The Phantom Tollbooth On 8/2/12 3:37 AM, Bram Luyten b...@mire.be wrote: Hi Simon, this is new to me as well, I got it to work using: curl --data login_email=myname%40gmail.com http://40gmail.comlogin_password=passwordsubmit=Sign+in http://www.mydspace.com/password-login I had some issues first using the --data-urlencode parameter instead of --data. This also encoded the ampersands which shouldn't have happened to make it work. If you debug your query, following bit in the return html is interesting: input id=aspect_eperson_PasswordLogin_field_login_email class=ds-text-field error name=login_email type=text value=contents of your query title=The email address and/or password supplied were not valid. / span class=error* The email address and/or password supplied were not valid./span because I saw that all my parameters ended up in that field, I realized there was something wrong with the ampersand encoding. On a sidenote, if you play around with forms, encoding and parameters, Tamper Data is a nice little firefox add-on that allows you to see and tamper with the requests you make responses you get. https://addons.mozilla.org/en-us/firefox/addon/tamper-data/ cheers, Bram -- Bram Luyten@mire 2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=e mailutm_campaign=braml On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital Consulting Services scbr...@nps.edu wrote: We are using DSpace 1.8.2 with the JSPUI admin interface. I would like to log into DSpace using curl (or more precisely RCurl) because I want to be able to scrape item IDs (not the handles, but the actual IDs). My code looks something like this: postForm(³dspace/Š./password-login², login_email=²user², login_password=²password²) It basically always returns ³The e-mail address and password you supplied were not valid² Is it not possible to log in using curl? If it is possible I¹ll figure it out eventually, but if it¹s not I would rather not spend the time on it. Simon Brown Digital Consulting Services Supporting the Dudley Knox Library, Naval postgraduate School scbr...@nps.edu 831.656.3574 Phone 831.656.3238 Fax -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Log into DSpace with curl
Aha, you may be interested in the SkylighUI project: https://github.com/skylightui/skylight It's a CodeIgnitor (a simple PHP framework) interface which relies upon the DSpace Discovery Solr index. You could just query Solr directly, but I think you might like to borrow some of the heavy lifting in SkylightUI. Kim Shepherd would be able to provide you with more info on the project. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I am always doing that which I cannot do, in order that I may learn how to do it. --Pablo Picasso On 8/2/12 10:25 AM, Brown, Simon Contractor, Digital Consulting Services scbr...@nps.edu wrote: My use for this is making a tool for generating/extracting metadata reports (e.g. a bibliography based on a advanced search query) into a useable data format (.csv) for the staff at my library. DSpace lacks functions that allow saving lists and exporting citations so this is kind of a work around. Also, you can extract metadata by collection for batch editing and mapping, but not by query. What if you want to map an author's publications to a new collection for that author but the author's publications are spread across many different collections? I should be able to generate the metadata spreadsheet for batch editing not just based on collection, but based on any query that I can think of doing based on the metadata and full text. I already have a good start to doing this with screen scraping, but I'm just lacking the item IDs -- hence the login with RCurl. This tool is for library staff (and anyone else who is willing), not for the administrator of the website who can do SQL queries if they wanted. People who need to access the data, not just the documents. This is what I have so far (also contains some scripts for making SIPs from a spreadsheet): https://wiki.nps.edu/display/CIR/CalhounTools+--+An+R+Package+for+Common+R epository+Tasks -Original Message- From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] Sent: Thursday, August 02, 2012 7:27 AM To: Bram Luyten; Brown, Simon Contractor, Digital Consulting Services Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Log into DSpace with curl Hi, Simon, I know that I would be interested in hearing more about what it is you're up to. :-) What's your use case for the item ID once you scrape it? Is this something that the REST-API module might be able to do for you? -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ And remember, also added the Princesss of Sweet Rhyme, that many places you would like to see are just off the Map and many things you want to know are just out of sight or a little beyond your reach. But someday you'll reach them after all, for what you learn today, for no reason at all, will help you discover all the wonderful secrets of tomorrow. --Norton Juster, The Phantom Tollbooth On 8/2/12 3:37 AM, Bram Luyten b...@mire.be wrote: Hi Simon, this is new to me as well, I got it to work using: curl --data login_email=myname%40gmail.com http://40gmail.comlogin_password=passwordsubmit=Sign+in http://www.mydspace.com/password-login I had some issues first using the --data-urlencode parameter instead of --data. This also encoded the ampersands which shouldn't have happened to make it work. If you debug your query, following bit in the return html is interesting: input id=aspect_eperson_PasswordLogin_field_login_email class=ds-text-field error name=login_email type=text value=contents of your query title=The email address and/or password supplied were not valid. / span class=error* The email address and/or password supplied were not valid./span because I saw that all my parameters ended up in that field, I realized there was something wrong with the ampersand encoding. On a sidenote, if you play around with forms, encoding and parameters, Tamper Data is a nice little firefox add-on that allows you to see and tamper with the requests you make responses you get. https://addons.mozilla.org/en-us/firefox/addon/tamper-data/ cheers, Bram -- Bram Luyten@mire 2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_mediu m=e mailutm_campaign=braml On Wed, Aug 1, 2012 at 6:04 PM, Brown, Simon Contractor, Digital Consulting Services scbr...@nps.edu wrote: We are using DSpace 1.8.2 with the JSPUI admin interface. I would like to log into DSpace using curl (or more precisely RCurl) because I want to be able to scrape item IDs (not the handles, but the actual IDs). My code looks something like this: postForm(³dspace/Š./password-login², login_email=²user², login_password=²password²) It basically always returns ³The e-mail
Re: [Dspace-tech] DSpace and BagIt
Hi, Alain, the University of Oslo, working with Cottage Labs, has developed a Bagit Package ingester, for SWORD2. The code is available here: https://github.com/nye-duo/Duo-DSpace/tree/master/src/main/java/no/uio/duo There was a presentation on this development at Open Repositories, in Edinburgh, last week. It was the last presentation in the DSpace Users Group Session 1: https://www.conftool.net/or2012/index.php?page=browseSessionsform_session= 33 The title of the paper is SWORDv2 solution for Norwegian master's thesis submission portal by Kristian Roberto Salcedo and Richard Jones. Unfortunately, it doesn't look like the Users Group sessions have videos in the OR2012 Youtube channel. But the slides from the presentation should be available shortly. Or you can just grab the code from Github and play. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Genius? Nothing! Sticking to it is the genius! I've failed my way to success! --Thomas Edison On 7/19/12 7:31 AM, Alain Tschanz atsch...@njstatelib.org wrote: Hello, Can DSpace import/ingest ³bags² (BagIt AIP formatted items)? If not, is support for BagIt in development? I know that the DSpace Replication Task Suite supports the BagIt AIP format. Does Fedora Commons support the BagIt AIP format? Thank you for your response. Alain Tschanz -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Oracle 11g and DSpace 1.8.1 problems
Hi, I am pretty sure that 11g is the version of Oracle we're running, but I have a note in to our DBAs to confirm that. I did a quick scan of the dspace_tech mail list archive, however, as your message sounded familiar, and I found this thread: http://dspace.2283337.n4.nabble.com/Error-with-workflow-in-DSpace-1-8-2-td4 505171.html#a4529981 Is it possible you've enabled configurable reviewer workflow? Other things to check: there's a handy ant target in the DSpace. Build.xml file, called test_database and you can use it to sanity-check your credentials. I don't think ORA-00942 will be thrown due to incorrect credentials, but, it's worth checking. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Don't undertake a project unless it is manifestly important and nearly impossible. --Edwin Land On 7/9/12 1:23 PM, Kelly Brown kelly.br...@rmc.ca wrote: I am attempting to setup DSpace 1.8.1 with Oracle 11g. During the ant fresh_install it creates the tables but after that during the ant command I get the ORA-00942 table or view does not exist. I am able to connect to the database and see that the tables were created and they do exist. I have run the oracle command found in the DSpace docs, I have change to pom file to reflect the oracle database and have installed the ojdbc6.dll to maven. I am at a loss as to why it creates the tables but then tells me they don¹t exist. If there is anyone who is using oracle with DSpace could you please let me know what version you are using. Any ideas or help regarding this would be wonderful. Thanks, Kelly Brown Database Analyst Massey Library | Bibliothèque Massey College Information Services | Collège des services d'information Royal Military College of Canada | Collège militaire royal du Canada National Defence | Défence nationale PO BOX 17000 Station Forces Kingston, Ontario K7K 7B4 Telephone / Téléphone: (613) 541-6000 x 6979 E-Mail / Couriel: kelly.br...@rmc.ca -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] RV: DSPACE with ORACLE
Hi, I've gone both ways on this, modifying the dependency in the pom to match the latest version of the Oracle driver, and also renaming the oracle driver in my own Maven repository (I.e. I load the current driver and give it the same numbers as what the DSpace pom is looking for). Either way works. But, yes, it is an area where the documentation could be more clear. I'd also urge you to make use of Maven build profiles (either in profile.xml if you're using Maven 2.2, or in your personal Maven-settings file (%USER_HOME%/.m2/settings.xml) if you're using Maven 3 or higher. Build profiles let you keep stuff like db hosts, user names and passwords out of your version control system. Which is a good security measure, and it also lets you use the same version-controled code in multiple places, just changing out the DB credentials, to facilitate things like developer instances, a staging instance, a production instance, etc. More info here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Do you love it? Do you hate it? There it is, the way you made it. --Frank Zappa On 6/13/12 11:14 AM, helix84 heli...@centrum.sk wrote: On Wed, Jun 13, 2012 at 5:51 PM, Walter Blandón cblan...@eafit.edu.co wrote: I could install DSPACE with Oracle. I'm glad to hear that! db.url = jdbc:oracle:thin:@database.host:1521/sid For own case, isn't SID dspace. Pardon, I didn't understand. What did you mean? Previously, I installed Oracle JDBC driver (ojdbc6.jar) and modified POM file in [dspace-source]/pom.xml with current drive version: project ... dependencies !-- ORACLE database driver -- dependency groupIdcom.oracle/groupId artifactIdojdbc6/artifactId version11.2.0.3/version /dependency /dependencies /project The last step is not in Dspace documentation https://wiki.duraspace.org/display/DSDOC18/Installation I'll add it to the documentation. Another point is that own database server is not in the same DSPACE server, so you also must install the Oracle client to the DSpace server and to modify tnsnames.ora and listener.ora files. Yes, it is so. I guess it won't hurt to document it, too. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace java upload limit
Hi, Jimmy, if you need to get a file 2GB into your repository, one approach is to transfer the file via SCP/FTP to a temporary space on your server, and then use the DSpace itemupdate command line script. You'll need to create a placeholder item first, if you don't have a file handy, you can just upload a copy of the license. There is a very nice writeup on the use of itemUpdate on the DSpace wiki: https://wiki.duraspace.org/display/DSDOC18/Updating+Items+via+Simple+Archiv e+Format We do this all the time, for large multimedia files. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Look for the answer inside your question. --Rumi On 5/24/12 7:37 AM, Jimmy Ghaphery jghap...@vcu.edu wrote: yes, very helpful, thanks. I'll add a comment in our dspace.cfg file to this effect to avoid confusion in the future. --Jimmy On 5/24/2012 5:35 AM, Bram Luyten wrote: Hi Jimmy, assuming you are using XMLUI: in DSpace 1.8.2, the limit was increased to Apache Cocoon's maximum value of 2GB https://jira.duraspace.org/browse/DS-1124 If you are using a pre 1.8.2 version you could change this yourself in the core.properties file. hope this helps, Bram Luyten -- logo *Bram Luyten*/@mire/ /2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010/ /Esperantolaan 4, Heverlee 3001, Belgium/ http://www.atmire.com/www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium= emailutm_campaign=braml On Wed, May 23, 2012 at 7:44 PM, Jimmy Ghaphery jghap...@vcu.edu mailto:jghap...@vcu.edu wrote: I'm running into the same problems described below, I don't see an answer to this question. Any ideas or guidance appreciated. Is there a separate java upload limit in addition to the limit expressed in dspace.cfg? thanks Jimmy [Dspace-tech] dspace java upload limit From: Mark Ludwig uldmjl@gm... -2011-01-04 21:25 I am trying to archive some filesystems as zip files in DSpace. It's unable to upload files of one Gbyte or more. I set the upload.max parm in dspace.cfg to 4 Gbytes but it has no effect, so I think this is some Java restriction. I'm getting: java.io.IOException: Multipart element is too large and was discarded. This is Tomcat 5.5.26 dspace 1.5.1 and jre-1.6.0-openjdk.x86_64 on Fedora. Is there some obvious java setting I need to make? If so, how high can/should it go? I have multi-gig files but wonder how much to chop it up. Thanks, Mark Ludwig University Libraries SUNY at Buffalo Buffalo, NY 14260 716 645 5952 - - Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Jimmy Ghaphery Head, Library Information Systems VCU Libraries -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Statistics: Collection sizes
Hi, Paul, you might also want to look into this patch, submitted by Mark Wood: https://jira.duraspace.org/browse/DS-552 I have been intending to play around with this patch for some time, but have not yet gotten around to doing it. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 4/4/12 8:39 AM, helix84 heli...@centrum.sk wrote: On Wed, Apr 4, 2012 at 15:31, Paul Go pgo...@gmail.com wrote: Is there a way to get size statistics (disc space, number of items, number of objects, etc) per collection in DSpace? Hi Paul, DSpace can display number of items. You didn't write which DSpace version, interface and theme you're using, so I'll assume 1.8.2/XMLUI/Mirage. To enable showing number of items, you need to schedule periodic run of [dspace]/bin/dspace itemcounter, then in dspace.cfg set webui.strengths.show = true webui.strengths.cache = true and restart Tomcat. If you want to calculate the other statistics, your best bet is to take the data directly from the database. The queries will be complicated, but it is possible. You can find the database schema here: https://wiki.duraspace.org/display/DSPACE/DSpace+2.0+Requirements+and+Issu es#DSpace2.0RequirementsandIssues-DatabaseOverviewGraphic Regards, ~~helix84 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Strage Java error
Hi, Paul, would you happen to have the entire error message, with the stack trace? That would help. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ And remember, also added the Princesss of Sweet Rhyme, that many places you would like to see are just off the Map and many things you want to know are just out of sight or a little beyond your reach. But someday you'll reach them after all, for what you learn today, for no reason at all, will help you discover all the wonderful secrets of tomorrow. --Norton Juster, The Phantom Tollbooth On 3/9/12 10:19 AM, Paul Go pgo...@gmail.com wrote: We got a strange new Java error today: java.io.IOException: No such file or directory Happened when the user tried to upload a PDF as a supplemental license to an existing item. The file seems to have been uploaded despite the error. Ideas on what could cause this? Paul Go Systems Librarian / Library Technology Manager Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/__ _ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Java error during submission
Hi, Paul, is there any chance you have a detailed copy of the error message, perhaps with a stack trace? That will help in diagnosing the problem. Thanks! Though, I will say, without any further details, that Brett Arno's suggestion to double-check your assetstore's permissions is a good one. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Don't undertake a project unless it is manifestly important and nearly impossible. --Edwin Land On 3/7/12 11:14 AM, Paul Go pgo...@gmail.com wrote: On random steps of submission we're seeing a permission denied Java error. Going back a page in the browser and retrying generally resolves the instance but this is occurring with more frequency as time goes on (70% of the time, by one estimate). We're running 1.7.1 Any help would be appreciated. Paul Go Systems Librarian / Library Technology Manager Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/__ _ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Fwd: DSpace 1.8.0 Table Descriptions
Forwarding my reply to the list, to be more helpful. --Hardy Sent from my iPad Begin forwarded message: From: Pottinger, Hardy J. pottinge...@umsystem.edumailto:pottinge...@umsystem.edu Date: March 3, 2012 8:58:10 AM CST To: KC Roa kcm...@gmail.commailto:kcm...@gmail.com Subject: Re: [Dspace-tech] DSpace 1.8.0 Table Descriptions Hi, I don't think there is anything more current than the diagram on the page linked below, but it's fairly current, and I find it a helpful reference: http://www.dspace.org/1_7_0Documentation/Storage%20Layer.html --Hardy Sent from my iPad On Mar 2, 2012, at 9:09 PM, KC Roa kcm...@gmail.commailto:kcm...@gmail.com wrote: Is there any documentation about the descriptions of the tables and fields used in the DSpace 1.8.0 database? For better understanding of what the tables and fields are for. Thanks! :) -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with Oracle JDBC Driver
Hi, Ian, you likely have installed a newer version of the Oracle driver, and the DSpace pom.xml file may be specifying an earlier version as a dependency. Maven doesn't know that your newer version satisfies that dependency. Probably the best thing to do would be to change the dependency in any place you find it in any of the poms, but I have done such silly things as reinstall the newer driver jar in my own maven repository by telling Maven it is an older driver, that DSpace is looking for. Hope that helps. --Hardy Sent from my iPad On Feb 24, 2012, at 5:34 AM, Wellaway, Ian i.j.wella...@exeter.ac.ukmailto:i.j.wella...@exeter.ac.uk wrote: Hi, I’m trying to set my DSpace repo up to use Oracle instead of Postgres. I’ve followed the instructions in the docs (http://www.dspace.org/1_6_2Documentation/ch03.html#N108B4) by downloading the latest driver (ojdbc6.jar) and running the following command: /opt/apache-maven-2.2.1/bin/mvn install:install-file -Dfile=ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc16 -Dversion=11.2.0.3 -Dpackaging=jar -DgeneratePom=true It says ‘Build successful’ then I run the ‘mvn clean package’ command which works but then the ‘ant update -Doverwrite=true’ command gives the following error: rt_metadata_registry: [java] 2012-02-24 11:08:53,705 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2012-02-24 11:08:53,734 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2012-02-24 11:08:53,736 WARN org.dspace.storage.rdbms.DatabaseManager @ Exception initializing DB pool [java] java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:169) [java] at org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1587) [java] at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:618) [java] at org.dspace.core.Context.init(Context.java:126) [java] at org.dspace.administer.MetadataImporter.loadRegistry(MetadataImporter.java:133) [java] at org.dspace.administer.MetadataImporter.main(MetadataImporter.java:120) [java] Exception in thread main java.sql.SQLException: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver [java] at org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1711) [java] at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:618) [java] at org.dspace.core.Context.init(Context.java:126) [java] at org.dspace.administer.MetadataImporter.loadRegistry(MetadataImporter.java:133) [java] at org.dspace.administer.MetadataImporter.main(MetadataImporter.java:120) BUILD FAILED /opt/dspace-1.6.2-release/dspace/target/dspace-1.6.2-build.dir/build.xml:835: Java returned: 1 Any ideas what I’m doing wrong? Thanks Ian Ian Wellaway Senior System Support Development Officer - Academic Systems (Room 911) Mons, Tues and alternate Fridays Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Weds, Thurs and alternate Fridays Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Question about security on items and search results
Hi, Christian, as Mark Wood has observed, many people have run into this detail in the past. I would recommend that if it is your intention to create a dark archive, that you would be better served to create a non-public instance of DSpace--lock it down via controls either on your servlet container, or controls in your proxy (Apache, Nginx, etc.), if you're using one. This would give you much better control over the materials in the archive, and you would not be relying on the DSpace application to enforce your access rules. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 2/6/12 8:45 AM, Cristian Romanescu cristian.romane...@eaudeweb.ro wrote: Greetings, We have submitted an item within a private collection (only Administrators can see it). The problem is that the search function returns the item, even if I am logged out (anonymous). But whenever I click on search results, I get this message: You do not have the credentials to access the restricted item hdl:123456789/63 . The selected item is access restricted and requires credentials to view. Please login to access the item. Even more than this, item bitstreams (word documents) are searched and the item is returned if a match is found. Up until now we had a look over the code (AbstractSearch.java) and since Lucene indexes everything (which is normal), we need to override performSearch() to handle security before returning the search results. Before going this road, was anyone hit this issue? Any help is greatly appreciated, Cristian -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Best Java Web Application Framework to Integrate with Dspace
Hi, I think I should speak up here, as this is an area I'm interested in. At the last Open Repositories meeting, Stuart Lewis announced SkylightUI [1], which is a CodeIgnitor(PHP)-based front end to DSpace, and uses the DSpace Discovery's SOLR index as an API. There is also a DSpace Drupal module [2] which would open up the floodgates of the kinds of mashups you could do. One avenue I've been exploring is offloading the chore of improved visualization of objects (PDFs, Images, audio and video) to another service or services. One option I'm considering is Multivio [3] for page turning, and then further expanding out the capabilities of Multivio with the PanoJS [4] JavaScript widget for panning and zooming of large images. I like offloading visualization, as it is an area of weakness for many off-the-shelf applications. One other option that should be added to the list that Tim came up with is that there *is* another UI available for DSpace, the WebMVC (Freemarker) UI [5]. The about page for the project states: WebMVC is new user interface for DSpace built on top of Spring's WebMVC framework. The goals of the project is to write the user interface in a clean technical implementation, with business logic removed from the presentation layer. Depending on what you're trying to achieve, the WebMVC might get you there, or most of the way. I have tinkered a bit with the Play! Framework [6], which was mentioned at this week's Developers Meeting (as Tim mentioned below). There is much promise there, and I would be really excited to see such an integration. I'd love to talk with other like-minded folks on any of these options. [1] http://skylightui.org [2] http://drupal.org/project/DSpace [3] http://www.multivio.org/main/ [4] http://www.dimin.net/software/panojs/ [5] https://wiki.duraspace.org/display/DSPACE/WebMVC+(Freemarker)+UI [6] http://www.playframework.org/ HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 1/27/12 3:12 PM, Tim Donohue tdono...@duraspace.org wrote: One last note that may be of interest. Just after this week's DSpace Developers Meeting (Jan 25), several of the DSpace Developers actually ended up having an ad hoc discussion around this same idea of refactoring/reworking DSpace so that it can allow for easier integrations. Much of the discussion was just brainstorming. So nothing was decided upon none of what we say should be taken seriously -- it is literally just developers sitting around and chatting. But we did touch on topics like whether DSpace could integrate into the Play! Framework. So, it may be of interest to anyone who is interested in these areas. The full transcript of that meeting is at: http://irclogs.duraspace.org/index.php?date=2012-01-25 Again, the next step here is to continue some of these discussions amongst the developers. Much more should be coming in upcoming months on dspace-devel and in our weekly meetings. - Tim On 1/27/2012 2:56 PM, Tim Donohue wrote: Hi Mckeane, Unfortunately, there's no right answer here. This actually seems to be a recent 'hot topic' (or at least I've heard this sort of question frequently off-list). At this point in time, there seem to be three main routes (that I can think of) which you could use to integrate an external web application framework into DSpace. (It would also be possible to use multiple of these integration routes at once, depending on your projects needs) --- (1) Direct Database Filesystem Access integration Obviously, any framework could be used to go against the DSpace underlying database and filesystem storage. But, the downside here is that you may be essentially bypassing most/all of the DSpace Java code. So, this may be a larger project. (2) Java API integration This is traditionally how many past Web UI projects have integrated into DSpace (e.g. XMLUI, which was built ~5 years ago as the latest UI). Unfortunately, over the years we've found our Java API does not provide a perfect integration. DSpace still has a bit too much business logic that ends up needing to be repeated in each new UI, as the underlying Java API doesn't handle all that business logic for you. There has been some recent discussion amongst the DSpace Developers (in our recent Developer Meetings[1]) about how we can start to avoid 'business logic' duplication in all UIs. This is a refactoring project that just needs to happen, but so far we're still in the planning stages and also need to find some volunteers to help out. If you'd be interested in helping with such a project, let us know. In any case, any web application framework that can speak Java (or make calls to a Java API) may be able to go against our existing Java API (though as mentioned, you may need to rewrite some Business Logic that currently exists up
Re: [Dspace-tech] Issue with overwrite and ant
Hi, Jennifer, yes, the version of Ant required to run DSpace changed with 1.8, mostly for this reason, though ant version 1.7 should in theory be new enough, you may want to upgrade to the latest version of ant, just to be sure. --Hardy Sent from my iPad On Jan 20, 2012, at 1:17 AM, Jennifer Whalan jennifer.wha...@nt.gov.aumailto:jennifer.wha...@nt.gov.au wrote: We have just updated our dev 1.7.2 version of dspace to 1.8.1. Previously when I would run ant, I would use the –Doverwrite=true, so I was glad when I saw that it would be made default. However when running, it acts as if it was –Doverwrite=false, adding .new to the prefix and not overwriting the old configs. Even if I use –Doverwrite=true, it still treats it as false. We are running Apache Ant version 1.7.0, so I don’t know if its possibly a version problem, but has anyone else come across this issue? Thanks Jennifer Jennifer Whalan Systems Support Officer | Innovation Access Northern Territory Library Department of Natural Resources, Environment, The Arts and Sport Northern Territory Government Phone: (08) 8922 0752 Fax:(08) 8922 0722 Email: jennifer.wha...@nt.gov.aumailto:jennifer.wha...@nt.gov.au Web:www.ntl.nt.gov.auhttp://www.ntl.nt.gov.au The information contained in this message and any attachments may be confidential information and may be subject to legal privilege, public interest or legal profession privilege. If you are not the intended recipient, any use, disclosure or copying of this message or any attachments is unauthorised. If you have received this document in error, please advise the sender. No representation or warranty is given that attached files are free from viruses or other defects. The recipient assumes all responsibility for any loss or damage resulting directly or indirectly from the use of any attached files. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Null pointer error during complete step
Hi, Lyman, I just thought I'd chime in here to plug the really very handy test-email script that you can run via the DSpace master script: Run this as the DSpace user: cd [dspace_dir] bin/dspace test-email And you can test your e-mail config, without having to go through the submission process. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 1/20/12 11:49 AM, Lyman Ross lr...@uvm.edu wrote: Peter: You were right there's something wrong with the email settings. I just turned off email and the submission process is now working. I'll have to see if there have been any changes to our campus smtp server that might require changing the settings. Thanks, Lyman On 1/20/2012 12:34 PM, Lyman Ross wrote: Peter: The settings are pretty vanilla and the same as we used in version 1.6. -Lyman On 1/20/2012 12:04 PM, Peter Dietz wrote: Hi Lyman, I'm not entirely sure where the error is.. but can you check a few things. Can you check your [dspace]/config/dspace.cfg and check that mail.server is properly configured. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ dspace/core/Email.java#L245 Peter Dietz On Fri, Jan 20, 2012 at 11:46 AM, Lyman Ross lr...@uvm.edu wrote: We're running Dspace version 1.7.2 and are receiving a null pointer error in the final submission step. I'm not sure how long this problem has been going on since most of our submissions come during the summer. It's possible that the problem began when we upgraded from version 1.6. Any ideas on what may be causing this would be most appreciated. Thanks, Lyman 2012-01-20 09 tel:2012-01-20%2009:48:47,769 ERROR org.dspace.submit.step.CompleteStep @ Caught exception in submission step: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at org.dspace.core.Email.send(Email.java:245) at org.dspace.workflow.WorkflowManager.notifyOfArchive(WorkflowManager.java:7 48) at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:654) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:414) at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:629) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:405) at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:592) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:393) at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:551) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:381) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:334) at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:177) at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:86) at org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java :301) at org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java :246) at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionControl ler.java:382) at org.dspace.app.webui.servlet.SubmissionController.doNextStep(SubmissionCon troller.java:452) at org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionControl ler.java:398) at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionContr oller.java:318) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.ja va:115) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati onFilterChain.java:269) at
Re: [Dspace-tech] upload.max in xmlui
Hi, I was tinkering with the Cocoon core.properties config today, attempting to increase the value for org.apache.cocoon.uploads.maxsize, however, I had a difficult time increasing the default value, without crashing Cocoon. Here's the error message I saw: javax.servlet.ServletException: For input string: 858993459200 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappSe rvletFilter.java:85) root cause java.lang.NumberFormatException: For input string: 858993459200 java.lang.NumberFormatException.forInputString(NumberFormatException.java: 48) java.lang.Integer.parseInt(Integer.java:461) java.lang.Integer.valueOf(Integer.java:554) org.apache.cocoon.servlet.multipart.MultipartConfigurationHelper.configure (MultipartConfigurationHelper.java:135) org.apache.cocoon.servlet.multipart.MultipartFilter.configure(MultipartFil ter.java:93) org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilt er.java:110) org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappSe rvletFilter.java:78) I know, I know, who is ever going to post an 800GB file? My goal was to increase the limit very high, so I no longer need to hear about uploads timing out from my repository and community managers. I'm looking for any documentation on this setting for Cocoon, but google keeps pointing me to message threads such as this one. I figure this thread is new enough, and Jose and Tim won't mind me resurrecting it. So, would anyone know how large I can configure this setting without blowing anything up? :-) Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ I think I like disruptive technology because it makes the whole world a bit fuzzy, my normal state of mind. -- Robert Llewellyn (aka Kryten) On 12/1/11 9:59 AM, Tim Donohue tdono...@duraspace.org wrote: Jose, You are correct. The 'upload.max' setting is only used by JSPUI. The XMLUI uses it's cocoon configuration to set the maximum upload size (as that's a setting in Cocoon itself). This setting can be found at: [dspace-src]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/WEB-INF/coco on/properties/core.properties This file contains all the Apache Cocoon default configurations that are utilized by the XMLUI. The specific setting you are looking for in that file is this one: org.apache.cocoon.uploads.maxsize=10 By default it is set to 10MB maximum file size. But, you can increase that value as needed. - Tim On Wednesday, November 30, 2011 10:34:39 AM, Blanco, Jose wrote: Is the dspace.cfg parameter upload.max used in xmlui? I only see it being used in the jspui. If it's not, what is the max? Thank you! Jose - - All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Prevent LDAP users from changing password
Hi, Jason, it looks like you've found a bug. It's definitely the same kind of problem we found in DS-994 and DS-1007, though it's a different method in AuthenticationManager this time: allowSetPassword. In that method, there's a loop which goes through each authentication method in the stack, and if any of them returns true for their allowSetPassword method, the AuthenticationManager.allowSetPassword method also returns true. I have opened a new ticket for this issue: https://jira.duraspace.org/browse/DS-1088 -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ On 12/5/11 9:00 AM, Jason Stirnaman jstirna...@kumc.edu wrote: Thanks, Hardy. Yes, I'm using stacked authentication. Here's config/modules/authentication.cfg: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPAuthentication, \ org.dspace.authenticate.PasswordAuthentication, \ org.dspace.authenticate.IPAuthentication Jason Jason Stirnaman Biomedical Librarian, Digital Projects A.R. Dykes Library, University of Kansas Medical Center jstirna...@kumc.edu 913-588-7319 On 12/3/2011 at 08:29 PM, in message 9067a279-9df7-4d13-8428-3aea2fcad...@umsystem.edu, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, Jason, I just wanted to confirm that you are in fact using stacked authentication methods? This issue sounds familiar to me (see DS-994 and DS-1007). I will see if there is a similar loop to what we found in DS-1007 as soon as I'm at a proper computer. --Hardy Sent from my iPad On Dec 3, 2011, at 4:38 PM, Jason Stirnaman jstirna...@kumc.edumailto:jstirna...@kumc.edu wrote: Giving this one more shot with a different subject line since it got no love the last time around (http://sourceforge.net/mailarchive/message.php?msg_id=28438078 ). Apologies for the duplication. I'm using LDAP authentication in DSpace 1.8.0 with XMLUI and Mirage theme. When I login and go to my account profile, I'm allowed to change my password. How do I disallow that, or might I have something misconfigured so that I'm falling through the authentication stack to the password authentication (although I'm fairly sure that's not the case)? I know there is an allowSetPassword boolean available for just this purpose, but it doesn't seem to be applied. Thanks, Jason Jason Stirnaman Biomedical Librarian, Digital Projects A.R. Dykes Library, University of Kansas Medical Center jstirna...@kumc.edumailto:jstirna...@kumc.edu 913-588-7319 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Prevent LDAP users from changing password
Hi, Jason, I just wanted to confirm that you are in fact using stacked authentication methods? This issue sounds familiar to me (see DS-994 and DS-1007). I will see if there is a similar loop to what we found in DS-1007 as soon as I'm at a proper computer. --Hardy Sent from my iPad On Dec 3, 2011, at 4:38 PM, Jason Stirnaman jstirna...@kumc.edumailto:jstirna...@kumc.edu wrote: Giving this one more shot with a different subject line since it got no love the last time around (http://sourceforge.net/mailarchive/message.php?msg_id=28438078 ). Apologies for the duplication. I'm using LDAP authentication in DSpace 1.8.0 with XMLUI and Mirage theme. When I login and go to my account profile, I'm allowed to change my password. How do I disallow that, or might I have something misconfigured so that I'm falling through the authentication stack to the password authentication (although I'm fairly sure that's not the case)? I know there is an allowSetPassword boolean available for just this purpose, but it doesn't seem to be applied. Thanks, Jason Jason Stirnaman Biomedical Librarian, Digital Projects A.R. Dykes Library, University of Kansas Medical Center jstirna...@kumc.edumailto:jstirna...@kumc.edu 913-588-7319 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Cannot Log-in to DSpace (xmlui) using Chrome
Hi, Jose, I wonder if you could tell us what version of Tomcat you're running? If it's version 7, you may be running into this issue: https://jira.duraspace.org/browse/DS-959 -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 9/1/11 6:31 AM, dantex...@yahoo.com dantex...@yahoo.com wrote: Hi, I have a problem with Chrome and xmlui when I try to customize it ,but I use Firefox and everything is OK. I try to log-in nothing happens: The system does not show the user name on the top and it looks like when anonymous user works. Points important: - It works fine in JSPUI (all browsers) - In XMLUI, the system is still reacting to wrong username/password but when those are correct, nothing happens. - The DSpace log file shows no error: shows a successful login, but then loosing the name and anonymous user appears. Thanks, Jose Daniel -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace / Kaltura integration
Hi, George, David, since you inquired about interest, I thought I'd say that, while we don't currently run Kaltura, we're definitely interested in seeing a streaming integration for DSpace made available to the community. It's been at the top of the list for a while, here in Missouri. I do know that Stuart Lewis and Kim Shepherd have been working with integrating Red5, they presented on this work at OR11, and Kim may be able to offer tips for other similar kinds of integration. We're also willing to collaborate on a solution which can be given to the community. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 8/19/11 9:01 AM, George S Kozak g...@cornell.edu wrote: This is posted on behalf of David Ruddy, who coordinates activities related to our institutional repository at Cornell. - Cornell's central campus IT has recently begun working with Kaltura to provide video services across campus. In the Library, we'd like to see some degree of integration between our DSpace IR and Kaltura, such as streaming capabilities for video content in our IR. We're just beginning to explore such integration and wondering if others in the DSpace community have already done so, or are interested in collaborating. If you operate both DSpace and Kaltura and have attempted integration, or are interested in integration, please let me know. Thanks, David Ruddy d...@cornell.edu 607.255.6803 George Kozak Digital Library Specialist Cornell University Library Information Technologies (CULIT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Thanks, Mark, that code from MIT looks interesting, I will look into it more. I did notice that the Bagit spec is supported by the SWORD protocol, and when I mentioned this to our archivist, he went and looked and it does appear that the BIL 3.9 can send a bag using SWORD (see output of the BIL -h command, pasted below). So, it looks like Bagger and/or BIL + turning on SWORD for our repository will get us what we want. Huzzah! * BagIt Library (BIL) Version 3.9 Usage: bag operation [operation arguments] [--help] Parameters: operation Valid operations are: baginplace, bob, checkpayloadoxum, create, fillholey, generatepayloadoxum, makecomplete, makeholey, retrieve, splitbagbyfiletype, splitbagbysize, splitbagbysizeandfiletype, sword, update, updatetagmanifests, verifycomplete, verifypayloadmanifests, verifytagmanifests and verifyvalid. Operation explanations: baginplace: Creates a bag-in-place. The source must be a directory on a filesystem and may already have a data directory. bob: Sends a bag using BOB. checkpayloadoxum: Generates Payload-Oxum and checks against Payload-Oxum in bag-info.txt. create: Creates a bag from supplied files/directories, completes the bag, and then writes in a specified format. fillholey: Retrieves any missing pieces of a local bag. generatepayloadoxum: Generates and returns the Payload-Oxum for the bag. makecomplete: Completes a bag and then writes in a specified format. Completing a bag fills in any missing parts. makeholey: Generates a fetch.txt and then writes bag in a specified format. retrieve: Retrieves a bag exposed by a web server. A local holey bag is not required. splitbagbyfiletype: Splits a bag by file types. splitbagbysize: Splits a bag by size. splitbagbysizeandfiletype: Splits a bag by size and file types. sword: Sends a bag using SWORD. update: Updates the manifests and (if it exists) the bag-info.txt for a bag. updatetagmanifests: Updates the tag manifests for a bag. The bag must be unserialized. verifycomplete: Verifies the completeness of a bag. verifypayloadmanifests: Verifies the checksums in all payload manifests. verifytagmanifests: Verifies the checksums in all tag manifests. verifyvalid: Verifies the validity of a bag. [--version] Prints version of BIL and exits. [--help] Prints usage message for the operation. Examples: bag verifyvalid --help Prints help for the verifyvalid operation. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/26/11 5:31 PM, Mark Diggory mdigg...@atmire.com wrote: Hardy, Be aware that MIT / Richard Rodgers also has some Bagit work available, currently nested within the modules directory here: http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/jav a/org/dspace/pack/ http://scm.dspace.org/svn/repo/modules/dspace-replicate/trunk/src/main/ja va/org/dspace/pack/Mark On Tue, Jul 26, 2011 at 2:33 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk about your approach, I'd love to hear from you. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ DSpace-tech mailing list DSpace
[Dspace-tech] batch import of Bagit-formated collections and/or conversion script for Bagit to SAF
Hi, I've done a bit of googling on Bagit, and I see that Dryad (and @mire) have done some work with Bagit as a repository interchange mechanism. I am interested in something a bit more mundane. There exists a very nice tool for constructing a bag, called Bagger: http://sourceforge.net/projects/loc-xferutils/files/loc-bagger/ Which would be ideal for adapting for our needs--we need a tool that a scanner technician can use to feed scanned images into our repository. Bags, in my mind, are not much different than SAF packages. It would be trivial to script a converter between the two formats, though I'm thinking someone is likely to have walked this path already. If so, and if you can share any code, or just talk about your approach, I'd love to hear from you. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Reporting/Repository metrics
Hi, Mark, you are correct, this is what we wanted/needed. Thanks! -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/22/11 8:35 AM, Mark H. Wood mw...@iupui.edu wrote: Whenever someone says, I want reports, I think: well, what you *should* want is data that you can put into your favorite reporting tools. We have a little servlet that gives a snapshot of a handful of basic overall metrics to slot into our library dashboard. See DS-552 for my approach. Something like that could offer varying levels of detail. I think this might be a good sort of thing to add to the REST API work. (Then, just to make things *really* convoluted, you could layer up a job that takes periodic samples and stuffs them into a database, so that Excel or SPSS or Crystal Reports(?) or what-have-you can fetch the latest, or pull out time series, via ODBC.) -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech