Re: [Dspace-tech] Statistics issues - upgrading DSpace in 2 phases
On Mon, Feb 24, 2014 at 3:27 AM, Alexander Wong amd...@gmail.com wrote: 1. Capture a snapshot of DSpace 1.5 and then do all the upgrade there. I will perform all the statistical upgrade for the snapshot. All contents except for the log/stats will be frozen at then. 2. After all the upgrade is done, the snapshot will go live replacing the original production 1.5. Sounds good. If you'll be upgrading via ant update and not ant fresh_install, don't forget you need to upgrade to DSpace 3 first, run the Solr optimize command and then upgrade to DSpace 4 as described in the upgrading instructions. See the upgrading notes on upgrading over multiple versions. Check the system requirements since they will be quite different between 1.5 and 4 - especially Java, Postgres, Maven versions. I am wondering if there are any ways for me to import the differential logs/stats for the case. IIRC, in DSpace 1.5 there was only one type of statistics available - generated from log files. So it should be easy to just copy over the missing part of the log file and then generate the statistics as usual. Then if you decide to migrate to Solr stats or ES stats, the normal process applies. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Unable to delete Community
Hi Mike, for a safe option, try to run index-init with the -r and -f parameters (see -h). The reindex will take a while, depending on the size of your repo, so prepare for the downtime. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Ldap Authentification and profile
Hi Stefanie, as you can see, I don't have a solution for you right now, sorry about that. But if either of the LDAP modules in 1.8 worked for you, you can still use it with DSpace 3 and 4 (along with its corresponding configuration file from 1.8). The auth modules API hasn't changed since at least 1.5. IIRC, the 1.8 modules didn't support mapping LDAP users into more than one group. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Import researchers from XML in DSpace CRIS module by CINECA
Hi, First of all, congratulations toyou and your team for DSpace CRIS module. Good job! In my company, we want to implement, so I install DSpace 3.2 + CRIS module and everything it's fine. At now, I want to import a big number of people (researcher) from XML. It is possible? Is there any script (for examplein dspace/bin) to do this function? Or I have to import directly in database? I don't know how I can do this... I see in poster of DSpace + CRIS Moduel (http://cineca.github.io/dspace-cris/doc/dspace-cris-poster.pdf) that says 'Import/Export from XML' I've read the technical documentations of module (congratulations for these documentation, great work) but can't find any reference about import researcher from XML... Thanks in advance, Daniel -- - no title specified Daniel Garcia Mejia Tècnic de projectes - Càlcul i Aplicacions Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2 (Edifici Nexus) ?08034 Barcelona T. 93 551 6210 ?F. 93 205 6979 ?daniel.gar...@csuc.cat www.csuc.cat ?Twitter @CSUC_info ?Facebook ?Linkedin Subscriu-te al butlletí; (www.csuc.cat/butlleti) -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Unable to delete Community
for a safe option, try to run index-init with the -r and -f parameters (see -h). The reindex will take a while, depending on the size of your repo, so prepare for the downtime. Thanks for the suggestion - I will try this during our early morning at risk period tomorrow so as to minimise the impact. Cheers, Mike Michael White eLearning Liaison and Development (eLD) Information Services S8, Library University of Stirling Stirling SCOTLAND FK9 4LA Email: michael.wh...@stir.ac.uk Tel: +44 (0) 1786 466877 Fax: +44 (0) 1786 466880 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 24 February 2014 10:10 To: Michael White Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Unable to delete Community Hi Mike, for a safe option, try to run index-init with the -r and -f parameters (see -h). The reindex will take a while, depending on the size of your repo, so prepare for the downtime. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- The University of Stirling has been ranked in the top 12 of UK universities for graduate employment*. 94% of our 2012 graduates were in work and/or further study within six months of graduation. *The Telegraph The University of Stirling is a charity registered in Scotland, number SC 011159. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Statistics not working after upgrading Dspace
Hello, I discovered that the problem was due to the cron jobs: In order that statistical reports are generated regularly and thus kept up to date you should set up the following cron jobs: # Run stat analysis 0 1 * * * [dspace]/bin/dspace stat-general 0 1 * * * [dspace]/bin/dspace stat-monthly 0 2 * * * [dspace]/bin/dspace stat-report-general 0 2 * * * [dspace]/bin/dspace stat-report-monthly Regards, - David - .. -Mensaje original- De: David Abeijón [mailto:david.abei...@uca.es] Enviado el: viernes, 21 de febrero de 2014 12:52 Para: dspace-tech@lists.sourceforge.net Asunto: [Dspace-tech] Statistics not working after upgrading Dspace Hello, Since I upgraded our Dspace repository from v1.6.2 to 1.7.2, the statistics report is not showing information: http://web-address-to-my-dspace/xmlui/statistics; It shows the message reports not available at this moment. The weird thing is that I can see statistics for each item: http://web-address-to-my-dspace/xmlui/handle/15469/12371/statistics; and the total visits in http://web-address-to-my-dspace/xmlui/statistics-home; I tested SOLR and it is responding queries like : http://localhost:8080/solr/search/select/?q=*:*rows=0; or http://localhost:8080/solr/statistics/select?q=*:*; Any idea? Thank you, - David - .. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/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 -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Internal System Error after loading jspui
Hello, I have reinstalled Dspace, this time with a Tomcat downloaded from the Apache site and not from the the Linux distribution repositories. After some configuration for dspace user I have finaly installed a Dspace with no Internal System Error from the jspui page. When I have time I amb going to post my own guide of Dspace installation on an Ubuntu 12.04 LTS. Thank you for you help. -- Sergi - Original Message - From: sergi.garcia sergi.gar...@eug.es To: dspace-tech@lists.sourceforge.net Sent: Jueves, 20 de Febrero 2014 15:00:06 Subject: [Dspace-tech] Internal System Error after loading jspui Hi, After installing Dspace 4.0 a I point my browser to the JSP User Interface: http://dspace.eug.es:8081/jspui The Web page shows an Internal System Error message at the bottom. The XML User Interface, Works fine: http://dspace.eug.es:8081/xmlui I look for the Tomcat logs for error messages and I found the following error message. First of all I amb going to show you my hosts file: 127.0.0.1 localhost 127.0.0.1 dspace.eug.es dspace And here comes my error message: Feb 20, 2014 2:36:17 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [jsp] in context with path [/jspui] threw exception [org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 59 56: SiteHomeProcessor[] chp = (SiteHomeProcessor[]) PluginManager.getPluginSequence(SiteHomeProcessor.class); 57: for (int i = 0; i chp.length; i++) 58: { 59: chp[i].process(context, request, response); 60: } 61: } 62: catch (Exception e) Stacktrace:] with root cause org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at http://dspace.eug.es:8081/solr/search returned non ok status:500, message:Internal Server Error at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1556) at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189) at org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:288) at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:164) at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:89) at org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47) at org.apache.jsp.index_jsp._jspService(index_jsp.java:120) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at
Re: [Dspace-tech] replace a bitstream
Sending this question out again. Could someone verify this. On Wed, Feb 19, 2014 at 1:41 PM, Jose Blanco blan...@umich.edu wrote: One of our users has loaded an item with one bitstream. He would like to replace the bitstream to be able to use the same url as the existing bitstream. I see that if I delete the bitstream and add a new one, the sequence_id number is increased and the url changes, so I would like to issue a sql command to change the sequence_id in bitstream table to the old sequence_id so the url stays the same. I have tried this in my development environment, and it worked fine. From looking at the code I don't think this will screw up discovery or lucene indexing ( I don't see sequence_id being used there), so I think it is safe to do this. I just want to make sure before I do this in production. We don't expect this to happen again, and want to accommodate this user. Could someone verify that doing this will not screw something else up. Many thanks! Jose -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] replace a bitstream
But if I do change thee sequence_id it wont affect anything, right? I think that's what you're saying also. but want to confirm. Thank you! Jose On Mon, Feb 24, 2014 at 9:18 AM, helix84 heli...@centrum.sk wrote: Hi Jose, you can use the bitstream URL without the sequence_id (without anything after the question mark) perfectly fine. Don't worry about what the sequence_id is as long as they're in the order you want. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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 -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] replace a bitstream
sequence_id doesn't affect anything but ordering of bitstreams in the UIs. Bitstreams are uniquely identifiable without sequence_id. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/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] Text alignment in browse table
Thanks for your response Keiji Suzuki. I tried your suggestion and got the following error: ... [ERROR] Failed to execute goal on project jspui: Could not resolve dependencies for project org.dspace.modules:jspui:war:4.0: Could not find artifact javax.servlet:jsp-api:jar:2.5 in sonatype-releases ( http://oss.sonatype.org/content/repositories/releases/) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :jspui Any ideas on how to proceed? Thanks again! Regards, Shazia On Fri, Feb 21, 2014 at 6:47 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Shazia, Add the following lines under the dependencies element in [dspace-src]/dspace/modules/jspui/pom.xml -- form here dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.5/version scopeprovided/scope /dependency --- end -- Regards, Keiji Suzuki 2014-02-22 3:36 GMT+09:00 Shazia Sathar ssat...@uic.edu: Hello All, I would like to make a few changes to the text alignment in the Browse table. Looks like the dspace tag dspace:browselist is used to display the items. I tried to align the date field to left. Here is what I did. I modified dspace-src\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java as below: if (isDate[colIdx]) { extras = nowrap=\nowrap\ align=\left\; } and placed the new version in dspace-src\dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag When I tried to build DSpace by running mvn clean package I get compilation errors: .. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project jspui: Compilation failure: Compilation failure: [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package javax.servlet.jsp does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package javax.servlet.jsp does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package javax.servlet.jsp. tagext does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find symbol [ERROR] symbol: class TagSupport [ERROR] public class BrowseListTag extends TagSupport [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[141,35] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[800,19] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[859,19] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,8] cannot find symbol [ERROR] symbol : class JspWriter [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,24] cannot find symbol [ERROR] symbol : variable pageContext ... Any ideas on how I can proceed with setting the alignment to left? I am using DSpace v4 and run JSPUI version on Windows. I have attached a screenshot of how it looks now. Thanks in advance for your help! Regards, Shazia -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___
[Dspace-tech] Using LDAP in Dspace 4.0
Hi all, I can't achieve that Dspace 4.0 create a new user using the email as the user account. I prove using the netid_email_domain = @itcr.ac.cr with no positive results. Reviewing the dspace.log for the installation 4.0 and 3.2 I find the following differences: Dspace 3.2 version 2014-02-21 11:24:16,097 INFO org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:authenticate:attempting password auth of user=biblioteca 2014-02-21 11:24:16,098 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:auth:attempting trivial auth of user=biblioteca 2014-02-21 11:24:16,109 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:autoregister:netid=biblioteca 2014-02-21 11:24:16,120 INFO org.dspace.eperson.EPerson @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:create_eperson:eperson_id=4 2014-02-21 11:24:16,136 INFO org.dspace.eperson.EPerson @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:update_eperson:eperson_id=4 2014-02-21 11:24:16,140 INFO org.dspace.event.EventManager @ 2014-02-21 11:24:27,172 INFO org.dspace.eperson.EPersonConsumer @ anonymous:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:registerion_alert:user=bibliot...@itcr.ac.cr 2014-02-21 11:24:27,173 INFO org.dspace.authenticate.LDAPAuthentication @ bibliot...@itcr.ac.cr:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:authenticate:type=ldap-login, created ePerson 2014-02-21 11:24:27,173 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ bibliot...@itcr.ac.cr:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:login:type=explicit 2014-02-21 11:24:27,305 INFO org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @ bibliot...@itcr.ac.cr:session_id=B7C93D84A33CE671CA7968B4C70D78CE:ip_addr=172.17.24.237:view_community_list: 2 Dspace 4.0 version 2014-02-24 10:38:46,614 INFO org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:authenticate:attempting password auth of user=biblioteca 2014-02-24 10:38:46,615 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:auth:attempting trivial auth of user=biblioteca 2014-02-24 10:38:46,652 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:autoregister:netid=biblioteca 2014-02-24 10:38:46,656 INFO org.dspace.eperson.EPerson @ anonymous:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:create_eperson:eperson_id=16 2014-02-24 10:38:46,658 INFO org.dspace.eperson.EPerson @ anonymous:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:update_eperson:eperson_id=16 2014-02-24 10:38:46,659 INFO org.dspace.authenticate.LDAPAuthentication @ biblioteca:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:authenticate:type=ldap-login, created ePerson 2014-02-24 10:38:46,661 INFO org.dspace.eperson.EPerson @ biblioteca:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:update_eperson:eperson_id=16 2014-02-24 10:38:46,661 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ biblioteca:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:login:type=explicit 2014-02-24 10:38:46,862 INFO org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @ biblioteca:session_id=A77CB392320971AB99D1DA4FE8D12946:ip_addr=172.17.24.237:view_community_list: 2014-02-24 10:38:46,862 INFO org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for scope, null: 3 ~ In some mails of DSpace-tech about LDAP authentication I read that I can use the modules of previous version since there is no change in the plugin. Who can I do that in order to recover the functionality have in 3.2? Regards, Ing. Oscar Sánchez G., MAE Profesional en TI Biblioteca José Figueres Ferrer Instituto Tecnológico de Costa Rica * Tel: 2550-2135 7 Fax: 2591-4820 * Apdo Postal: 159-7050 -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Installing Dspace 4.x on a server running tomcat behind apache that also runs drupal - can't access dspace
Hi Charlene: I'm no networking expert, but here are my general thoughts. 1) I imagine accessing a file directly (e.g. /ccn/sitemap.xmap) works, because it sounds like DSpace is being stored in the DocumentRoot of Apache. However, since DSpace isn't being served directly by Apache, I don't see why they would've told you to put it there :S. It could (perhaps even 'should') be somewhere else, since Tomcat is the only thing that needs to access DSpace directly. Apache (httpd) should just be acting as a proxy. 2) How is Tomcat configured? Check out Tomcat's server.xml (or the other xml files you might've created to store your webapp config in). What paths are used? What port is used? Following standard instructions, I'm guessing port 8080 and /xmlui. If you go to your virtual server's IP address followed by that port and path (e.g. www.example.com:8080/xmlui), do you see DSpace? 3) Connect Apache (httpd) and Tomcat. I haven't used .htaccess files for a while (since I've had access to the virtual host configuration) and I tend to use mod_proxy rather than mod_rewrite, so I'm not much help with that RewriteRule. Here is a non-DSpace example using mod_proxy though (which is dead easy): http://tomcat.apache.org/connectors-doc-archive/jk2/proxy.html. I tend to run Tomcat on 8080 so I would write something like the following in an Apache vhost running on port 80: ProxyPass /xmlui http://localhost:8080/xmlui http://localhost:8080/xmlui ProxyPassReverse /xmlui http://localhost:8080/xmlui http://localhost:8080/xmlui If you're running your xmlui as the default webapp in Tomcat, it would be something like : ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ It looks like you're using mod_proxy_ajp, which I've never used but there's some info here: http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html Looks like the same thing except using ajp and thus 8009 which appears to be the port associated with the AJP connector. You might be running into issues there but I have no idea. In any case, you should be able to use the above Proxy directives when using a .htaccess file as well, except that the root (i.e. /) will be the directory in which your htaccess file resides (I think). So, if I understand correctly, the following rule should work provided that ccn is your xmlui webapp. If ccn isn't the name that denotes your xmlui webapp in your Tomcat config, you're probably going to run into trouble. RewriteRule ^(/.*)$ ajp://localhost:8009/ccn/$1 [P,L] 4) Other thoughts.if you're getting 403 errors.make sure that Tomcat can read the DSpace directory. You might also want to check the Apache config to make sure that there isn't an Apache directive that is controlling access to that directory. Ultimately, I would just to see if you can access DSpace through Tomcat, and if so, then try to work out the proxy. Good luck! -David From: Charlene Chinda Barina [mailto:cbar...@uw.edu] Sent: Friday, 21 February 2014 3:32 AM To: dspace-tech Subject: [Dspace-tech] Installing Dspace 4.x on a server running tomcat behind apache that also runs drupal - can't access dspace Hi, I'm a bit confused about what's going on in this installation. We're on a virtual server and they are running tomcat behind apache. They've told me to create a subdirectory in /www for dspace, and using tomcat manager, which is www/ccn, I was able to successfully deploy the xmlui webapp from that (according to what tomcat manager says). The problem is, I can't seem to figure out how to actually access the site. I've tried the url in a brower with the server IP address/ccn, and it gives me a 403 forbidden. I've also tried the link directly from the server in lynx with localhost/ccn and it still gives me a 403 forbidden. I've changed build.properties baseurl and url files to all sorts of variations of the IP address, localhost, using no ports, using ports 80 and 8080 explicitly, and nothing going. In case this is useful to know, the admins also said I had to use a .htaccess files with something like this: RewriteRule ^(/.*)$ ajp://localhost:8009/ccn/$1 [P,L] If I try to access a file directly, e.g., /ccn/sitemap.xmap, it does load up. The other piece is that the main site is running on drupal, which does url rewrites(?)/redirects(?) as well, such as www.website/contact http://www.website/contact , so I am wondering if this is affecting my attempts to get dspace on the site as a subdirectory. Greatly appreciate any ideas, insights, or thoughts on how I could actually see the site. Thanks, Charlene -- Charlene Barina, MPH Research Analyst 2, U.S. IMPACT Study The Information School 303-359-6347 | Skype: cbarina facebook.com/ImpactSurvey http://facebook.com/ImpactSurvey | twitter.com/impactsurvey http://twitter.com/impactsurvey -- Flow-based
Re: [Dspace-tech] Text alignment in browse table
Hi Shazia, I am sorry but I wrote the wrong version number. Please change the value of version element form 2.5 to 2.0 Regards, Keiji Suzuki 2014-02-25 0:41 GMT+09:00 Shazia Sathar ssat...@uic.edu: Thanks for your response Keiji Suzuki. I tried your suggestion and got the following error: ... [ERROR] Failed to execute goal on project jspui: Could not resolve dependencies for project org.dspace.modules:jspui:war:4.0: Could not find artifact javax.servlet:jsp-api:jar:2.5 in sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :jspui Any ideas on how to proceed? Thanks again! Regards, Shazia On Fri, Feb 21, 2014 at 6:47 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Shazia, Add the following lines under the dependencies element in [dspace-src]/dspace/modules/jspui/pom.xml -- form here dependency groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.5/version scopeprovided/scope /dependency --- end -- Regards, Keiji Suzuki 2014-02-22 3:36 GMT+09:00 Shazia Sathar ssat...@uic.edu: Hello All, I would like to make a few changes to the text alignment in the Browse table. Looks like the dspace tag dspace:browselist is used to display the items. I tried to align the date field to left. Here is what I did. I modified dspace-src\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java as below: if (isDate[colIdx]) { extras = nowrap=\nowrap\ align=\left\; } and placed the new version in dspace-src\dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag When I tried to build DSpace by running mvn clean package I get compilation errors: .. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project jspui: Compilation failure: Compilation failure: [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package javax.servlet.jsp does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package javax.servlet.jsp does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package javax.servlet.jsp. tagext does not exist [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find symbol [ERROR] symbol: class TagSupport [ERROR] public class BrowseListTag extends TagSupport [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[141,35] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[800,19] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[859,19] cannot find symbol [ERROR] symbol : class JspException [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,8] cannot find symbol [ERROR] symbol : class JspWriter [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag [ERROR] \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,24] cannot find symbol [ERROR] symbol : variable pageContext ... Any ideas on how I can proceed with setting the alignment to left? I am using DSpace v4 and run JSPUI version on Windows. I have attached a screenshot of how it looks now. Thanks in advance for your help! Regards, Shazia -- Managing the Performance of Cloud-Based