Archiva

Archiva "lends" its network proxy settings to Hudson

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.1
  • Fix Version/s: 1.4-M1
  • Component/s: remote proxy
  • Labels:
    None
  • Environment:
    Linux x86-64, JDK 1.5.0, Tomcat 6.0.18
  • Number of attachments :
    0

Description

Archiva 1.2.1 and Hudson ver. 1.322 are deployed on the same Tomcat instance.

When I create a network proxy configuration for remote repositories in Archiva, Hudson cannot access the local Subversion repository anymore. It turns out that Hudson somehow inherits the HTTP proxy settings from its neighbor web application, Archiva.

This is reproducible.

Activity

Hide
Brett Porter added a comment -

Yes, this is unfortunate as we are using the JDK libraries and they require system properties.

You can try removing wagon-http-lightweight from the webapp and adding wagon-http (and it's dependencies) instead.

Show
Brett Porter added a comment - Yes, this is unfortunate as we are using the JDK libraries and they require system properties. You can try removing wagon-http-lightweight from the webapp and adding wagon-http (and it's dependencies) instead.
Hide
Brett Porter added a comment -

we should investigate alternatives such as using the jetty http client

Show
Brett Porter added a comment - we should investigate alternatives such as using the jetty http client
Hide
Thomas Vandahl added a comment -

Until the fix I'd prefer this behavior to be documented. It took me hours to figure that one out.

Show
Thomas Vandahl added a comment - Until the fix I'd prefer this behavior to be documented. It took me hours to figure that one out.
Hide
Brett Porter added a comment -

added some brief documentation to cover this for the next release

Show
Brett Porter added a comment - added some brief documentation to cover this for the next release
Hide
Brett Porter added a comment -

should be ok in trunk

Show
Brett Porter added a comment - should be ok in trunk

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: