Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Im reposting this SWORD issue, since I havent found any solutions for it. I cant seen to make SWORD work with DSpace 1.5.2. With the previous version I was able to browse collection via SWORD Client, allthough submission didnt work. Now Im getting this error: HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report I would also be interested in trying LNI, but havent found a good resource on how to use it. Any suggestions? Thanks, Mika 2009/4/17 Richard Jones rich...@symplectic.co.uk: Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Have you got anything in your logs? Check the dspace log and the tomcat logs, to see if there's anything strange going on. Cheers, Richard 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Hi Mika, Im reposting this SWORD issue, since I havent found any solutions for it. I cant seen to make SWORD work with DSpace 1.5.2. With the previous version I was able to browse collection via SWORD Client, allthough submission didnt work. Now Im getting this error: HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report Ah, I think I've got it ... Do you have the parameter sword.servicedocument.url set in your configuration? If not, the implementation assumes that the service document url will be {dspace.url}/sword/servicedocument If you're not deploying it in this standard location, then you have to tell the configuration what url to respond to. I would also be interested in trying LNI, but havent found a good resource on how to use it. Any suggestions? There is some documentation on the wiki, although you will also find that a bit of trial and error is required. Cheers, Richard Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Have you got anything in your logs? Check the dspace log and the tomcat logs, to see if there's anything strange going on. Cheers, Richard 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Thanks. This solved part of the case in my other test instance (DSpace 1.5.1). But still when I try to do the deposit I get Not authorized. On my other test instance (DSpace 1.5.2) SWORD Client refuses to read the service document. I can see it on browser window, and it looks fine to me. http://otto.terkko.helsinki.fi:8048/sword/servicedocument INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic authentication scheme selected org.purl.sword.client.SWORDClientException: Not an app:service element at org.purl.sword.client.Client.getServiceDocument(Client.java:298) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:497) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:548) at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jdesktop.swingworker.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I tried LNI instructions from Wiki. To keep it simple I tried the following: http://otto.terkko.helsinki.fi:8048/lni/dav/dso_2455%24133799 But it results to an error, which makes me wonder is something missing from the installation? Error: Cannot find a disseminate plugin for package=default RequestURI=/lni/dav/dso_2455%24133799 Thanks, Mika 2009/5/19 Richard Jones rich...@symplectic.co.uk: Hi Mika, Im reposting this SWORD issue, since I havent found any solutions for it. I cant seen to make SWORD work with DSpace 1.5.2. With the previous version I was able to browse collection via SWORD Client, allthough submission didnt work. Now Im getting this error: HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report Ah, I think I've got it ... Do you have the parameter sword.servicedocument.url set in your configuration? If not, the implementation assumes that the service document url will be {dspace.url}/sword/servicedocument If you're not deploying it in this standard location, then you have to tell the configuration what url to respond to. I would also be interested in trying LNI, but havent found a good resource on how to use it. Any suggestions? There is some documentation on the wiki, although you will also find that a bit of trial and error is required. Cheers, Richard Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Have you got anything in your logs? Check the dspace log and the tomcat logs, to see if there's anything strange going on. Cheers, Richard 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Richard Jones Head Repository
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Hi Mika, Thanks. This solved part of the case in my other test instance (DSpace 1.5.1). But still when I try to do the deposit I get Not authorized. Anything helpful in the logs? I presume that the user you are depositing as (and optionally on behalf of) are both authorised to deposit into the target collection? On my other test instance (DSpace 1.5.2) SWORD Client refuses to read the service document. I can see it on browser window, and it looks fine to me. http://otto.terkko.helsinki.fi:8048/sword/servicedocument INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic authentication scheme selected org.purl.sword.client.SWORDClientException: Not an app:service element at org.purl.sword.client.Client.getServiceDocument(Client.java:298) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:497) at org.purl.sword.client.GuiClient$AddServiceAction$1.doInBackground(GuiClient.java:548) at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jdesktop.swingworker.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) This problem is caused by using the old sword client on the new sword server implementation, which won't work due to changes in the standard. You should try the latest version of the client instead (which you may have to compile from svn from the sword sourceforge page - I'm not sure of the release status of the client) I tried LNI instructions from Wiki. To keep it simple I tried the following: http://otto.terkko.helsinki.fi:8048/lni/dav/dso_2455%24133799 But it results to an error, which makes me wonder is something missing from the installation? Error: Cannot find a disseminate plugin for package=default RequestURI=/lni/dav/dso_2455%24133799 It took me a very long time to get the LNI to work, and I'm afraid it was sufficiently long ago that I don't remember anything specific. Larry Stone, who wrote the LNI, might be able to help you more. Cheers, Richard Hi Mika, Im reposting this SWORD issue, since I havent found any solutions for it. I cant seen to make SWORD work with DSpace 1.5.2. With the previous version I was able to browse collection via SWORD Client, allthough submission didnt work. Now Im getting this error: HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report Ah, I think I've got it ... Do you have the parameter sword.servicedocument.url set in your configuration? If not, the implementation assumes that the service document url will be {dspace.url}/sword/servicedocument If you're not deploying it in this standard location, then you have to tell the configuration what url to respond to. I would also be interested in trying LNI, but havent found a good resource on how to use it. Any suggestions? There is some documentation on the wiki, although you will also find that a bit of trial and error is required. Cheers, Richard Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Have you got anything in your logs? Check the dspace log and the tomcat logs, to see if there's anything strange going on. Cheers, Richard 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Have you got anything in your logs? Check the dspace log and the tomcat logs, to see if there's anything strange going on. Cheers, Richard 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Hi, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ I tried this, but Im getting exactly the same errors. Any ideas? Thanks, -Mika 2009/4/15 Richard Jones rich...@symplectic.co.uk: Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dspace 1.5.2 with Sword Client
Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.2 with Sword Client
Hi Mika, Can you try requesting from: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument/ instead? Looking at the web.xml, it's set to recognise incoming requests to /servicedocument/* so it may require the trailing slash. Cheers, Richard Im trying to experiment SWORD with DSpace 1.5.2 but the SWORD Client says the following: -- status: Requesting the document from http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument status: Got the document status: The status is: Code: 400, Message: 'Bad Request' -- Trying SWORD with browser, gives me an error message after I enter my userid pass: -- HTTP Status 400 - Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument type Status report message Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument description The request sent by the client was syntactically incorrect (Unable to recognise URL as a valid service document: http://dspace2.lib.helsinki.fi:8081/sword2/servicedocument). -- Im using SWORD Client by University of Wales. Can someone suggest a working client or a proper way to try out SWORD? Thanks, Mika -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard Jones Head Repository Systems Architect, Symplectic Limited e: rich...@symplectic.co.uk t: 0845 026 4755 t: +44 (0)207 7334036 w: http://www.symplectic.co.uk/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech