[Dspace-tech] Mirage2 authority lookup popup
Hi, I've created 2 authorities one which extends the person authority and looks up the person from Active Directory and one that looks up projects from Gateway to Research, GtR is not yet complete. The GtR requires more work as the authority lookup popup does not have the functionality that the author lookup has. So that I did not duplicate work required for Mirage and Mirage2 I've been looking at Mirage2 UI which I've built and deployed and it looks good. There is a difference in the mirage2 functionality for the authority lookup popup as the popup does not close once the item selected has been accepted. The window.close() has been removed from the javascript function - probably as its not a popup window it's a modal dialogue. So the question is; is this desired functionality or has this been overlooked/not a priority at present? Thanks Alastair -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Solr querying - any dspace-specific comprehensive documentation/tutorials?
Have a look at the schemas for the fields that are indexed. They are available for each of the cores eg. http://hostname:port/solr/#/statisticshttp://%3chostname%3e:%3cport%3e/solr/#/statistics selecting a field will give you the details of the field, its type etc. http://hostname:port/solr/#/statistics/schema-browser?field=isBothttp://%3chostname%3e:%3cport%3e/solr/#/statistics/schema-browser?field=isBot By clicking Load term info you can see the values and distribution that are currently in the solr index for that field You can view the schema if you like looking at xml ;-) http://hostname:port/solr/#/statistics/files?file=schema.xmlhttp://%3chostname%3e:%3cport%3e/solr/#/statistics/files?file=schema.xml Alastair From: Gary Browne [mailto:gary.bro...@sydney.edu.au] Sent: 13 July 2015 23:55 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Solr querying - any dspace-specific comprehensive documentation/tutorials? --- just resending this with a more appropriate subject line --- Thanks Monika, I can see what this particular query is doing, however I'm wondering if you know of any resources for someone like me who is just starting out with solr queries - especially with reference to DSpace. I know the wiki has some examples but I thought there'd be some comprehensive documentation...somewhere? For example, how do you know what the allowable values are for facet.field (and where can these be configured, and how do you configure them)? The same with type etc. And how do you know what the parameter names actually are (isBot, owningComm etc)? Any clues would be very much appreciated. Thanks again, Gary Gary Browne | Technical Manager Developments University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 T +61 2 9351 5946 | M +61 405 647 868 E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au On 03/07/15 00:14, Monika C. Mevenkamp wrote: use the fq parameter to restrict to a time range eg fq=time:[2015-01-01T00%3A00%3A00.000Z+TO+NOW] the query below looks at ORIGINAL bitstreams in a give collection downloaded at least once excluding bot queries as well as query from the given ips and downloads from users that were logged in http://localhost:18082/solr/statistics/select?wt=jsonindent=truerows=0facet=truefacet.mincount=1facet.field=idfq=time:[2015-01-01T00%3A00%3A00.000Z+TO+NOW]q=NOT+epersonid%3A%5B%22%22+TO+*%5D+isBot:false+owningComm:67+type:0+bundleName:ORIGINAL+-ip:%2810.6.61.26+OR+128.112.66.66%29http://localhost:18082/solr/statistics/select?wt=jsonindent=truerows=0facet=truefacet.mincount=1facet.field=idfq=time:%5b2015-01-01T00%3A00%3A00.000Z+TO+NOW%5dq=NOT+epersonid%3A%5B%22%22+TO+*%5D+isBot:false+owningComm:67+type:0+bundleName:ORIGINAL+-ip:%2810.6.61.26+OR+128.112.66.66%29 the response header responseHeader:{ status:0, QTime:1857, params:{ facet:true, facet.mincount:1, indent:true, q:NOT epersonid:[\\ TO *] isBot:false owningComm:67 type:0 bundleName:ORIGINAL -ip:(10.6.61.26 OR 128.112.66.66), facet.field:id, wt:json, fq:time:[2015-01-01T00:00:00.000Z TO NOW], rows:0}}, response:{numFound:205152,start:0,docs:[] }, I wrote a jruby script to do stats for a particular community - if you are interested see https://github.com/akinom/dscriptor/tree/master/statistics Monika - Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 On Jul 2, 2015, at 2:10 AM, Gary Browne gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au wrote: Hi all, I'm trying to figure out how to limit solr queries by date. I found this snippet online: http://mydspace.org/solr/statistics/select?bundleName:ORIGINALfacet.date.start=NOW/MONTH/DAY-6MONTHSfacet.date.end=NOWfacet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL it fails in my browser (yes, other solr searches work). I'm trying to come up, for starters, with a solr search query for top X items visited in the last X months. Can anyone point me in the right direction here, even to some documentation (I've done a lot of googling but nothing I've found so far helps with this question). THanks, Gary -- Gary Browne | Development Programmer University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 T +61 2 9351 5946 | M +61 405 647 868 E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au -- 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
Re: [Dspace-tech] Solr stats queries - limiting by date
Have a look at the differences between q and fq queries in solr. Monika suggest using the addition of fq and this can boost performance as it uses solr caches with no scoring and the q query uses a complex scoring mechanism to determine the relevance of a result so ordering of the result set may be different. The performance gains may be significant with fq and a combination of both of these can give the best performance and ordering that is required. Alastair From: Gary Browne [mailto:gary.bro...@sydney.edu.au] Sent: 03 July 2015 00:06 To: Duncan, Alastair (STFC,RAL,SC); dspace-tech@lists.sourceforge.net Subject: RE: Solr stats queries - limiting by date Thanks a lot Alastair, I'll try that. Cheers, Gary From: alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk [alastair.dun...@stfc.ac.uk] Sent: Thursday, 2 July 2015 6:32 PM To: Gary Browne; dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: RE: Solr stats queries - limiting by date Hi Gary, I'm not familiar with solr within DSpace but I've done some implementations with solr so the type of query you are looking to do will be something like this: time:[NOW-6MONTH/MONTH TO NOW] AND bundleName:ORIGINAL If you look at the schema fields the only one which is a date field is time so I'm guessing that this is the timestamp of the stats event and this gives me results that look about right. http://localhost/solr/statistics/select?q=time%3A%5BNOW-6MONTH%2FMONTH+TO+NOW%5D+AND+bundleName%3AORIGINAL I've no idea what field bundleName stores ;-) Alastair From: Gary Browne [mailto:gary.bro...@sydney.edu.au] Sent: 02 July 2015 07:11 To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Solr stats queries - limiting by date Hi all, I'm trying to figure out how to limit solr queries by date. I found this snippet online: http://mydspace.org/solr/statistics/select?bundleName:ORIGINALfacet.date.start=NOW/MONTH/DAY-6MONTHSfacet.date.end=NOWfacet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL it fails in my browser (yes, other solr searches work). I'm trying to come up, for starters, with a solr search query for top X items visited in the last X months. Can anyone point me in the right direction here, even to some documentation (I've done a lot of googling but nothing I've found so far helps with this question). THanks, Gary -- Gary Browne | Development Programmer University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 T +61 2 9351 5946 | M +61 405 647 868 E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au -- 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] Solr stats queries - limiting by date
Hi Gary, I'm not familiar with solr within DSpace but I've done some implementations with solr so the type of query you are looking to do will be something like this: time:[NOW-6MONTH/MONTH TO NOW] AND bundleName:ORIGINAL If you look at the schema fields the only one which is a date field is time so I'm guessing that this is the timestamp of the stats event and this gives me results that look about right. http://localhost/solr/statistics/select?q=time%3A%5BNOW-6MONTH%2FMONTH+TO+NOW%5D+AND+bundleName%3AORIGINAL I've no idea what field bundleName stores ;-) Alastair From: Gary Browne [mailto:gary.bro...@sydney.edu.au] Sent: 02 July 2015 07:11 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Solr stats queries - limiting by date Hi all, I'm trying to figure out how to limit solr queries by date. I found this snippet online: http://mydspace.org/solr/statistics/select?bundleName:ORIGINALfacet.date.start=NOW/MONTH/DAY-6MONTHSfacet.date.end=NOWfacet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL it fails in my browser (yes, other solr searches work). I'm trying to come up, for starters, with a solr search query for top X items visited in the last X months. Can anyone point me in the right direction here, even to some documentation (I've done a lot of googling but nothing I've found so far helps with this question). THanks, Gary -- Gary Browne | Development Programmer University of Sydney Library THE UNIVERSITY OF SYDNEY Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006 T +61 2 9351 5946 | M +61 405 647 868 E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au -- 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] ldap login
Can you bind to or search to the ldap server with your username from an ldap client other than the one in DSpace? Alastair From: Saidy Binta [mailto:bisa...@mrc.gm] Sent: 26 June 2015 13:16 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] ldap login Hi , Please can someone help, I use Ldap for login on my institutional repository. I keep getting the error went anyone login to the site. The Error message is * The user name and/or password supplied were not valid. The error the dspace log message is as follows: 2015-06-26 12:09:20,632 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=5928CF1B2B5BC0E8D0BEB56D5C152E3F:ip_addr=0:0:0:0:0:0:0:1:auth:attempting trivial auth of user=bisaidy 2015-06-26 12:09:21,942 WARN org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=5928CF1B2B5BC0E8D0BEB56D5C152E3F:ip_addr=0:0:0:0:0:0:0:1:ldap_authentication:type=failed_auth javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 80090308\colon; LdapErr\colon; DSID-0C0903C8, comment\colon; AcceptSecurityContext error, data 52e, v2580 ] 2015-06-26 12:09:21,942 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=5928CF1B2B5BC0E8D0BEB56D5C152E3F:ip_addr=0:0:0:0:0:0:0:1:failed_login:no DN found for user bisaidy 2015-06-26 12:09:21,942 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ anonymous:session_id=5928CF1B2B5BC0E8D0BEB56D5C152E3F:ip_addr=0:0:0:0:0:0:0:1:failed_login:email=bisaidy, realm=null, result=2 Regards Binta DISCLAIMER: This message is private and confidential. If you have received this message in error please notify us and remove it from your system. Any views and opinions expressed in this message are those of the individual sender and do not necessarily represent the views and opinions of Medical Research Council Unit, The Gambia ___ This communication is confidential and may contain privileged information intended solely for the named recipient(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient, you must not copy, distribute, take any action or reliance on it. If you have received this communication in error, do not open any attachments but please notify the Help Desk by e-mailing h...@mrc.gmmailto:h...@mrc.gm quoting the sender details, and then delete this message along with any attached files. E-mail messages are not secure and attachments could contain software viruses which may damage your computer system. Whilst every reasonable precaution has been taken to minimise this risk, The MRC Unit The Gambia cannot accept any liability for any damage sustained as a result of these factors. You are advised to carry out your own virus checks before opening any attachments. Unless expressly stated, opinions in this message are those of the e-mail author and not of the Medical Research Council Unit The Gambia. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Dspace-cris discovery problem
Hi, I've come across a problem with the discovery system. DSpace-Cris 5.x.x branch. After 5 searches the discovery system fails to work. This seems to be due to the search parameters getting longer after each query even if it is the same repeated query. The query fails with a Bad Request 400 which can be seen when the log level for org.apache.http is set to DEBUG in the solr logging properties. If I change the http request type to POST the problem does not occur but the size of the request gets extremely large which is not good. The problem seems to occur with the f.resourcetype_filter.facet.limit=11 being repeated and the number of these doubles with each request. Any ideas where this may be happening? Nothing jumps out at me from the code so far. Alastair -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] css form-control
Hi, I've come across a problem when trying to add a new Bitstream format. I can create the format ok but I can't switch the format from internal as there is no visible checkbox to do this. It seems that the css for .form-control has the width set to 100%. When this is removed with chrome developer tools the checkbox appears. 5.x.x branch for dspace and dspace-cris bootstrap.css and bootstrap-min.css Alastair -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace-Cris, RESTConnector and proxy
Sorry this is my fork: https://github.com/alastairduncan/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/authority/rest/RESTConnector.java Alastair From: alastair.dun...@stfc.ac.uk [mailto:alastair.dun...@stfc.ac.uk] Sent: 22 June 2015 09:52 To: hilton.gib...@gmail.com Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-Cris, RESTConnector and proxy Thanks Hilton, I’ve pushed this fix up to my fork of DSpace-Cris. https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/authority/rest/RESTConnector.java If required I can send a pull request. Alastair From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: 18 June 2015 18:02 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech Subject: Re: [Dspace-tech] DSpace-Cris, RESTConnector and proxy Hi Alastair, I noticed this right away from the DSpace docs. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Researcher_Identification/5.X/ORCID#Requirements I have added a warning, since I am not sure that all the DSpace code obeys the proxy settings. The proxy settings is a recent addition. Cheers hg Hilton Gibson Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 18 June 2015 at 17:05, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk wrote: Hi, The REST connector that is used to do the ORCID lookup fails if the service is behind a firewall and has to use a proxy. I’ve got this to work by getting the proxy from the dspace.cfg file and if its not blank then using this in the http request. It looks the same on the DSpace github. Is this an issue or have I missed some configuration mechanism for achieving this? Alastair -- ___ 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 -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace-Cris, RESTConnector and proxy
Thanks Hilton, I’ve pushed this fix up to my fork of DSpace-Cris. https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/authority/rest/RESTConnector.java If required I can send a pull request. Alastair From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: 18 June 2015 18:02 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech Subject: Re: [Dspace-tech] DSpace-Cris, RESTConnector and proxy Hi Alastair, I noticed this right away from the DSpace docs. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Researcher_Identification/5.X/ORCID#Requirements I have added a warning, since I am not sure that all the DSpace code obeys the proxy settings. The proxy settings is a recent addition. Cheers hg Hilton Gibson Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 18 June 2015 at 17:05, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk wrote: Hi, The REST connector that is used to do the ORCID lookup fails if the service is behind a firewall and has to use a proxy. I’ve got this to work by getting the proxy from the dspace.cfg file and if its not blank then using this in the http request. It looks the same on the DSpace github. Is this an issue or have I missed some configuration mechanism for achieving this? Alastair -- ___ 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 -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] ldap configuration
I've just setup the ldap authentication and I kept the PasswordAuthentication enabled. How else is the administrator supposed to log in? Can you connect up and search the ldap server you are using from an ldap client such as ldapsearch(http://linux.die.net/man/1/ldapsearch)? By doing this you can check to see if your configuration parameters are correct. Alastair From: Saidy Binta [mailto:bisa...@mrc.gm] Sent: 18 June 2015 14:13 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] FW: ldap configuration Can someone help me. Still waiting From: Saidy Binta [mailto:bisa...@mrc.gm] Sent: 18 June 2015 12:31 To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] ldap configuration Hi all, I am trying to use ldap login on dspace 5.1, but after rebuilding dspace. I just get a blank page. Please anyone access me. I don't know what is wrong and I attached the files. thanks DISCLAIMER: This message is private and confidential. If you have received this message in error please notify us and remove it from your system. Any views and opinions expressed in this message are those of the individual sender and do not necessarily represent the views and opinions of Medical Research Council Unit, The Gambia ___ This communication is confidential and may contain privileged information intended solely for the named recipient(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient, you must not copy, distribute, take any action or reliance on it. If you have received this communication in error, do not open any attachments but please notify the Help Desk by e-mailing h...@mrc.gmmailto:h...@mrc.gm quoting the sender details, and then delete this message along with any attached files. E-mail messages are not secure and attachments could contain software viruses which may damage your computer system. Whilst every reasonable precaution has been taken to minimise this risk, The MRC Unit The Gambia cannot accept any liability for any damage sustained as a result of these factors. You are advised to carry out your own virus checks before opening any attachments. Unless expressly stated, opinions in this message are those of the e-mail author and not of the Medical Research Council Unit The Gambia. DISCLAIMER: This message is private and confidential. If you have received this message in error please notify us and remove it from your system. Any views and opinions expressed in this message are those of the individual sender and do not necessarily represent the views and opinions of Medical Research Council Unit, The Gambia ___ This communication is confidential and may contain privileged information intended solely for the named recipient(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient, you must not copy, distribute, take any action or reliance on it. If you have received this communication in error, do not open any attachments but please notify the Help Desk by e-mailing h...@mrc.gmmailto:h...@mrc.gm quoting the sender details, and then delete this message along with any attached files. E-mail messages are not secure and attachments could contain software viruses which may damage your computer system. Whilst every reasonable precaution has been taken to minimise this risk, The MRC Unit The Gambia cannot accept any liability for any damage sustained as a result of these factors. You are advised to carry out your own virus checks before opening any attachments. Unless expressly stated, opinions in this message are those of the e-mail author and not of the Medical Research Council Unit The Gambia. -- ___ 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-Cris, RESTConnector and proxy
Hi, The REST connector that is used to do the ORCID lookup fails if the service is behind a firewall and has to use a proxy. I’ve got this to work by getting the proxy from the dspace.cfg file and if its not blank then using this in the http request. It looks the same on the DSpace github. Is this an issue or have I missed some configuration mechanism for achieving this? Alastair -- ___ 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-cris invalid db.name
I've checked out the 5.x.x branch and added the maven dependency but found that this then led on to a further missing dependency which was for the dspace-cris-jsp-api. The dspace-services is also required but this leads to a conflict with the ehcache dependency so it requires the exclusion of ehcache-core for the dspace-services. dependency groupIdorg.dspace/groupId artifactIddspace-services/artifactId exclusions exclusion groupIdnet.sf.ehcache/groupId artifactIdehcache-core/artifactId /exclusion /exclusions /dependency The services that now start in this order are, swordv2, rdf, solr, sword and xmlui Jspui fails with an out of memory exception. I've given tomcat 10G of memory and its still failing. I'll do a bit more investigation. Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 16 June 2015 16:24 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace-cris invalid db.name Hi, I've had a further dig into this and it seems that the db.name has been removed on dspace v 5.x.x but is still referenced in the cris version and so causes the problem. If I set the db.name = postgres in the build.properties file it is not propagated to the dspace.cfg file. If I set it directly in the dspace.cfg file then the exception goes away and it has a further exception: ERROR: column metadatavalue.item_id does not exist this problems has been resolved with https://github.com/Cineca/DSpace/commit/6578145e547db9f1468142e548ab1ce6c183102b Please use the dspace-5_x_x-cris branch, we will make a fix release in the next few days. The class not found exception occurs in the sword, sword2, rdf, rest and oai web applications if I remove these from the webapps directory then the errors go away. The classes in the dspace-api-CRIS-5.3.0.SNAPSHOT.jar files for these apps do not contain the CrisSearchService class but they do contain the SearchService class. Seems that there are a missing resources on classpath. You can found the CrisSearchService.class into dspace-cris-api-CRIS-5.3.0.SNAPSHOT.jar but perhaps the maven dependencies missed him. Try to add the dependency to webapps pom files and rebuild the application. e.g. dspace/modules/oai/pom.xml dependency groupIdorg.dspace/groupId artifactIddspace-cris-api/artifactId /dependency Thanks for your patience. Please keep us up-to-date with your progress, we hope to achieve a better release together. Best, Andrea Il 16/06/2015 15:20, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: I've had a further dig into this and it seems that the db.name has been removed on dspace v 5.x.x but is still referenced in the cris version and so causes the problem. If I set the db.name = postgres in the build.properties file it is not propagated to the dspace.cfg file. If I set it directly in the dspace.cfg file then the exception goes away and it has a further exception: ERROR: column metadatavalue.item_id does not exist I've had a look in the database and it is correct it does not exist. The class not found exception occurs in the sword, sword2, rdf, rest and oai web applications if I remove these from the webapps directory then the errors go away. The classes in the dspace-api-CRIS-5.3.0.SNAPSHOT.jar files for these apps do not contain the CrisSearchService class but they do contain the SearchService class. I'll move back to the 4.3.0 version for the present. Alastair From: alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk [mailto:alastair.dun...@stfc.ac.uk] Sent: 02 June 2015 11:10 To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Dspace-cris invalid db.name Hi, I've setup dspace-cris v 5.2.0 and this starts up and I can login ok. I've added in the default CRIS objects and can browse to these ok. This suggests that the db.name is valid. When I try and create a researcher page and save this an Internal exception is thrown which states that there is an invalid db.name: java.lang.IllegalStateException: The configuration for db.name is either invalid, or contains an unrecognised database at org.dspace.content.authority.AuthorityDAOFactory.getInstance(AuthorityDAOFactory.java:42) at org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:134) at it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116) I don't get this problem with v 4.3.0 Any ideas? There are a few other problems when the system starts but these do not seem to be a problem yet as I've not done any searching: Failed to startup the DSpace Service Manager: failure starting up spring
Re: [Dspace-tech] Dspace-cris invalid db.name
I've removed the oai, rdf and sword apps and this runs ok the problems with the db.name and missing column have gone away. I've kept the xmlui, even though it is not integrated it seems to be not far off with just a few glitches in the browse section of the interface. My next task is to see if I can hook this into Active directory for authentication. Pull request made. Thanks Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 17 June 2015 13:28 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace-cris invalid db.name Ok, I did not experienced an OutOfMemoryException during the test phase before the tag, usually I run DSpace-CRIS less than 2GB. Maybe you are running all the webapps under the same Tomcat (in particular you can remove xmlui because is not fully integrated in DSpace-CRIS, is just a starting point to allow other to jump in) Please send a pull request on github with all your modifications. Thank you. Andrea Il 17/06/2015 13:51, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: I've checked out the 5.x.x branch and added the maven dependency but found that this then led on to a further missing dependency which was for the dspace-cris-jsp-api. The dspace-services is also required but this leads to a conflict with the ehcache dependency so it requires the exclusion of ehcache-core for the dspace-services. dependency groupIdorg.dspace/groupId artifactIddspace-services/artifactId exclusions exclusion groupIdnet.sf.ehcache/groupId artifactIdehcache-core/artifactId /exclusion /exclusions /dependency The services that now start in this order are, swordv2, rdf, solr, sword and xmlui Jspui fails with an out of memory exception. I've given tomcat 10G of memory and its still failing. I'll do a bit more investigation. Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 16 June 2015 16:24 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace-cris invalid db.name Hi, I've had a further dig into this and it seems that the db.name has been removed on dspace v 5.x.x but is still referenced in the cris version and so causes the problem. If I set the db.name = postgres in the build.properties file it is not propagated to the dspace.cfg file. If I set it directly in the dspace.cfg file then the exception goes away and it has a further exception: ERROR: column metadatavalue.item_id does not exist this problems has been resolved with https://github.com/Cineca/DSpace/commit/6578145e547db9f1468142e548ab1ce6c183102b Please use the dspace-5_x_x-cris branch, we will make a fix release in the next few days. The class not found exception occurs in the sword, sword2, rdf, rest and oai web applications if I remove these from the webapps directory then the errors go away. The classes in the dspace-api-CRIS-5.3.0.SNAPSHOT.jar files for these apps do not contain the CrisSearchService class but they do contain the SearchService class. Seems that there are a missing resources on classpath. You can found the CrisSearchService.class into dspace-cris-api-CRIS-5.3.0.SNAPSHOT.jar but perhaps the maven dependencies missed him. Try to add the dependency to webapps pom files and rebuild the application. e.g. dspace/modules/oai/pom.xml dependency groupIdorg.dspace/groupId artifactIddspace-cris-api/artifactId /dependency Thanks for your patience. Please keep us up-to-date with your progress, we hope to achieve a better release together. Best, Andrea Il 16/06/2015 15:20, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: I've had a further dig into this and it seems that the db.name has been removed on dspace v 5.x.x but is still referenced in the cris version and so causes the problem. If I set the db.name = postgres in the build.properties file it is not propagated to the dspace.cfg file. If I set it directly in the dspace.cfg file then the exception goes away and it has a further exception: ERROR: column metadatavalue.item_id does not exist I've had a look in the database and it is correct it does not exist. The class not found exception occurs in the sword, sword2, rdf, rest and oai web applications if I remove these from the webapps directory then the errors go away. The classes in the dspace-api-CRIS-5.3.0.SNAPSHOT.jar files for these apps do not contain the CrisSearchService class but they do contain the SearchService class. I'll move back to the 4.3.0 version for the present. Alastair From: alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk [mailto:alastair.dun...@stfc.ac.uk] Sent: 02 June 2015 11:10 To:
Re: [Dspace-tech] Dspace-cris invalid db.name
I've had a further dig into this and it seems that the db.name has been removed on dspace v 5.x.x but is still referenced in the cris version and so causes the problem. If I set the db.name = postgres in the build.properties file it is not propagated to the dspace.cfg file. If I set it directly in the dspace.cfg file then the exception goes away and it has a further exception: ERROR: column metadatavalue.item_id does not exist I've had a look in the database and it is correct it does not exist. The class not found exception occurs in the sword, sword2, rdf, rest and oai web applications if I remove these from the webapps directory then the errors go away. The classes in the dspace-api-CRIS-5.3.0.SNAPSHOT.jar files for these apps do not contain the CrisSearchService class but they do contain the SearchService class. I'll move back to the 4.3.0 version for the present. Alastair From: alastair.dun...@stfc.ac.uk [mailto:alastair.dun...@stfc.ac.uk] Sent: 02 June 2015 11:10 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Dspace-cris invalid db.name Hi, I've setup dspace-cris v 5.2.0 and this starts up and I can login ok. I've added in the default CRIS objects and can browse to these ok. This suggests that the db.name is valid. When I try and create a researcher page and save this an Internal exception is thrown which states that there is an invalid db.name: java.lang.IllegalStateException: The configuration for db.name is either invalid, or contains an unrecognised database at org.dspace.content.authority.AuthorityDAOFactory.getInstance(AuthorityDAOFactory.java:42) at org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:134) at it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116) I don't get this problem with v 4.3.0 Any ideas? There are a few other problems when the system starts but these do not seem to be a problem yet as I've not done any searching: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92) This is the final problem which eventually results in a null pointer in the DspaceContextListener. Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dspace.eventService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null Any help is appreciated. Alastair -- ___ 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-cris invalid db.name
Hi, I've setup dspace-cris v 5.2.0 and this starts up and I can login ok. I've added in the default CRIS objects and can browse to these ok. This suggests that the db.name is valid. When I try and create a researcher page and save this an Internal exception is thrown which states that there is an invalid db.name: java.lang.IllegalStateException: The configuration for db.name is either invalid, or contains an unrecognised database at org.dspace.content.authority.AuthorityDAOFactory.getInstance(AuthorityDAOFactory.java:42) at org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:134) at it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116) I don't get this problem with v 4.3.0 Any ideas? There are a few other problems when the system starts but these do not seem to be a problem yet as I've not done any searching: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [org.dspace.app.cris.discovery.CrisSearchService] nested exception is java.lang.ClassNotFoundException: org.dspace.app.cris.discovery.CrisSearchService at org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:92) This is the final problem which eventually results in a null pointer in the DspaceContextListener. Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dspace.eventService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()] threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null Any help is appreciated. Alastair -- ___ 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-cris
Hi Luigi, On both of the urls I get document not found. I've logged in as administrator and from the chrome developer tools you can see I've navigated from http://hostname /jspui/cris/administrator/rp/index.htm I've removed the hostname and ip address. Remote Address:ipaddress:80 Request URL:http:// hostname /jspui/cris/administrator/rp/listTabs.htm Request Method:GET Status Code:404 /jspui/dspace-cris//tabs/tabList.jsp Response Headers view source Content-Language:en-GB Content-Type:text/html; charset=UTF-8 Server:Jetty(9.2.9.v20150224) Transfer-Encoding:chunked Request Headers view source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding:gzip, deflate, sdch Accept-Language:en-GB,en-US;q=0.8,en;q=0.6 Connection:keep-alive Cookie:JSESSIONID=15ns92zschful14giohx8r3seg Host: hostname Referer:http:// hostname /jspui/cris/administrator/rp/index.htm I suspect the internal server error may have been a cut paste error by me :-/ but the document not found error can't be as I'm navigating via the user interface. Thanks Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 28 May 2015 17:05 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-cris Hi Alastair, from the stacktrace I see that you have a strange call to the controller that manages the metadata configuration of DSpace-CRIS entities. I try to explain better. First, I think you trying to reach createTabs.htm page directly and the logs error show this: at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.extractDynamicObject(DynamicObjectDetailsController.java:238) at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.handleDetails(DynamicObjectDetailsController.java:79) Whoops, this controller manages the details of dynamic entities but there is another controller that does the createTabs work under the scene. Try to log in with an administrator user and hit from the browser this url (please change host:port with your and remove jspui if you have another context settings for the jspui webapp): http://host:port/jspui/cris/administrator/rp/listTabs.htm http://host:port/jspui/cris/administrator/rp/createTabs.htm This should be the correct url to list or create the tabs for Researcher Profile. I'm assuming that you writing the url directly but this issue happens also if you reach the page using administration links? (Administer- Cris Module- Researchers Pages - Layout configuration (Public view)) Note that the error that you are reporting will be shown also if you remove the code of the entity (rp, pj, ou, journals, etc..) from url e.g /jspui/cris/administrator//listTabs.htm (missing rp should be shown Document not found and the error reported in your stacktrace). Let me know. Luigi Andrea Il 28/05/2015 15:37, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: Sending again as I was not registered on the mailing list :-O Alastair From: Duncan, Alastair (STFC,RAL,SC) Sent: 28 May 2015 09:54 To: 'Andrea Bollini' Cc: 'dspace-tech' Subject: RE: DSpace-cris Hi Andrea, Sorry this is an installation behind a firewall, I'm looking at it to see if it is suitable for our needs. The listTabs.htm causes a document not found error to be displayed in the browser with nothing in the log files : Error: Document Not Found The createTabs.htm causes an InternalSystemError to be displayed in the browser with this exception in the log files snipped to show the cause : Caused by: java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:87) at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:59) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2421) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:974) at it.cilea.osd.common.dao.impl.GenericDaoHibernateImpl.read(GenericDaoHibernateImpl.java:85) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at it.cilea.osd.common.dao.impl.NamedQueryIntroductionAdvisor$1.invoke(NamedQueryIntroductionAdvisor.java:94)
Re: [Dspace-tech] DSpace-cris
I had the same thought and have just installed it in Tomcat and it is up and working. Thanks for the help. Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 29 May 2015 09:56 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-cris Hi Alastair, Server:Jetty(9.2.9.v20150224) Sorry, but Jetty is not fully supported by DSpace-CRIS (see http://cineca.github.io/dspace-cris/installation-stepbystep.html we suggest use of Tomcat). DSpace support Jetty but DSpace-CRIS uses an advanced configuration of the spring mvc framework and surely there is a little issue with the resolution of the path that match an url (see https://github.com/Cineca/DSpace/blob/dspace-4_x_x-cris/dspace-cris/jspui-webapp/src/main/webapp/WEB-INF/springmvc-rp-servlet.xml). If you have time to work for fully compliance with Jetty in DSpace-CRIS you are welcome! Best, Luigi Andrea Il 29/05/2015 09:50, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: Hi Luigi, On both of the urls I get document not found. I've logged in as administrator and from the chrome developer tools you can see I've navigated from http://hostname /jspui/cris/administrator/rp/index.htm I've removed the hostname and ip address. Remote Address:ipaddress:80 Request URL:http:// hostname /jspui/cris/administrator/rp/listTabs.htm Request Method:GET Status Code:404 /jspui/dspace-cris//tabs/tabList.jsp Response Headers view source Content-Language:en-GB Content-Type:text/html; charset=UTF-8 Server:Jetty(9.2.9.v20150224) Transfer-Encoding:chunked Request Headers view source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding:gzip, deflate, sdch Accept-Language:en-GB,en-US;q=0.8,en;q=0.6 Connection:keep-alive Cookie:JSESSIONID=15ns92zschful14giohx8r3seg Host: hostname Referer:http:// hostname /jspui/cris/administrator/rp/index.htm I suspect the internal server error may have been a cut paste error by me :-/ but the document not found error can't be as I'm navigating via the user interface. Thanks Alastair From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it] Sent: 28 May 2015 17:05 To: Duncan, Alastair (STFC,RAL,SC) Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace-cris Hi Alastair, from the stacktrace I see that you have a strange call to the controller that manages the metadata configuration of DSpace-CRIS entities. I try to explain better. First, I think you trying to reach createTabs.htm page directly and the logs error show this: at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.extractDynamicObject(DynamicObjectDetailsController.java:238) at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.handleDetails(DynamicObjectDetailsController.java:79) Whoops, this controller manages the details of dynamic entities but there is another controller that does the createTabs work under the scene. Try to log in with an administrator user and hit from the browser this url (please change host:port with your and remove jspui if you have another context settings for the jspui webapp): http://host:port/jspui/cris/administrator/rp/listTabs.htm http://host:port/jspui/cris/administrator/rp/createTabs.htm This should be the correct url to list or create the tabs for Researcher Profile. I'm assuming that you writing the url directly but this issue happens also if you reach the page using administration links? (Administer- Cris Module- Researchers Pages - Layout configuration (Public view)) Note that the error that you are reporting will be shown also if you remove the code of the entity (rp, pj, ou, journals, etc..) from url e.g /jspui/cris/administrator//listTabs.htm (missing rp should be shown Document not found and the error reported in your stacktrace). Let me know. Luigi Andrea Il 28/05/2015 15:37, alastair.dun...@stfc.ac.ukmailto:alastair.dun...@stfc.ac.uk ha scritto: Sending again as I was not registered on the mailing list :-O Alastair From: Duncan, Alastair (STFC,RAL,SC) Sent: 28 May 2015 09:54 To: 'Andrea Bollini' Cc: 'dspace-tech' Subject: RE: DSpace-cris Hi Andrea, Sorry this is an installation behind a firewall, I'm looking at it to see if it is suitable for our needs. The listTabs.htm causes a document not found error to be displayed in the browser with nothing in the log files : Error: Document Not Found The createTabs.htm causes an InternalSystemError to be displayed in the browser with this exception in the log files snipped to show the cause : Caused by: java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:87) at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:59) at
Re: [Dspace-tech] DSpace-cris
Sending again as I was not registered on the mailing list :-O Alastair From: Duncan, Alastair (STFC,RAL,SC) Sent: 28 May 2015 09:54 To: 'Andrea Bollini' Cc: 'dspace-tech' Subject: RE: DSpace-cris Hi Andrea, Sorry this is an installation behind a firewall, I'm looking at it to see if it is suitable for our needs. The listTabs.htm causes a document not found error to be displayed in the browser with nothing in the log files : Error: Document Not Found The createTabs.htm causes an InternalSystemError to be displayed in the browser with this exception in the log files snipped to show the cause : Caused by: java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:87) at org.hibernate.event.spi.LoadEvent.init(LoadEvent.java:59) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2421) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:974) at it.cilea.osd.common.dao.impl.GenericDaoHibernateImpl.read(GenericDaoHibernateImpl.java:85) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at it.cilea.osd.common.dao.impl.NamedQueryIntroductionAdvisor$1.invoke(NamedQueryIntroductionAdvisor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy234.read(Unknown Source) at it.cilea.osd.common.service.PersistenceService.get(PersistenceService.java:163) at it.cilea.osd.common.service.PersistenceService$$FastClassByCGLIB$$b40d0435.invoke(generated) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at org.dspace.app.cris.service.ApplicationService$$EnhancerByCGLIB$$63de70c9.get(generated) at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.extractDynamicObject(DynamicObjectDetailsController.java:238) at org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.handleDetails(DynamicObjectDetailsController.java:79) at it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) ... 33 more Alastair From: Andrea Bollini [mailto:a.boll...@cineca.it] Sent: 28 May 2015 08:46 To: Duncan, Alastair (STFC,RAL,SC) Subject: Re: DSpace-cris Hi Alastair, as we want to keep DSpace-CRIS as close as possible to the mainstream DSpace community we have decided to not setup a dedicated mailing list. To get support you can write directly to the dspace-tech mailing list (dspace-tech dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net), put dspace-cris somewhere in the subject is enough to get folks from Cineca or other users of DSpace-CRIS aware of your request. The issue that you report is something