Hi Surinder, Have you tried the SWORD v1 implementation in DSpace instead? While it isn't as fully-featured, it is a little more stable.
Yu can also try submitting to DSpace using SWORD and curl which can help diagnose problems as you can see the raw HTTP responses. Thanks, Stuart On 11 Jun 2012, at 09:39, "Surinder Kumar" <s...@nic.in<mailto:s...@nic.in>> wrote: As I was testing easy deposit with swordv2. Everythinh went well. At the end, ' Thank you Page' It is giving the error "An error has occurred with your deposit. Please contact supp...@example.com<https://mail.google.com/mail/h/12xlgc9812n69/?&v=b&cs=wh&to=supp...@example.com> for assistance, quoting reference '705000911'.". I could not find any error in dspace.log. thanks Surinder Kumar NIC, New Delhi From: Wellaway, Ian<mailto:i.j.wella...@exeter.ac.uk> Sent: Friday, June 01, 2012 2:34 PM To: 'LEWIS Stuart'<mailto:stuart.le...@ed.ac.uk> ; 'sword-app-tech@lists.sourceforge.net'<mailto:'sword-app-tech@lists.sourceforge.net'> Subject: Re: [sword-app-tech] Sword v2 - enabling and pdating archived items indspace Hi, Apologies for the delay in response. I’ve attached the catalina our from this morning when I’ve restarted tomcat a few times. The most notable entry seems to be: 01-Jun-2012 09:46:36 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/swordv2] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Any ideas? Thanks Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:stuart.le...@ed.ac.uk] Sent: 29 May 2012 15:05 To: Wellaway, Ian Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Anything in tomcat’s logs, or catalina.out ? From: Wellaway, Ian [mailto:i.j.wella...@exeter.ac.uk] Sent: 29 May 2012 15:02 To: LEWIS Stuart; 'sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net>' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Thanks Stuart. I get the following dspace log entry when trying to get to sword: 2012-05-29 14:58:36,363 INFO org.dspace.sword.DSpaceSWORDServer @ i.j.wella...@exeter.ac.uk:session_id=0:ip_addr=144.173.92.60:sword_service_document_request:username=ijwellaw,on_behalf_of=null<mailto:i.j.wella...@exeter.ac.uk:session_id=0:ip_addr=144.173.92.60:sword_service_document_request:username=ijwellaw,on_behalf_of=null> BUT nothing when attempting the URL for swordv2. http://vmerdmsdspace01.ex.ac.uk/sword/servicedocument http://vmerdmsdspace01.ex.ac.uk/swordv2/servicedocument I’ve also attached the swordv2-server.cfg. Finally, these are the entries in server.xml: <!-- DEFINE A CONTEXT PATH FOR DSpace sword --> <Context path="/sword" docBase="/opt/dspace/webapps/sword" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> <!-- DEFINE A CONTEXT PATH FOR DSpace swordv2 --> <Context path="/swordv2" docBase="/opt/dspace/webapps/swordv2" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:stuart.le...@ed.ac.uk]<mailto:[mailto:stuart.le...@ed.ac.uk]> Sent: 29 May 2012 14:56 To: Wellaway, Ian; 'sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net>' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi Ian, Are you able to give any further details about the SWORD v2 service document not working? Are there any error messages, or dspace.log entries? Sometimes using a tool such as curl can help with this instead of a browser. For your second question – SWORD v2 has no notion of workflow, and allows updates at any point. It is up to the implementation to define a policy if it wants to restrict this. By default the DSpace implementation will not allow items that have completed workflow to be edited via SWORD. This can be changed with a small amount of effort by defining a new management policy. You can see the default policy at: https://github.com/DSpace/DSpace/blob/master/dspace-swordv2/src/main/java/org/dspace/sword2/WorkflowManagerDefault.java You can update this, or create a new version. The class to use is configured in [dspace]/config/modules/swordv2-config.xml: plugin.single.org.dspace.sword2.WorkflowManager = \ org.dspace.sword2.WorkflowManagerDefault I hope this helps, Stuart Lewis Head of Digital Library Services The University of Edinburgh Library stuart.le...@ed.ac.uk<mailto:stuart.le...@ed.ac.uk> Stuart From: Wellaway, Ian [mailto:i.j.wella...@exeter.ac.uk] Sent: 29 May 2012 14:38 To: 'sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net>' Subject: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi, New to this list and I have some pretty basic questions: Firstly, we’re setting up a new DSpace repository for research data, and are looking at using sword 2. I’ve upgraded our dspace version to 1.8 and sword seems to be working fine (returning the service document as you’d expect). However, I can’t get the service document for sword 2. I’ve amended the cfg file and defined a path in the tomcat server.xml file, exactly as I have done for the original sword module but it won’t work. Any ideas what I might be doing wrong? Secondly, does Swordv2 allow the user to amend items they have previously submitted and that have gone through the workflow process and are in the archive? This is quite important to us since we want to create a user interface that allows users to amend their items if they need to, such as if they want to add another file or amend some metadata in the repository. Thanks in advance for this. Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 ________________________________ ------------------------------------------------------------------------------ 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/ ________________________________ _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ 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/ _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech