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] Sent: 29 May 2012 14:56 To: Wellaway, Ian; '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' 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
swordv2-server.cfg
Description: swordv2-server.cfg
------------------------------------------------------------------------------ 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