Hi

Thanks for the suggestion. I have checked web.xml and it's correct.

Using the "sword client" and activating the debug, it seems that the
problem could be linked more with how weblogic handles basic http
authorization than with the sword server.

DEBUG [org.purl.sword.client.GuiClient] the proxy host is set to:
DEBUG [org.purl.sword.client.Client] server: dipositint9.ub.edu port:
80 u: 'myu...@ub.edu' p 'mypassword'
DEBUG [org.purl.sword.client.Client] Setting userAgent: CASIS Test Client
INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor] basic
authentication scheme selected
INFO [org.apache.commons.httpclient.HttpMethodDirector] Failure
authenticating with BASIC 'weblogic'@dipositint9.ub.edu:8

So, I send a user and a password but the server tries to authenticate
a "different" user.

Well, again any help would be appreciated ;-)

Regards!


2012/7/31 helix84 <heli...@centrum.sk>:
> Sounds like exactly what I would do.
>
> I think I know what the problem might be. ConfigurationManager uses a
> different method of determining the modules directory - it's based on
> dspace.dir, not on location of dspace.cfg, look here:
> https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java#L796
>
> Your dspace_sword directory is exactly what you need in this case.
> Edit [dspace]/webapps/sword/WEB-INF/web.xml and set dspace.dir to your
> dspace_sword directory (do this after the ant update step).
>
>       <param-name>dspace.dir</param-name>
>       <param-value>/dspace_sword</param-value>
>
> Regards,
> ~~helix84
---
Domingo Iglesias
Universitat de Barcelona
Area de Tecnologies

------------------------------------------------------------------------------
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/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to