[ 
http://jira.codehaus.org/browse/WAGON-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100428
 ] 

Jochen Wiedmann commented on WAGON-82:
--------------------------------------

I've got updated versions of the patches ready, which work for me. After 
testing, I actually wonder whether anyone got dav via proxy working at all, 
because I found another bug. Even if the proxy is set on the webdavResource, it 
isn't used, because the resources internal instance of HttpClient isn't 
updated. I have added a call to webdavResource.closeSession().

I also noticed, that I receive a lot of warnings like 

    WARNING: Default credentials for httpprox.hq.sag not available
    WARNING: Preemptive proxy authentication failed

I would assume that these are related to a superfluous call to 
setAuthorizationPreemptive() within the webdav library. I didn't bother to 
track this down, because the warning is nasty, but ignorable.

I have attempted to add the updated patches to Jira. Unfortunately, this is 
currently not possible for me, because I receive an error message whenever I 
try to attach a file, Please contact me, if you are interested in the updated 
files.


> wagon-webdav does not set http-proxy correctly
> ----------------------------------------------
>
>                 Key: WAGON-82
>                 URL: http://jira.codehaus.org/browse/WAGON-82
>             Project: wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>         Environment: any system
>            Reporter: Marc Wilhelm
>            Priority: Blocker
>         Attachments: WAGON-82-maven-artifact-manager.patch, 
> WAGON-82-wagon.patch, wagon-webdav.patch
>
>
> Webdav connections through a http-proxy are currently not possible.
> The webdav provider opens first a connection to the target system and checks 
> after this, if a proxy should be used.
> To fix this in the method 
> "org.apache.maven.wagon.providers.webdav.WebdavWagon#openConnection()"  the 
> call "webdavResource = new CorrectedWebdavResource( httpURL );" must be 
> changed into "webdavResource = new CorrectedWebdavResource( );" and after 
> configuring the http-proxy the method call 
> "webdavResource.setHttpURL(httpURL);" must be added.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to