So far I
- have added the sword metadata to the DSpace registry - have tried both command-line and GUI. Both return the same error described earlier. - tried the SWORD client with 2 different DSpace installations on different servers here, but they both act the same. - cant find any errors in Jetty / Tomcat or DSpace logs. All I see is the POST action in servlet container log with 401 response. Below was taken from the log: 128.214.179.174 - - [09/maalis/2009:10:15:04 +0000] "POST /sword/deposit/2455/132773 HTTP/1.1" 401 0 "-" "Jakarta Commons-HttpClient/3.0.1" Any ideas are welcome, Mika 2009/3/9 Debashree Pati <[email protected]>: > Hi Mika, > > Which Sword client are you running - command-line or web? > You can also check log files under tomcat for errors. > If you are running command-line client and there aren't any errors in any of > your log files > then someone more knowledgeable (perhaps the author) will have to take over. > > - Debashree > > > -----Original Message----- > From: mikan.d.dspace listmail [mailto:[email protected]] > Sent: Monday, March 09, 2009 6:32 AM > To: Debashree Pati; [email protected]. > Subject: Re: [Dspace-tech] SWORD post error > > There is no error messaged in dspace.log generated by SWORD. So the > only error / log entry I get is the following in debug window: > > "INFO [org.apache.commons.httpclient.HttpMethodDirector] Failure > authenticating with BASIC 'SWORD'@otto.terkko.helsinki.fi:8048" > > -Mika > > > 2009/3/6 Debashree Pati <[email protected]>: >> Well, the next place to look for will be the log files and see if it >> contains any error messages. >> If you find any then you can post it here. That might give some clue > because >> you can get >> the unauthorized message for various reasons other than actual >> authentication failure. >> >> -Debashree >> >> At 03:45 AM 3/6/2009, you wrote: >>> >>> Hi, >>> >>> And thanks for the tip. I cheched the sword-metadata.xml and it indeed >>> had fields that DSpace registry was missing. I fixed this, but yet I >>> am getting "Code: 401: unauthorized". >>> >>> On SWORD client debug window it says: >>> >>> "INFO [org.apache.commons.httpclient.HttpMethodDirector] Failure >>> authenticating with BASIC 'SWORD'@otto.terkko.helsinki.fi:8048" >>> >>> Any ideas what might be wrong here? >>> >>> Thanks, >>> Mika >>> >>> >>> 2009/3/5 Debashree Pati <[email protected]>: >>> > Hi Mika, >>> > >>> > The "unauthorized' message is sometimes misleading. In our case it was >>> > due >>> > to missing elements/attributes in the dspace dc-types. >>> > >>> > If you compare the metadata being imported with the default schema at >>> > your >>> > site in the file >>> > [dspace-source]/dspace/config/registries/sword-metadata.xml, you may >>> > find >>> > some fields missing. >>> > >>> > For us, the fields: dc.language.rfc3066, dc.date.updated, and >>> > dc.description.version were in the metadata being imported but not >>> > present >>> > in the sword-metadata.xml. Adding these fields had solved the problem. >>> > >>> > You may want to verify yours. Otherwise, it would be due to something >>> > else >>> > and someone else might have the answer for it. Good luck! >>> > >>> > -Debashree >>> > >>> > >>> > -----Original Message----- >>> > From: mikan.d.dspace listmail [mailto:[email protected]] >>> > Sent: Thursday, March 05, 2009 9:54 AM >>> > To: [email protected]. >>> > Subject: [Dspace-tech] SWORD post error >>> > >>> > Im testing DSpace SWORD application, but when Im trying to do post I >>> > get "unauthorized", allthough username and password are the same as >>> > DSpace admin. Should I set some specific authorizations for >>> > collections that I want to be able to do POST or what would do the >>> > trick here? >>> > >>> > Thanks, >>> > Mika >>> > >>> > >>> > > ---------------------------------------------------------------------------- >>> > -- >>> > Open Source Business Conference (OSBC), March 24-25, 2009, San >>> > Francisco, CA >>> > -OSBC tackles the biggest issue in open source: Open Sourcing the >>> > Enterprise >>> > -Strategies to boost innovation and cut costs with open source >>> > participation >>> > -Receive a $600 discount off the registration fee with the source code: >>> > SFAD >>> > http://p.sf.net/sfu/XcvMzF8H >>> > _______________________________________________ >>> > DSpace-tech mailing list >>> > [email protected] >>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> > >>> > >> >> > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

