[Dspace-tech] Only some XMLUI aspects work alright
Dear community, I did an upgrade from 3.1 to 4.2 on my test machine, now only some XMLUI aspects are accessible, e.g. xmlui/community-list, xmlui/login, xmlui/submit... If I navigate to xmlui/browse or the main site, the browser displays a blank page. It seems that this happens for every aspect that somehow involves the display of items or retrieval of item information. The Tomcat log gives me the following message: ERROR org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error Occurred Processing Request! org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:972) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) See also the attached full relevant log excerpt. Thank you very much for your help! Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de 2014-10-29 17:19:08,349 INFO org.dspace.browse.BrowseEngine @ bin...@ids-mannheim.de:session_id=D37CBCE2881BB26D097DDEA2BF4968E8:ip_addr=127.0.0.1:browse_by_item: 2014-10-29 17:19:08,351 ERROR org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Error Occurred Processing Request! org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:972) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) 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.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:275) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter.doFilter(DSpaceMultipartFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 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:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) 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:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) 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:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry
[Dspace-tech] Etherpad (or similar) integration in DSpace?
Hi all, I wonder if anybody on the list has ever taken a shot at integrating software for real-time collaborative editing such as Etherpad in DSpace? Maybe you've got general suggestions on integrating 3rd party software in DSpace? Thanks, Joachim -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] OAI Harvesting Cannot Choose Metadata Format
Dear community, on our 3.1 DSpace implementation (using Manakin), I fail to select a metadata format when setting up OAI harvesting for a collection. The corresponding dropdown menu is empty, and clicking on Test Settings does not return any info (i.e. the page does not change). Upon clicking Save, the input fields are set to empty and the harvested_collection table in the DB receives an entry where only collection_id, harvest_type (set to 0) and id are set. Running bin/dspace harvest -r -e ... -c N where N is the corresponding collection_id throws an exception (Provided collection is not set up for harvesting). I did not find any interesting info in the log files. Any ideas where to start? Thanks very much, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Database query to XML
Hi, I followed the steps to enable Solr, but still I can neither populate the index nor open the Solr page. By the way, the wiki [1] says enabling Solr is not even necessary for my purpose of outside metadata access. On my local test DSpace instance, this wasn't necessary, either. I still get the Connection refused error as reported in my previous mail if I try to populate the index... Any ideas what I can do about this? Thanks, Joachim [1] https://wiki.duraspace.org/display/DSPACE/Solr#Solr-SolrinDSpace -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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] Database query to XML
Hi helix, you were right about the ports. I could now resolve the Connection refused error, thanks! Populating the index now gives me a org.apache.solr.common.SolrException: Forbidden. I assume this is equivalent to the 403 now, right? I've checked that localhost is 127.0.0.1, and also that 127.0.0.1 and my local IP are in the allowed addresses. I'm puzzled... Joachim On 09/19/2013 10:24 AM, helix84 wrote: On Thu, Sep 19, 2013 at 9:59 AM, Joachim Bingel bin...@ids-mannheim.de wrote: I followed the steps to enable Solr, but still I can neither populate the index nor open the Solr page. By the way, the wiki [1] says enabling Solr is not even necessary for my purpose of outside metadata access. True (I wrote that), even though at least adding discovery to event consumers is desirable. On my local test DSpace instance, this wasn't necessary, either. I still get the Connection refused error as reported in my previous mail if I try to populate the index... Any ideas what I can do about this? Connection refused and 403 are two different errors that require different approaches. Connection refused means either a firewall is blocking the connection or nothing is listening on that port. Check which port you specified in solr.search.server (e.g. 8080) and check using sudo netstat -tulpn | grep 8080 whether a java process is indeed listening on that port. I'd expect HTTP 403 response only in case the localhost restriction is in effect and you're accessing it from another machine. If you put localhost into solr.search.server, make sure your /etc/hosts file translates localhost to 127.0.0.1 and if you're using RemoteAddrValve that 127.0.0.1 is among the allowed addresses. The localhost restriction doesn't work with IPv6. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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] Database query to XML
Dear community, I'm looking to implement a function to obtain the list of an author's publications in XML, given the author's name. The OAI webapp can output the whole set of publications to one big XML, and I could parse that by author name, but it seems like this is some overhead and also that only chunks of 100 items can be returned at a time. I've been thinking of a PHP script to query the DB given the author's name as an URL variable, but the [dspace]/webapps/xmlui/static directory can only seem to handle HTML, not PHP. The former works fine, the latter gives me a 404. Any ideas why a PHP script cannot be found? Any other suggestions to reach my goal are also welcome. :) Thanks, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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] Database query to XML
Thanks helix and Mark, I've been trying to use solr, which works fine with my local DSpace, but on my server I can neither run update-discovery-index nor reach the URL from my local machine. The latter results in a plain 403, although I disabled the localhost filter. The former is even stranger: from the server itself, update-discovery-index fails with a java.net.ConnectException: Connection refused. So localhost acces isn't even possible. I've looked through all sorts of config files but can't detect the error. :( Attached are the update-discovery-index output as well as Tomcat's server.xml (Context defined at the end). Thanks, Joachim On 09/18/2013 03:29 PM, Mark H. Wood wrote: On Wed, Sep 18, 2013 at 10:46:18AM +0200, Joachim Bingel wrote: Any ideas why a PHP script cannot be found? Because the servlet container has not been given a mapping from *.php to a servlet that can run PHP scripts. The container will only recognize URLs which match a servlet-mapping/ element in web.xml and for processing will simply hand the Request to the class represented by the mapped servlet/ element. You could investigate this: http://php.net/manual/en/java.servlet.php but I agree with helix84: using DSpace's existing search facilities is probably the better way. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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 -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de dok:/var/opt/tomcat/apache-tomcat-7.0.33# ../../dspace/bin/dspace update-discovery-index INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=44a0c364-bf38-4cfb-bb9d-2a3f3aca191a,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/var/opt/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /var/opt/dspace/config/log4j.properties Exception: java.net.ConnectException: Connection refused org.dspace.discovery.SearchServiceException: java.net.ConnectException: Connection refused at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418) at org.dspace.discovery.IndexClient.main(IndexClient.java:119) 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.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException: Connection refused at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:483) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118) at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388) ... 6 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.init(Socket.java:425) at java.net.Socket.init(Socket.java:280) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80
[Dspace-tech] Author-based Authorization
Hi all, we have a requirement to give administrator rights to all the (co-)authors of a publication in our repository given that an author is registered as an eperson in our DSpace. For the sake of convenience and in order to ensure this is really done, we want it automated. This poses some questions on which I'd like to hear your opinion. 1) Since it is not possible (or is it?) in DSpace to grant rights to epersons rather than groups containing specific epersons, is there any automatic way to generate an own group for an eperson when the eperson is added to the system? That group representing only the eperson can than be used to grant rights to only that eperson. This is rather dirty, admittedly, is there a smarter way? If no, my idea is to use the DatabaseManager to insert new entries in the database, but where in the source should I do that? In the EPerson constructor (i.e. call a method from there)? 2) We would like a routine at item submission that lets the user choose (co-)authors from the list of epersons. Defining a qualdrop_value in the input-forms.xml comes to mind first, but that would only give me name strings instead of eperson objects, and even the string list would have to updated somehow when a new eperson is added to the system. 3) If an eperson is selected as author of an item as desired in 2), they should also be granted admin rights for the item. Assuming that only groups can have rights, we'd have to give the rights to the one-member group representing the eperson. Again, I'd issue some SQL statements through the DatabaseManager, but again, where would this fit best? Thanks very much in advance, Joachim PS: Sorry it feels like I've been responsible for half of the topics on this list lately, but we're still in the process of setting up our repository and there are so many issues... -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Author-based Authorization
Thank you for your quick reply Helix, On 02/27/2013 04:36 PM, helix84 wrote: 1) ResourcePolicies _can_ be assigned to EPersons. It's helpful to look at the API JavaDocs, also available here: http://demo.dspace.org/javadocs/3/apidocs/ Look at the ResourcePolicy class, setEPerson() method. That sounds good! I assume I would call AuthorizeManager.addPolicy() with an EPerson as argument in InstallItem.installItem()? 2) As you surely noticed (because you proposed a solution), currently EPersons are in no way tied to authors in metadata (dc.contributor.author). I hope that we can work in the 4.0 development cycle to address this as part of the metadata for all DSpaceObjects proposal, so that authors can be expressed as objects (EPersons) and have their own metadata. The metadata improvements topic will be discussed as part of a DSpace Futures call on March 20, so you're welcome to join in and express your use case and expectations. OK, we probably don't want to wait until the 4.0 release, but I will share the use case anyway and maybe contribute with my implementation. 3) You can create a ResourcePolicy for an EPerson, but I'm not sure if it works for an item - the smallest object I'm sure works is a collection. The API specifies a resource (a DSpaceObject) as the object of the RP, so the syntax allows you to express even for example an EPerson-EPerson ResourcePolicy, but I'm not sure there is any semantics defined for that. Right, I've checked the resourcepolicy table and apparently you can, for unfinished submissions have not yet inherited the rights from their collection but instead have all relevant rights granted to the submitter! Best, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] NullPointerException in CollectionRecentSubmissions
Hi all, every once in a while I get a NullPointerException at CollectionRecentSubmissions (line 147) when browsing communities/collections (Manakin 3.0). The log says the following: org.apache.cocoon.ProcessingException: Failed to process pipeline at map:serialize type=xml - resource://aspects/ViewArtifacts/sitemap.xmap:134:84 at map:transform type=CollectionViewer - resource://aspects/ViewArtifacts/sitemap.xmap:133:97 at map:transform type=Navigation - resource://aspects/ViewArtifacts/sitemap.xmap:72:59 ... Caused by: org.xml.sax.SAXException: An error was encountered while processing the 'aspect.artifactbrowser.CollectionRecentSubmissions' Wing based component: org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions java.lang.NullPointerException at org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.handleException(AbstractDSpaceTransformer.java:109) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:248) ... 232 more Caused by: java.lang.NullPointerException at org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions.addBody(CollectionRecentSubmissions.java:147) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) ...250 more Restarting Tomcat resolves the issue, but clearly that's not very practical. I've had a look at the code and apparently getRecentlySubmittedItems() returns null. Is this a known issue? Thanks, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Document Type Based Submission - Missing type-bind definition in input-forms.dtd?
Hi Ying, actually, the type-bind element *does* give us the opportunity to make fields required for certain types and optional for others! I found this out just after posting the question you cited. For a specific metadata field, just have two distinct entries in your input-forms.xml, one specifying a required element and the other leaving it blank. Like this: # Element X - required ... requiredPlease enter a valuerequired/ type-binddocTypeAtype-bind/ # Element X - not required ... requiredrequired/ type-binddocTypeB, docTypeCtype-bind/ Best, Joachim On 02/15/2013 05:28 PM, Ying Jin wrote: Hi all, I checked out the DSpace from github branch dspace-3_x. It seems the type-bind definition is missing in input-forms.dtd. I agree with Joachim that the type-bind lack the strategy to define required fields for different document types. Also, we would like a function to define a field type-bind all types except type A. Right now, you probably have to list all types except type A. If you have 20 item types, that's quite annoying. Ying On Jan 16, 2013, at 3:48 AM, Joachim Bingel wrote: Hi all, I would like to tailor the metadata input forms during item submission to the respective item/document type. I know this can be done by using the type-bind tag in the input-forms.xml, but this does not give me control over which metadata fields are *required* for which item type, right? For instance, metadata field X should be required for item type A, optional for type B, and unavailable for type C. I have some 20 item types and 25 distinct metadata fields. I run DSpace 3.0 with the XMLUI. Any ideas? Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Some OAI questions
Hi all, 1) Our DSpace server (3.0, Manakin) has had its hostname changed which broke the links in the OAI webapp: the old hostname is the link target. Where do I correct this? Visit [1] to get an idea of the problem and try to click on the links ('fiprints.ids-mannheim.de' is the old hostname). Also, when I try and run '[dspace]/bin/dspace oai webapp', it tells me that the Solr server (http://localhost:8080/solr/oai) is down, turn it on. 2) Once this is fixed, I'd like DSpace to run an OAI import right after item submission -- how can this be done? In our development DSpace instance (whose OAI works fine), I added the following function to webapps/xmlui/WEB-INF/classes/aspects/Submission/submission.js (and call it in line 318): function updateOAI() { var args = new Array(); args[0] = import; XOAI.main(args); } Which has no effect. Thanks for your help, Joachim [1] https://dok.ids-mannheim.de/oai/request?verb=ListRecordsmetadataPrefix=oai_dc -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Accessing Metadata via OAI
On 01/23/2013 09:55 AM, helix84 wrote: I think that for now you can ignore that the Solr search or OAI interface doesn't find the item with the handle you provided - if you can't run oai import, it simply isn't there in the Solr index. Did you change any code or schema.xml from the Solr oai core? What is the output of this command? diff -u [dspace-source]/dspace/solr/oai/conf/schema.xml [dspace]/solr/oai/conf/schema.xml Shows no differences... The SolrException: Bad Request when doing a solr update (oai import) points to some inconsistency between the existing index (data) and its schema.xml. This is also suspicious (it shouldn't happen if you didn't do any modifications): SEVERE: org.apache.solr.common.SolrException: [doc=null] missing required field: item.handle Well, I assume it must be items without Handles, which are actually apparent in my database because of a bug in my modifications of the HandleIdentifierProvider. That bug I already fixed, but during testing some items had their handles deleted and it's probably those items that are causing the trouble now. Thanks also to João for pointing out this possibility, I'm going to delete those items now and see if anything changes. I'll hear back with the results of that. Best, Joachim Try this: * shut down Tomcat * backup your [dspace]/solr/oai/ directory * delete /dspace/solr/oai/data/ * start Tomcat * run oai import Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Accessing Metadata via OAI
Yes, that was it... Items without handles caused the problem, everything fine now. Thanks for your help! On 01/23/2013 10:20 AM, Joachim Bingel wrote: On 01/23/2013 09:55 AM, helix84 wrote: I think that for now you can ignore that the Solr search or OAI interface doesn't find the item with the handle you provided - if you can't run oai import, it simply isn't there in the Solr index. Did you change any code or schema.xml from the Solr oai core? What is the output of this command? diff -u [dspace-source]/dspace/solr/oai/conf/schema.xml [dspace]/solr/oai/conf/schema.xml Shows no differences... The SolrException: Bad Request when doing a solr update (oai import) points to some inconsistency between the existing index (data) and its schema.xml. This is also suspicious (it shouldn't happen if you didn't do any modifications): SEVERE: org.apache.solr.common.SolrException: [doc=null] missing required field: item.handle Well, I assume it must be items without Handles, which are actually apparent in my database because of a bug in my modifications of the HandleIdentifierProvider. That bug I already fixed, but during testing some items had their handles deleted and it's probably those items that are causing the trouble now. Thanks also to João for pointing out this possibility, I'm going to delete those items now and see if anything changes. I'll hear back with the results of that. Best, Joachim Try this: * shut down Tomcat * backup your [dspace]/solr/oai/ directory * delete /dspace/solr/oai/data/ * start Tomcat * run oai import Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Accessing Metadata via OAI
One last question: what database table does Solr use to retrieve its list of items to be indexed? I deleted all broken entries in tables item, handle, metadatavalue, etc. but indexing still aborts with the Bad Request exception (missing required field: item.handle) after a couple of indexed items. Thanks, Joachim On 01/23/2013 11:20 AM, Joachim Bingel wrote: Yes, that was it... Items without handles caused the problem, everything fine now. Thanks for your help! On 01/23/2013 10:20 AM, Joachim Bingel wrote: On 01/23/2013 09:55 AM, helix84 wrote: I think that for now you can ignore that the Solr search or OAI interface doesn't find the item with the handle you provided - if you can't run oai import, it simply isn't there in the Solr index. Did you change any code or schema.xml from the Solr oai core? What is the output of this command? diff -u [dspace-source]/dspace/solr/oai/conf/schema.xml [dspace]/solr/oai/conf/schema.xml Shows no differences... The SolrException: Bad Request when doing a solr update (oai import) points to some inconsistency between the existing index (data) and its schema.xml. This is also suspicious (it shouldn't happen if you didn't do any modifications): SEVERE: org.apache.solr.common.SolrException: [doc=null] missing required field: item.handle Well, I assume it must be items without Handles, which are actually apparent in my database because of a bug in my modifications of the HandleIdentifierProvider. That bug I already fixed, but during testing some items had their handles deleted and it's probably those items that are causing the trouble now. Thanks also to João for pointing out this possibility, I'm going to delete those items now and see if anything changes. I'll hear back with the results of that. Best, Joachim Try this: * shut down Tomcat * backup your [dspace]/solr/oai/ directory * delete /dspace/solr/oai/data/ * start Tomcat * run oai import Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Accessing Metadata via OAI
Hi all, I need to access the metadata of my DSpace items from an external script and figured I would do so using the OAI webapp and the GetRecord verb (I run DSpace 3.0). For some reason, however, OAI only displays a very small subset of my items, all uploaded before a certain date. When running [dspace]/bin/dspace oai import OAI tells me it is searching for documents modified after that date (incremental import) but fails with a: org.apache.solr.common.SolrException: Bad Request Here's the stacktrace: request: http://localhost:8080/solr/oai/update?wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:64) at org.dspace.xoai.app.XOAI.index(XOAI.java:217) at org.dspace.xoai.app.XOAI.index(XOAI.java:183) at org.dspace.xoai.app.XOAI.index(XOAI.java:141) at org.dspace.xoai.app.XOAI.main(XOAI.java:427) 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:601) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) I also tried this on my dev instance of DSpace 3.0-rc3, with the same result except that the avaliable options for [dspace]/bin/dspace oai change to clean-cache, compile-items and erase-compiled-items. compile-items fails with a java.lang.NullPointerException at org.dspace.xoai.util.XOAICacheManager.getMetadataCache(XOAICacheManager.java:81) at org.dspace.xoai.util.XOAICacheManager.compileItem(XOAICacheManager.java:87) at org.dspace.xoai.app.XOAI.compile(XOAI.java:490) at org.dspace.xoai.app.XOAI.main(XOAI.java:438) 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:616) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Is the oai import the right command at all? Or do I need to adjust some other things for OAI to access all my items? Collections and communities are displayed fine, btw. Thanks for your help, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Accessing Metadata via OAI
Hi helix, thanks for your answer! However the batch size does not seem to be the problem. Only certain records can be returned at all, for some (existing) items the request by their (existing) ID returns no matches for the query. This is what the Catalina log says: Jan 22, 2013 3:04:10 PM org.apache.solr.core.SolrCore execute INFO: [oai] webapp=/solr path=/select params={sort=item.id+ascq=item.handle:10932/00-0166-14DE-96C0-2701-9wt=javabinversion=2} hits=0 status=0 QTime=0 Rebuilding the index with import -c still does not work -- it gives me the same org.apache.solr.common.SolrException (Bad Request) as before. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Accessing Metadata via OAI
Thanks João, the Solr query returns: response lstname=responseHeader intname=status0/int intname=QTime1/int lstname=params strname=sortitem.id asc/str strname=qitem.handle:10932/00-0166-14DE-96C0-2701-9/str /lst /lst resultname=responsenumFound=0start=0/ /response which means Solr still has not found the item. I've set the logging level to FINEST and [dspace]/bin/dspace oai import gives me: Jan 22, 2013 5:16:42 PM org.apache.solr.core.SolrCore execute INFO: [oai] webapp=/solr path=/select params={fl=item.lastmodifiedsort=item.lastmodified+desc,item.id+ascq=*:*wt=javabinrows=1version=2} hits=1 status=0 QTime=0 Jan 22, 2013 5:16:43 PM org.apache.solr.update.processor.LogUpdateProcessor processAdd FINE: add (null) Jan 22, 2013 5:16:43 PM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[(null)]} 0 14 Jan 22, 2013 5:16:43 PM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: [doc=null] missing required field: item.handle at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:346) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58) ... Does this tell you anything? Note that there is exactly 1 retrieved hit which is in accordance with the OAI webapp display, yet there are 31 documents in the databse. On 01/22/2013 05:05 PM, João Melo wrote: Hi Joachim, you'll need to low your log level to see the full stack trace (you're correct the solr log is dumped to catalina.out). if you are using the solr server from dspace access to the admin log panel (http://localhost:8080/solr/admin/logging - only supports local access). But you could also try to query the solr server directly and see the output. In your case, try the following query: http://localhost:8080/solr/oai/select?sort=item.id+ascq=item.handle:10932/00-0166-14DE-96C0-2701-9 Any error? On 22 January 2013 14:18, Joachim Bingel bin...@ids-mannheim.de mailto:bin...@ids-mannheim.de wrote: Hi João, I feel stupid asking this, but where is the solr log? There's no log/ directory or .log files under [dspace]/solr nor under [dspace]/webapps/[oai|solr]. All I've got is what's in the Catalina log: Jan 22, 2013 3:04:10 PM org.apache.solr.core.SolrCore execute INFO: [oai] webapp=/solr path=/select params={sort=item.id http://item.id+ascq=item.handle:10932/00-0166-14DE-96C0-2701-9wt=javabin version=2} hits=0 status=0 QTime=0 This demonstrates how a request for an item with an existing identifier (can be reached in the XMLUI) fails (hits=0). Thanks for your help! Joachim On 01/22/2013 03:05 PM, João Melo wrote: On 22 January 2013 13:19, Joachim Bingel bin...@ids-mannheim.de mailto:bin...@ids-mannheim.de wrote: org.apache.solr.common.SolrException: Bad Request Hi Joachim, your log information is too short. Please, look at the Solr log for the full stack trace. -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official website http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ Follow us on Facebook http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 tel:%2B49%20-%20%280%29621-1581-456 |http://www.ids-mannheim.de -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official website http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ Follow us on Facebook http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
[Dspace-tech] Document Type Based Submission
Hi all, I would like to tailor the metadata input forms during item submission to the respective item/document type. I know this can be done by using the type-bind tag in the input-forms.xml, but this does not give me control over which metadata fields are *required* for which item type, right? For instance, metadata field X should be required for item type A, optional for type B, and unavailable for type C. I have some 20 item types and 25 distinct metadata fields. I run DSpace 3.0 with the XMLUI. Any ideas? Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Autowired Class cannot use ConfigurationManager
Dear community, I've implemented an external PID service for DSpace 3.0 and managed to autowire it in place of the org.dspace.identifier.HandleIdentifierProvider using the Spring framework. Now I want to modify this class a bit and make it read certain configurations from the dspace.cfg, using the org.dspace.core.ConfigurationManager and its getProperty() method. Yet this does not work. Compiling works fine but Tomcat can't open the XMLUI. This is one snippet from the localhost log file (the rest being Spring errors telling me that the bean cannot be loaded, but I presume this all falls back to the following lines): Caused by: java.lang.IllegalStateException: Cannot find dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:918) at org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130) at org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175) at de.mannheim.ids.pid.dspace.IDSIdentifierProvider.clinit(IDSIdentifierProvider.java:65) ... 46 more Any ideas? Note that everything works fine if I do not use the ConfigurationManager but hard-code all I need. -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Autowired Class cannot use ConfigurationManager
Hi Helix, thanks for your help. In debug mode, my class doesn't even get to the point where the ConfigurationManager is called, still the earlier posted log excerpt (below) tells me that this is the problem. I tried to employ the DSpaceConfigurationService, too, but since its methods are non-static and I need to read the config values in a static initialiser block, it's not useful. :( Caused by: java.lang.IllegalStateException: Cannot find dspace.cfg at org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:918) at org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130) at org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175) at de.mannheim.ids.pid.dspace.IDSIdentifierProvider.clinit(IDSIdentifierProvider.java:65) ... 46 more Best, Joachim On 12/18/2012 02:37 PM, helix84 wrote: Hi Joachim, again, this question is better suited for dspace-devel. Did you look at the log file to see where ConfigurationManager is looking for configuration? If it's not there, try adding some println debugging to ConfigurationManager. As an alternative, I noticed ConfigurationService has been the latest fashion, can you use it instead of ConfigurationManager? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Autowired Class cannot use ConfigurationManager
On 12/18/2012 04:46 PM, helix84 wrote: On Tue, Dec 18, 2012 at 4:33 PM, Joachim Bingel bin...@ids-mannheim.de wrote: thanks for your help. In debug mode, my class doesn't even get to the point where the ConfigurationManager is called, still the earlier posted log excerpt (below) tells me that this is the problem. What do you mean in debug mode? When log level is set to DEBUG? So how does the behaviour differ? Right, when I set the log level to DEBUG, sorry for being unclear here. There were only a few irrelevant lines added to the dspace.log.[date] file, no info from ConfigurationManager. Anyway, since the dspace.cfg not found error is thrown at ConfigurationManager.java:918, this means there has not been any config file *loaded* beforehand. So I assume that somehow my code tries to get a property value before something important happens in the ConfigurationManager, but I can't seem to understand what that is... If you get this stacktrace, it must have been in ConfigurationManager. Maybe I just don't understand what you mean. PS Next time, please, do not cross-post. This now appears out of context in dspace-devel, so noone will be able help you from there without having to look at dspace-tech anyway. Sorry, you're right... Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Browse for Author with Umlauts
Hi, our site just moved to DSpace 3.0 and an error re-occurs which had been solved in 1.8.2: When browsing for an author with a non-ASCII name (e.g. Müller), DSpace displays Browse by author M üller and no items for the author are found. This very question has been asked before ( http://osdir.com/ml/db.dspace.user/2008-01/msg00131.html), and I followed the instructions in the answer to alter Tomcat's server.xml, still this had no effect (the link in the answer didn't get me anywhere sensible though). Is there anything to do on the DSpace end? When clicking on the author's name (which is displayed fine in the author list), the URL in the browser also contains the correct spelling of the name. Thanks, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Browse for Author with Umlauts
On 12/11/2012 11:47 AM, helix84 wrote: On Tue, Dec 11, 2012 at 11:44 AM, Joachim Bingel bin...@ids-mannheim.de wrote: Thanks for your reply Helix, I declared URIEndoding=UTF-8 on all connectors pre-defined in the server.xml, i.e. ports 8080 and 8009 (the AJP connector). So does it work? :) No. :( Is it sensible to create another Connector element with port 80? If so, which protocol and redirectPort should I declare (if any)? This is a complex topic, well descibed here: https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts Basically you don't want to run Tomcat as root, so you can't bind on port 80. Unless you use authbind, the very last method. How do you currently make DSpace accessible on port 80? I use method 2a -- at least partly, only the changes described on the Wiki page regarding ROOT - xmlui redirect are set, the ones regarding the ssl.conf or proxy_ajp.conf are NOT. So to be honest, I don't actually know why I can access the XMLUI on port 80, I am not the one who installed this in the first place. There's no ProxyPass in the httpd.conf either. No authbind configured either... I'm puzzled. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Browse for Author with Umlauts
Run sudo netstat -tnlp | grep 80 and send us the output. tcp0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 5039/java tcp0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 5039/java tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5039/java tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1056/httpd -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [Solved] Browse for Author with Umlauts
Dear community, nevermind, the solution given in the old thread is actually correct, I just had a typo in my server.xml. Joachim On 12/11/2012 10:08 AM, Joachim Bingel wrote: Hi, our site just moved to DSpace 3.0 and an error re-occurs which had been solved in 1.8.2: When browsing for an author with a non-ASCII name (e.g. Müller), DSpace displays Browse by author M üller and no items for the author are found. This very question has been asked before ( http://osdir.com/ml/db.dspace.user/2008-01/msg00131.html), and I followed the instructions in the answer to alter Tomcat's server.xml, still this had no effect (the link in the answer didn't get me anywhere sensible though). Is there anything to do on the DSpace end? When clicking on the author's name (which is displayed fine in the author list), the URL in the browser also contains the correct spelling of the name. Thanks, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 |http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Injecting IdentifierProvider Bean
I haven't checked Stack Overflow because I think this still quite a Dspace-specific question (and I presume that the person who developed the External Identifiers feature can answer it quickly and easily). :) In contrast, I presume it would be quite cumbersome to explain and understand the essence of the problem to people who are not familiar with DSpace. I'm going ask for help from there if I'm not getting lucky here, though, or else share my knowledge there! :) On 10/16/2012 02:16 PM, helix84 wrote: By the way, I understand ClassNotFoundException is a pretty common exception in Java. Did you check other generic resources like Stack Overflow? Regards, ~~helix84 -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Injecting IdentifierProvider Bean
Oh ok, yeah sure I have read to find the solution, but all I seem to find regarding that exception is that the class is not in the classpath, which is not the case... On 10/16/2012 02:31 PM, helix84 wrote: On Tue, Oct 16, 2012 at 2:26 PM, Joachim Bingel bin...@ids-mannheim.de wrote: I haven't checked Stack Overflow because I think this still quite a Dspace-specific question (and I presume that the person who developed the External Identifiers feature can answer it quickly and easily). :) In contrast, I presume it would be quite cumbersome to explain and understand the essence of the problem to people who are not familiar with DSpace. Of course, it's best to ask your specific question here. What I meant was not asking, but reading. Investigating the general situations when a ClassNotFoundException is thrown and eliminating the situations that don't apply to you. It usually points me in the right direction. Regards, ~~helix84 -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Wrong Artifact Versions specified in 3.0-rc1 POMs?
Hi, I have been trying to build 3.0-rc1, but mvn package says this artifact couldn't be found: org.dspace:dspace-parent:pom:3.0-rc2-SNAPSHOT That's not very surprising since the latest version is 3.0-rc1. Am I missing something here? The 3.0-rc2-SNAPSHOT version is defined in the following POMs: find -name pom.xml | xargs grep 3.0-rc2 ./dspace-sword/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-lni/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-oai/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-xmlui/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-services/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-jspui/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace-swordv2/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/additions/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/jspui/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/oai/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/oai/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/swordv2/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/xmlui/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/solr/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/solr/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/sword/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/modules/lni/pom.xml: version3.0-rc2-SNAPSHOT/version ./dspace/pom.xml: version3.0-rc2-SNAPSHOT/version -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Shibboleth Authentication in XMLUI
This is the only error log line before the one I posted earlier: 2012-09-25 09:11:13,082 ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth authentication was not able to find a NetId, Email, or Tomcat Remote user for which to indentify a user from. We are using Shibboleth 2.0 on a CentOS 5.8 system. Which details of the attribute-map.xml exactly do you need? The respective headers (eppn, givenName, surname, mail) are definitely correct, and they work for the JSPUI. Since I am not the administrator for the IDP or the actual server I don't know which config you are talking about (passing the attributes to Tomcat) -- can you tell me how to find them? Best, Joachim On 09/24/2012 09:31 PM, Benjamin Ryan wrote: Joachim, Can you send the part of the log before the error message that lists what headers have been passed? Also can you say what Shibboleth SP you are using (version, platform, OS etc) and details of the attribute-map.xml plus the config that you are using in Apache to get the attributes passed to Tomcat. Regards, Ben -- Dr Ben Ryan Jorum Technical Manager 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail:benjamin.r...@manchester.ac.uk -- -Original Message- From: Joachim Bingel [mailto:bin...@ids-mannheim.de] Sent: 24 September 2012 15:41 To:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Shibboleth Authentication in XMLUI Hi, I have successfully set up Shibboleth authentication for the 1.8.2 JSPUI, but in the XMLUI it fails. A look into the log file tells me that the needed credentials cannot be found: 2012-09-24 16:36:20,515 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the user. NetId Header: 'eppn'='null' (Optional) Email Header: 'mail'='null' First Name Header: 'givenName'='null' Last Name Header: 'surname'='null' As said, this works for the JSPUI. The respective property names (eppn, mail, givenName, surname) are correctly set, this is how the IdP returns them. Thanks in advance for your help, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 |http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 |http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [SOLVED] Shibboleth Authentication in XMLUI
Hi again, sorry, problem solved! The point was that the Tomcat ROOT had been pointing to the JSPUI, and the IDP attributes were only passed to the ROOT. I now run the XMLUI as ROOT and it works. Regards, Joachim On 09/24/2012 09:31 PM, Benjamin Ryan wrote: Joachim, Can you send the part of the log before the error message that lists what headers have been passed? Also can you say what Shibboleth SP you are using (version, platform, OS etc) and details of the attribute-map.xml plus the config that you are using in Apache to get the attributes passed to Tomcat. Regards, Ben -- Dr Ben Ryan Jorum Technical Manager 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: benjamin.r...@manchester.ac.uk -- -Original Message- From: Joachim Bingel [mailto:bin...@ids-mannheim.de] Sent: 24 September 2012 15:41 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Shibboleth Authentication in XMLUI Hi, I have successfully set up Shibboleth authentication for the 1.8.2 JSPUI, but in the XMLUI it fails. A look into the log file tells me that the needed credentials cannot be found: 2012-09-24 16:36:20,515 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the user. NetId Header: 'eppn'='null' (Optional) Email Header: 'mail'='null' First Name Header: 'givenName'='null' Last Name Header: 'surname'='null' As said, this works for the JSPUI. The respective property names (eppn, mail, givenName, surname) are correctly set, this is how the IdP returns them. Thanks in advance for your help, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Shibboleth Authentication in XMLUI
Hi, I have successfully set up Shibboleth authentication for the 1.8.2 JSPUI, but in the XMLUI it fails. A look into the log file tells me that the needed credentials cannot be found: 2012-09-24 16:36:20,515 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the user. NetId Header: 'eppn'='null' (Optional) Email Header: 'mail'='null' First Name Header: 'givenName'='null' Last Name Header: 'surname'='null' As said, this works for the JSPUI. The respective property names (eppn, mail, givenName, surname) are correctly set, this is how the IdP returns them. Thanks in advance for your help, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)621-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Browsing link lacks submit_browse
Hi, I've set up an installation of DSpace 1.8.2 in German (i.e. a non-default locale). In the browse bar on the left of the JSPUI all browse items appear as they should and they work fine, except for the subject browse. The URL that is looked up by the browse function is mydspace.de/browse?type=subject, but no page is found. The relevant page, however, can be found under mydspace.de/browse?type=subjectsubmit_browse=Schlagwort (where Schlagwort is German for keyword and the browse link text). Also, it works fine when browsing single collections by subject (the submit_browse=Schlagwort is appended to the URL). So how do I tell DSpace that it should append the submit_browse=Schlagwort part in the URL, or how can I bypass that necessity? Note also that for all other browse fields (author, title etc.) it works fine without the submit_browse variable. Thanks in advance, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)6221-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Using own PID/Handle server
Hi Tim, thanks very much for your response! This sounds like it'll be worth waiting for the 3.0 release. At this moment, is there anything we can do in order to support you in integrating the feature in the upcoming release? Are there any alpha or beta versions released or planned that we could help to test? Best, Joachim On 07/26/2012 04:55 PM, Tim Donohue wrote: Hi Joachim, Unfortunately at this time, it is not very easy to replace the CNRI Handle System with another Identifier system. To replace it would essentially involve replacing all usages of org.dspace.handle.* classes (which from a quick search looks to affect ~45 files in DSpace). However, for the upcoming 3.0 release (in Fall/Winter of this year), one of the proposed new features is to add External Identifier support to DSpace 3.0. This feature is currently being worked on by @mire and more info can be found in this wiki page: https://wiki.duraspace.org/display/DSPACE/Item+Versioning+Support (Look for the sections talking about the Identifier Service). At this time, this External Identifier service work still needs to be reviewed before we can say whether it will be included in DSpace 3.0 or not. However, it's possible that this work, should it be accepted as part of 3.0 would make your efforts to modify DSpace for EPIC much easier. - Tim On 7/24/2012 2:39 AM, Joachim Bingel wrote: Hi, we're looking to implement DSpace 1.8.2 at our site with a non-default PID service, e.g. EPIC. The documentation says we need not use CNRI's Handle system, but are free to change the code to use something different. Now, is there any other possibility than patching the DSpace code? If not, what pieces of code would we have to change to make it fit our needs? Thanks in advance, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)6221-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Using own PID/Handle server
Hi, we're looking to implement DSpace 1.8.2 at our site with a non-default PID service, e.g. EPIC. The documentation says we need not use CNRI's Handle system, but are free to change the code to use something different. Now, is there any other possibility than patching the DSpace code? If not, what pieces of code would we have to change to make it fit our needs? Thanks in advance, Joachim -- Joachim Bingel Institut für Deutsche Sprache, Zentrale Forschung R5, 6-13, 68161 Mannheim +49 - (0)6221-1581-456 | http://www.ids-mannheim.de -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech