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 <dp...@oln.org>:
> 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 <dp...@oln.org>:
>> > 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:mikan.dsp...@gmail.com]
>> > Sent: Thursday, March 05, 2009 9:54 AM
>> > To: dspace-t...@lists.sourceforge.net.
>> > 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
>> > DSpace-tech@lists.sourceforge.net
>> > 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to