[Dspace-tech] Cocoon Logs
Is there any reason why I should not delete old cocoon logs? Sean -- Sean Carte DUT E-Repository Administrator +27 72 898 8775 +27 31 373 5761 fax: +27 86 674 1254 http://ir.dut.ac.za -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace 1.8.2 : registering error
Hi, So I found the solutions. In my case, with LDAP and passord authentication, you need to : * For password registration ( and not LDAP registration ): You need to change the JSP new-ldap-user : Put the netid et password form hidden : input type=hidden name=netid input type=hidden name=password Let only show the mail form. Dspace will send to the user an email to activate his account. And in this page, I will have to fill his name, surname, password. But, the administrator will receive by mail a non blocking error because Dspace tries to show 2 JSP : new-ldap-user and new-user To avoid this, you need to change the source code of dspace in : \dspace-1.8.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\servlet\RegisterServlet.java Line 101 : comment this : JSPManager.showJSP(request, response, /register/new-user.jsp); Deploy Dspace and that's all. Le 27/09/2012 17:41, Pottinger, Hardy J. a écrit : Hi, François, it's possible the problem you have found may have something to do with this issue: https://jira.duraspace.org/browse/DS-1007 But, I think it's likely you've found a new issue specific to the LDAP AuthN code. I'd suggest opening a Jira ticket for this issue http://jira.dspace.org/ and include any patches/workarounds you find which help with the problem. This will help us track down, and possibly fix, the problem. Posting workarounds in a Jira ticket will help others who may encounter the issue. Thanks! -- HARDY POTTINGERpottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 9/27/12 6:37 AM, François Lefebvrefrancois.lefeb...@univ-lille1.fr wrote: Hi, Thanks for your answer. I think I found a beginning of a solution : In RegisterServlet.java ( line 298 ), Dspace try to add new users in the LDAP. But He can't. So, to avoid this, I play with the conditions. I change the JSP new-ldap-user. In this file, you can write your mail only. So, if your netid is empty, you don't enter in this condition, so you add your new users in the dspace DB and not your LDAP. So registration works. The second point is : Each time I click on the link become a new user, I receive a error by mail : at org.dspace.app.webui.servlet.RegisterServlet.doDSGet(RegisterServlet.java: 101) The source code is : // Registering a new user if (ldap_enabled) { JSPManager.showJSP(request, response, /register/new-ldap-user.jsp); } JSPManager.showJSP(request, response, /register/new-user.jsp); So : LDAP is enabled, so the new-ldap-user.jsp is called. But, new-user.jsp too ! I don't want to change the source code. Is there a way to make a new-user.jsp empty ? % return 0; % or something like that ? Thanks. Le 27/09/2012 12:03, Bram Luyten a écrit : Hi François, you might be suffering from a DSpace bug. Does it work when you configure following values in dspace.cfg ldap.provider_url ldap.id_field ldap.search_context I know that they *should* be in authentication-ldap.cfg, but the bug you might be facing still expects them to be in dspace.cfg. If this works, we should check whether this has already officially been filed as a bug in JIRA. best regards, Bram -- Bram Luyten@mire 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/www.atmire.com http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=e mailutm_campaign=braml On Thu, Sep 27, 2012 at 10:54 AM, François Lefebvre francois.lefeb...@univ-lille1.fr wrote: Hi, I'm still looking about this error. Any ideas ? In the mailing archives, I found a similar post but there is no solution. Someone wrote that he doesn't understand why there are 2 authentications. For me, we need both because we've got 2 kinds of population : from the university and the others. So the others must not appear in our LDAP. I put the logs in DEBUG mode, but I don't see something which help me. thanks. Le 26/09/2012 16:53, François Lefebvre a écrit : Hi, I'm a new dspace user. I've installed dspace 1.8.2 and I have an error when I try to register a user with the jspui interface. I'm using LDAP authentication et password, so in the authentication.cfg file I have : plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.PasswordAuthentication, \ org.dspace.authenticate.LDAPAuthentication So with LDAP user, all is OK. When I try to subscribe ( the /register page ), I send the form an dspace displays An internal server error. This is what I'm getting by mail : The first one : An internal server error occurred onhttp://iris.univ-lille1.fr/jspui http://iris.univ-lille1.fr/jspui: Date: 26/09/12 16:43 Session ID:
Re: [Dspace-tech] [Bulk:***** SpamScore] Re: change permisson
Yes, as Helix mentioned you simply use the administrator tools to do this. Log in as an administrator and navigate to the Administrator Panel. Then select Authorizations and the wildcard tool from the list that follows. When prompted, select the collection that contains the items that you wish to change, then choose which permissions you want to add/remove for either the items or the bitstreams in that collection. If you wish to remove some permissions then you first clear the permissions that exist and then add back the ones that you want. Hope this helps. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Miguel Angel Robledo [marobl...@santafe.gov.ar] Sent: September-27-12 6:15 PM To: heli...@centrum.sk Cc: DSpace-tech@lists.sourceforge.net Subject: [Bulk:* SpamScore] Re: [Dspace-tech] change permisson Is possible change the permissions for old items (sent before the change) ? is possible by dspace's command or database scripts? -- Ing. Miguel Angel Robledo Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe 0342-4508704 El 18/09/12 17:09, helix84 escribió: On Tue, Sep 18, 2012 at 10:02 PM, Miguel Angel Robledo marobl...@santafe.gov.ar wrote: I have to change the permissions of a collection but I understand that these change are for news articles. That's correct, the collection permissions are inherited to its items only during submission. So only new items (sent after the change) will be affected. There is a way to restore the read permission for the items already existing? Yes, just like I wrote: El 10/09/12 08:08, helix84 escribió: I XMLUI you can use the wildcard policy admin tool when you log in as administrator and select Authorizations from the Administrative menu. It operates on collections, though (not on an arbitrary set of items). Regards, ~~helix84 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Discovery stopped working after some system updates
Hi, I've been running a DSpace 1.7.1 instance with Discovery enabled on an OpenSUSE server for over a year now. When I recently installed some overdue system patches and updates (on a clone of the live system) I found that Discovery had stopped working, so essentially the library can not be used properly since searching/filtering isn't available now. All I get is a lot of these exceptions (I put that in a quote, so hopefully your email software will be able to collapse that): 2012-09-28 12:34:33,691 ERROR org.dspace.app.xmlui.aspect.discovery.AbstractFiltersTransformer @ anonymous:session_id=C698E3C5D16323B82199C268EFC9A3AB:ip_addr=141.83.80.148:Error in discovery while setting up date facet range:date facet\colon; dc.date.issued.year org.dspace.discovery.SearchServiceException: Error executing query at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:938) at org.dspace.app.xmlui.aspect.discovery.AbstractFiltersTransformer.prepareDefaultFilters(AbstractFiltersTransformer.java:274) at org.dspace.app.xmlui.aspect.discovery.SiteRecentSubmissions.performSearch(SiteRecentSubmissions.java:98) at org.dspace.app.xmlui.aspect.discovery.SiteRecentSubmissions.addBody(SiteRecentSubmissions.java:53) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy32.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(AbstractXMLByteStreamInterpreter.java:117) at org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:44) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:324) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy25.process(Unknown Source) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362) at org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111) at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136) at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy26.generate(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy25.process(Unknown Source) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362) at org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111) at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136) at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy26.generate(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544) at
[Dspace-tech] No Creative Commons
We've recently upgraded (on a test server) from 1.7.1 to 1.8.2 and the only issue is Creative Commons is not showing up in the submission process. It's set up properly in the XML for submissions. Any ideas why this might be occurring? Paul Go Systems Librarian / Library Technology Manager / Computer Science Liaison Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] No Creative Commons
Hi Paul, The Creative Commons integration received an upgrade in 1.8.x. There are now new settings for the Creative Commons licensing (in dspace.cfg) documented here: https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-ConfiguringCreativeCommonsLicense As a sidenote, this change to the CC licensing configs is also mentioned in the Upgrading from 1.7.x to 1.8.x instructions. So you may also want to double check the other configs that have changed as well: https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.7.x+to+1.8.x - Tim On 9/28/2012 8:09 AM, Paul Go wrote: We've recently upgraded (on a test server) from 1.7.1 to 1.8.2 and the only issue is Creative Commons is not showing up in the submission process. It's set up properly in the XML for submissions. Any ideas why this might be occurring? Paul Go Systems Librarian / Library Technology Manager / Computer Science Liaison Paul V. Galvin Library 35 West 33rd Street Chicago, IL 60616 312.567.7997 p...@iit.edu mailto:p...@iit.edu -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] # ant fresh_install build failed
Hello to all, I am facing problem while installing dspace. The step ant fresh_install giving following error [root@dspace dspace-1.8.2-build]# ant fresh_install Buildfile: build.xml BUILD FAILED /opt/temp/dspace-1.8.2-release/dspace/target/dspace-1.8.2-build/build.xml:70: No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp I can't uderstand what is the problem. Thanks -- Regards, rizki ry rizki...@aol.com -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How to deactivate Recent Submissions from DSpace XMLUI?
Hello We have DSPACE 1.6.2 and XMLUI I would like to know how can we deactivate the Recent Submissions section that shows up when we open our DSpace home page (and all collections Home pages too). Due to performance issues with our Search engine this section is making the performance of the system in showing the Home page very poor. We would like to hide this until the Search engine is fixed. Best regards Rodrigo Rodrigo Calloni System Librarian Felipe Herrera Library Knowledge and Learning Sector Tel: 202-623-2952 Fax: 202-623-3183 [cid:image001.gif@01CD9D9C.BC61D6C0] 1300 New York Avenue, N.W. Washington, D.C. 20577 USA www.iadb.orghttp://www.iadb.org/ Knowledge for Development Challenges P Please consider the environment before printing this email inline: image001.gif-- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to deactivate Recent Submissions from DSpace XMLUI?
Hi Rodrigo, You can deactivate Recent Submissions, by showing zero recent submissions. edit dspace.cfg, and change that to zero. # how many recent submissions should be displayed at any one time recent.submissions.count = 5 Peter Dietz On Fri, Sep 28, 2012 at 5:14 PM, Calloni, Rodrigo rcall...@iadb.org wrote: Hello ** ** We have DSPACE 1.6.2 and XMLUI ** ** I would like to know how can we deactivate the “Recent Submissions” section that shows up when we open our DSpace home page (and all collections Home pages too). ** ** Due to performance issues with our Search engine this section is making the performance of the system in showing the Home page very poor. ** ** We would like to hide this until the Search engine is fixed. ** ** Best regards Rodrigo ** ** *Rodrigo Calloni* System Librarian Felipe Herrera Library Knowledge and Learning Sector Tel: 202-623-2952 Fax: 202-623-3183 [image: Description: http://www.iadb.org/email/idb.gif] 1300 New York Avenue, N.W. Washington, D.C. 20577 USA *www.iadb.org* ** ** *Knowledge for Development Challenges* *P* *Please consider the environment before printing this email* ** ** -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech image001.gif-- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech