You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by "Jackson, Brian R" <Br...@espn3.com> on 2008/04/02 16:49:00 UTC

Proxy connectors fails to download, Archiva needs restart

I'm experiencing the following issue.  After the Archiva server has been
up for some time, one of my proxy connectors starts to fail and the only
solution is to restart the service.  I see the following errors in the
log:

 

76814726 [SocketListener0-0] WARN
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Transfer error from repository "wdig.releases" for artifact
com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
message: Download failure on resource 

 

 

The repository wdig.releases is another Archiva instance that we have
internal to our company.  The proxy connector is setup for a direct
connection with no HTTP proxying.  I know the network connection isn't
an issue because a restart of just the Archiva service solves the
problem temporarily.

 

_______________________________________

Brian Jackson

Sr. Software Engineer

ESPN.com Fantasy Games

(860) 766-2511

 


RE: Proxy connectors fails to download, Archiva needs restart

Posted by Jason Chaffee <ja...@tvworks.com>.
FYI, I have noticed something similar after Archiva is up for a while
and I thought it was related to my other consumer issues so I didn't
mention it.  One possibility to consider is the difference of Archiva
being used as both a proxy and repository manager as opposed to just a
proxy.

Anyway, I thought I should let it be know that others are seeing this
behavior as well.

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Wednesday, April 02, 2008 3:10 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

I commented in the JIRA issue - it'd be great if you could turn on
debug level logging in log4j.xml to see what the exception is that
causes this.

Cheers,
Brett

On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I'm experiencing the following issue.  After the Archiva server has
been
>  up for some time, one of my proxy connectors starts to fail and the
only
>  solution is to restart the service.  I see the following errors in
the
>  log:
>
>
>
>  76814726 [SocketListener0-0] WARN
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>  com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
>  message: Download failure on resource
>
>
>
>
>
>  The repository wdig.releases is another Archiva instance that we have
>  internal to our company.  The proxy connector is setup for a direct
>  connection with no HTTP proxying.  I know the network connection
isn't
>  an issue because a restart of just the Archiva service solves the
>  problem temporarily.
>
>
>
>  _______________________________________
>
>  Brian Jackson
>
>  Sr. Software Engineer
>
>  ESPN.com Fantasy Games
>
>  (860) 766-2511
>
>
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by Jason Chaffee <ja...@tvworks.com>.
I was actually seeing the failure even though the artifacts are cached.

-----Original Message-----
From: Jackson, Brian R [mailto:Brian.R.Jackson@espn3.com] 
Sent: Thursday, April 03, 2008 11:53 AM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

It does just that.  The problem I'm having is with artifacts that
haven't been cached yet.

-----Original Message-----
From:
archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jason Chaffee
Sent: Thursday, April 03, 2008 2:44 PM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

Also, if the artifact is in the local cache and this failure happens,
shouldn't is simply log it and then return the cached artifact? 

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Thursday, April 03, 2008 6:29 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository
is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of
the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more
info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and
the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
-
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository.
Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we
have
>  >  internal to our company.  The proxy connector is setup for a
direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
It does just that.  The problem I'm having is with artifacts that
haven't been cached yet.

-----Original Message-----
From:
archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jason Chaffee
Sent: Thursday, April 03, 2008 2:44 PM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

Also, if the artifact is in the local cache and this failure happens,
shouldn't is simply log it and then return the cached artifact? 

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Thursday, April 03, 2008 6:29 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository
is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of
the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more
info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and
the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
-
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository.
Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we
have
>  >  internal to our company.  The proxy connector is setup for a
direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by Jason Chaffee <ja...@tvworks.com>.
Also, if the artifact is in the local cache and this failure happens,
shouldn't is simply log it and then return the cached artifact? 

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Thursday, April 03, 2008 6:29 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository
is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of
the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more
info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and
the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
-
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository.
Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we
have
>  >  internal to our company.  The proxy connector is setup for a
direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Archiva Proxy connectors user credentials

Posted by Andrei Vojakine <vo...@ca.ibm.com>.
I felt a little embarrassed since the answer was almost right in front of 
me. 

Here it is.

When you create remote repository you can provide user name and password 
to connect to it, NOT in proxy connectors section ( where I was looking 
originally )

Cheers 

Andrei



From:
"Daniel King" <dk...@vurv.com>
To:
<ar...@maven.apache.org>
Date:
04/23/2008 02:02 PM
Subject:
RE: Archiva Proxy connectors user credentials



It always nice to *POST* answers to your question even if you answer
them yourself.  You never know when someone else might be trying the
same thing.  In this case your post is a dead rabbit hole for them.

Thanks,
Daniel King
Vurv

The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify me immediately by replying to the
message and deleting it from your computer. Thank you. 

-----Original Message-----
From: Andrei Vojakine [mailto:vojakine@ca.ibm.com] 
Sent: Wednesday, April 23, 2008 4:53 PM
To: archiva-users@maven.apache.org
Subject: Re: Archiva Proxy connectors user credentials

Sorry folks...

scratch that I found the answer

Andrei



From:
Andrei Vojakine/CanWest/IBM@IBMCA
To:
archiva-users@maven.apache.org
Date:
04/23/2008 01:52 PM
Subject:
Archiva Proxy connectors user credentials



Hi all

I was wondering if it is possible to provide user credentials for
Archiva 
proxy connector.

Here is the scenario. We have two Archiva installations; the primary one

is secured with user names and password , that secondary one is at the 
remote location meant to serve as proxy to the primary one. How can I 
provide user name and password on the secondary one to login to the 
primary location?

Thank you

Andrei




RE: Archiva Proxy connectors user credentials

Posted by Daniel King <dk...@vurv.com>.
It always nice to *POST* answers to your question even if you answer
them yourself.  You never know when someone else might be trying the
same thing.  In this case your post is a dead rabbit hole for them.

Thanks,
Daniel King
Vurv

The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify me immediately by replying to the
message and deleting it from your computer. Thank you. 

-----Original Message-----
From: Andrei Vojakine [mailto:vojakine@ca.ibm.com] 
Sent: Wednesday, April 23, 2008 4:53 PM
To: archiva-users@maven.apache.org
Subject: Re: Archiva Proxy connectors user credentials

Sorry folks...

scratch that I found the answer

Andrei



From:
Andrei Vojakine/CanWest/IBM@IBMCA
To:
archiva-users@maven.apache.org
Date:
04/23/2008 01:52 PM
Subject:
Archiva Proxy connectors user credentials



Hi all

I was wondering if it is possible to provide user credentials for
Archiva 
proxy connector.

Here is the scenario. We have two Archiva installations; the primary one

is secured with user names and password , that secondary one is at the 
remote location meant to serve as proxy to the primary one. How can I 
provide user name and password on the secondary one to login to the 
primary location?

Thank you

Andrei



Re: Archiva Proxy connectors user credentials

Posted by Andrei Vojakine <vo...@ca.ibm.com>.
Sorry folks...

scratch that I found the answer

Andrei



From:
Andrei Vojakine/CanWest/IBM@IBMCA
To:
archiva-users@maven.apache.org
Date:
04/23/2008 01:52 PM
Subject:
Archiva Proxy connectors user credentials



Hi all

I was wondering if it is possible to provide user credentials for Archiva 
proxy connector.

Here is the scenario. We have two Archiva installations; the primary one 
is secured with user names and password , that secondary one is at the 
remote location meant to serve as proxy to the primary one. How can I 
provide user name and password on the secondary one to login to the 
primary location?

Thank you

Andrei

Archiva Proxy connectors user credentials

Posted by Andrei Vojakine <vo...@ca.ibm.com>.
Hi all

I was wondering if it is possible to provide user credentials for Archiva 
proxy connector.

Here is the scenario. We have two Archiva installations; the primary one 
is secured with user names and password , that secondary one is at the 
remote location meant to serve as proxy to the primary one. How can I 
provide user name and password on the secondary one to login to the 
primary location?

Thank you

Andrei

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
Brett,
Sorry it took so long to respond.  I tried this finally but it broke my
Archiva instance and it just returned 404 errors.  So I had to rollback
to using the wagon-http-lightweight.

Brian

-----Original Message-----
From:
archiva-users-return-1274-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1274-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Friday, April 04, 2008 7:50 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

Sorry about that Brian. I've reopened MRM-631 to track it. I've added
a couple of suggestions - I think the most likely to succeed is to
remove
apps/archiva/webapp/WEB-INF/lib/wagon-http-lightweight-1.0-beta-2.jar
and replace it with wagon-http-1.0-beta-2.jar which you can get from
the central repository.

Cheers,
Brett

On 05/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> No luck.  Now I'm getting the following exception in my wrapper.log.
I
>  sniffed the traffic and its still trying to connect through our HTTP
>  proxy even though I configured it to connect directly.
>
>
>
>  INFO   | jvm 1    | 2008/04/04 15:34:02 | WARNING:
>
/archiva/repository/releases/com/go/trove/trove/1.7.1/trove-1.7.1.jar:
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |
>  org.apache.maven.archiva.policies.ProxyDownloadException: Failures
>  occurred downloading from some remote repositories:
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       wdig.releases:
Download
>  failure on resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tro
>  ve/trove/1.7.1/trove-1.7.1.pom]:Error transferring file
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>
> mProxies(DefaultRepositoryProxyConnectors.java:197)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>
> Relocation(ProxiedDavServer.java:438)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>
> mProxies(ProxiedDavServer.java:353)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>
> DavServer.java:188)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpServer.service(HttpServer.java:909)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
>
> -----Original Message-----
>  From:
>  archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>
> Sent: Friday, April 04, 2008 10:25 AM
>  To: archiva-users@maven.apache.org
>  Subject: RE: Proxy connectors fails to download, Archiva needs
restart
>
>  Excellent!  I'll try it out and let you know if it happens again.
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Thursday, April 03, 2008 6:48 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  This was reported by others against 1.0.1, and they've been unable to
>  reproduce with 1.0.2.
>
>  That release is currently being voted on - you can test it out from
>  here:
>  http://people.apache.org/builds/maven/archiva/1.0.2/
>
>  - Brett
>
>  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I sniffed the traffic and it's attempting to connect through the
>  network
>  >  proxy I've setup for some of my other Proxy Connectors.  I've
>  >  double-checked that the Proxy Connector for wdig.releases, the
remote
>  >  repo that is failing, is configured to "(direct connection)".
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From:
>  >
archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
>  >
>
[mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
>  >  .org] On Behalf Of Jackson, Brian R
>  >  Sent: Thursday, April 03, 2008 11:36 AM
>  >  To: archiva-users@maven.apache.org
>  >
>  > Subject: RE: Proxy connectors fails to download, Archiva needs
restart
>  >
>  >  I spoke with Joe, the owner of the remote repository, and we
tested
>  it.
>  >  Apparently the request is not getting to the remote repository as
the
>  >  archiva.log, audit.log and wrapper.log on that server showed no
>  activity
>  >  at all while mine reports the exception caused by the 500 error.
I
>  will
>  >  now follow up with our MIS and operations team to trace the
request
>  as
>  >  see where it is being blocked.
>  >
>  >  -----Original Message-----
>  >  From:
>  >
archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
>  >
>
[mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
>  >  .org] On Behalf Of Brett Porter
>  >  Sent: Thursday, April 03, 2008 9:52 AM
>  >  To: archiva-users@maven.apache.org
>  >  Subject: Re: Proxy connectors fails to download, Archiva needs
>  restart
>  >
>  >  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  >  > Why would restarting MY instance of Archiva temporarily fix this
>  issue
>  >  >  though?  I'll get more information from the remote side when
the
>  >  owner
>  >  >  is available.
>  >  >
>  >
>  >  Good point - sorry I forgot that.
>  >
>  >  Let's see what they have to say - though others have also reported
>  >  this so perhaps there is something else going on here.
>  >
>  >  Thanks,
>  >  Brett
>  >
>  >  --
>  >  Brett Porter
>  >  Blog: http://blogs.exist.com/bporter/
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Proxy connectors fails to download, Archiva needs restart

Posted by Brett Porter <br...@gmail.com>.
Sorry about that Brian. I've reopened MRM-631 to track it. I've added
a couple of suggestions - I think the most likely to succeed is to
remove apps/archiva/webapp/WEB-INF/lib/wagon-http-lightweight-1.0-beta-2.jar
and replace it with wagon-http-1.0-beta-2.jar which you can get from
the central repository.

Cheers,
Brett

On 05/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> No luck.  Now I'm getting the following exception in my wrapper.log.  I
>  sniffed the traffic and its still trying to connect through our HTTP
>  proxy even though I configured it to connect directly.
>
>
>
>  INFO   | jvm 1    | 2008/04/04 15:34:02 | WARNING:
>  /archiva/repository/releases/com/go/trove/trove/1.7.1/trove-1.7.1.jar:
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |
>  org.apache.maven.archiva.policies.ProxyDownloadException: Failures
>  occurred downloading from some remote repositories:
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       wdig.releases: Download
>  failure on resource
>  [http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tro
>  ve/trove/1.7.1/trove-1.7.1.pom]:Error transferring file
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>
> mProxies(DefaultRepositoryProxyConnectors.java:197)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>
> Relocation(ProxiedDavServer.java:438)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>
> mProxies(ProxiedDavServer.java:353)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>
> DavServer.java:188)
>  INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpServer.service(HttpServer.java:909)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> INFO   | jvm 1    | 2008/04/04 15:34:02 |       at
>
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
>
> -----Original Message-----
>  From:
>  archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>
> Sent: Friday, April 04, 2008 10:25 AM
>  To: archiva-users@maven.apache.org
>  Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Excellent!  I'll try it out and let you know if it happens again.
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Thursday, April 03, 2008 6:48 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs restart
>
>  This was reported by others against 1.0.1, and they've been unable to
>  reproduce with 1.0.2.
>
>  That release is currently being voted on - you can test it out from
>  here:
>  http://people.apache.org/builds/maven/archiva/1.0.2/
>
>  - Brett
>
>  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I sniffed the traffic and it's attempting to connect through the
>  network
>  >  proxy I've setup for some of my other Proxy Connectors.  I've
>  >  double-checked that the Proxy Connector for wdig.releases, the remote
>  >  repo that is failing, is configured to "(direct connection)".
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From:
>  >  archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
>  >
>  [mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
>  >  .org] On Behalf Of Jackson, Brian R
>  >  Sent: Thursday, April 03, 2008 11:36 AM
>  >  To: archiva-users@maven.apache.org
>  >
>  > Subject: RE: Proxy connectors fails to download, Archiva needs restart
>  >
>  >  I spoke with Joe, the owner of the remote repository, and we tested
>  it.
>  >  Apparently the request is not getting to the remote repository as the
>  >  archiva.log, audit.log and wrapper.log on that server showed no
>  activity
>  >  at all while mine reports the exception caused by the 500 error.  I
>  will
>  >  now follow up with our MIS and operations team to trace the request
>  as
>  >  see where it is being blocked.
>  >
>  >  -----Original Message-----
>  >  From:
>  >  archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
>  >
>  [mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
>  >  .org] On Behalf Of Brett Porter
>  >  Sent: Thursday, April 03, 2008 9:52 AM
>  >  To: archiva-users@maven.apache.org
>  >  Subject: Re: Proxy connectors fails to download, Archiva needs
>  restart
>  >
>  >  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  >  > Why would restarting MY instance of Archiva temporarily fix this
>  issue
>  >  >  though?  I'll get more information from the remote side when the
>  >  owner
>  >  >  is available.
>  >  >
>  >
>  >  Good point - sorry I forgot that.
>  >
>  >  Let's see what they have to say - though others have also reported
>  >  this so perhaps there is something else going on here.
>  >
>  >  Thanks,
>  >  Brett
>  >
>  >  --
>  >  Brett Porter
>  >  Blog: http://blogs.exist.com/bporter/
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
No luck.  Now I'm getting the following exception in my wrapper.log.  I
sniffed the traffic and its still trying to connect through our HTTP
proxy even though I configured it to connect directly.



INFO   | jvm 1    | 2008/04/04 15:34:02 | WARNING:
/archiva/repository/releases/com/go/trove/trove/1.7.1/trove-1.7.1.jar: 
INFO   | jvm 1    | 2008/04/04 15:34:02 |
org.apache.maven.archiva.policies.ProxyDownloadException: Failures
occurred downloading from some remote repositories:
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	wdig.releases: Download
failure on resource
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tro
ve/trove/1.7.1/trove-1.7.1.pom]:Error transferring file
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
mProxies(DefaultRepositoryProxyConnectors.java:197)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
Relocation(ProxiedDavServer.java:438)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
mProxies(ProxiedDavServer.java:353)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
DavServer.java:188)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
service(MultiplexedWebDavServlet.java:119)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
toryServlet.java:155)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:830)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
atcher.java:189)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:39)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
ContextCleanUp.java:88)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpServer.service(HttpServer.java:909)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO   | jvm 1    | 2008/04/04 15:34:02 | 	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

-----Original Message-----
From:
archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1271-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jackson, Brian R
Sent: Friday, April 04, 2008 10:25 AM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

Excellent!  I'll try it out and let you know if it happens again.

-----Original Message-----
From:
archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Thursday, April 03, 2008 6:48 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

This was reported by others against 1.0.1, and they've been unable to
reproduce with 1.0.2.

That release is currently being voted on - you can test it out from
here:
http://people.apache.org/builds/maven/archiva/1.0.2/

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I sniffed the traffic and it's attempting to connect through the
network
>  proxy I've setup for some of my other Proxy Connectors.  I've
>  double-checked that the Proxy Connector for wdig.releases, the remote
>  repo that is failing, is configured to "(direct connection)".
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 11:36 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  I spoke with Joe, the owner of the remote repository, and we tested
it.
>  Apparently the request is not getting to the remote repository as the
>  archiva.log, audit.log and wrapper.log on that server showed no
activity
>  at all while mine reports the exception caused by the 500 error.  I
will
>  now follow up with our MIS and operations team to trace the request
as
>  see where it is being blocked.
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Thursday, April 03, 2008 9:52 AM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > Why would restarting MY instance of Archiva temporarily fix this
issue
>  >  though?  I'll get more information from the remote side when the
>  owner
>  >  is available.
>  >
>
>  Good point - sorry I forgot that.
>
>  Let's see what they have to say - though others have also reported
>  this so perhaps there is something else going on here.
>
>  Thanks,
>  Brett
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
Excellent!  I'll try it out and let you know if it happens again.

-----Original Message-----
From:
archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1265-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Thursday, April 03, 2008 6:48 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

This was reported by others against 1.0.1, and they've been unable to
reproduce with 1.0.2.

That release is currently being voted on - you can test it out from
here:
http://people.apache.org/builds/maven/archiva/1.0.2/

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I sniffed the traffic and it's attempting to connect through the
network
>  proxy I've setup for some of my other Proxy Connectors.  I've
>  double-checked that the Proxy Connector for wdig.releases, the remote
>  repo that is failing, is configured to "(direct connection)".
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 11:36 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  I spoke with Joe, the owner of the remote repository, and we tested
it.
>  Apparently the request is not getting to the remote repository as the
>  archiva.log, audit.log and wrapper.log on that server showed no
activity
>  at all while mine reports the exception caused by the 500 error.  I
will
>  now follow up with our MIS and operations team to trace the request
as
>  see where it is being blocked.
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Thursday, April 03, 2008 9:52 AM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > Why would restarting MY instance of Archiva temporarily fix this
issue
>  >  though?  I'll get more information from the remote side when the
>  owner
>  >  is available.
>  >
>
>  Good point - sorry I forgot that.
>
>  Let's see what they have to say - though others have also reported
>  this so perhaps there is something else going on here.
>
>  Thanks,
>  Brett
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Proxy connectors fails to download, Archiva needs restart

Posted by Brett Porter <br...@gmail.com>.
This was reported by others against 1.0.1, and they've been unable to
reproduce with 1.0.2.

That release is currently being voted on - you can test it out from here:
http://people.apache.org/builds/maven/archiva/1.0.2/

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I sniffed the traffic and it's attempting to connect through the network
>  proxy I've setup for some of my other Proxy Connectors.  I've
>  double-checked that the Proxy Connector for wdig.releases, the remote
>  repo that is failing, is configured to "(direct connection)".
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 11:36 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  I spoke with Joe, the owner of the remote repository, and we tested it.
>  Apparently the request is not getting to the remote repository as the
>  archiva.log, audit.log and wrapper.log on that server showed no activity
>  at all while mine reports the exception caused by the 500 error.  I will
>  now follow up with our MIS and operations team to trace the request as
>  see where it is being blocked.
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Thursday, April 03, 2008 9:52 AM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs restart
>
>  On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > Why would restarting MY instance of Archiva temporarily fix this issue
>  >  though?  I'll get more information from the remote side when the
>  owner
>  >  is available.
>  >
>
>  Good point - sorry I forgot that.
>
>  Let's see what they have to say - though others have also reported
>  this so perhaps there is something else going on here.
>
>  Thanks,
>  Brett
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
I sniffed the traffic and it's attempting to connect through the network
proxy I've setup for some of my other Proxy Connectors.  I've
double-checked that the Proxy Connector for wdig.releases, the remote
repo that is failing, is configured to "(direct connection)".


-----Original Message-----
From:
archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1260-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jackson, Brian R
Sent: Thursday, April 03, 2008 11:36 AM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

I spoke with Joe, the owner of the remote repository, and we tested it.
Apparently the request is not getting to the remote repository as the
archiva.log, audit.log and wrapper.log on that server showed no activity
at all while mine reports the exception caused by the 500 error.  I will
now follow up with our MIS and operations team to trace the request as
see where it is being blocked.

-----Original Message-----
From:
archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Thursday, April 03, 2008 9:52 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> Why would restarting MY instance of Archiva temporarily fix this issue
>  though?  I'll get more information from the remote side when the
owner
>  is available.
>

Good point - sorry I forgot that.

Let's see what they have to say - though others have also reported
this so perhaps there is something else going on here.

Thanks,
Brett

-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
I spoke with Joe, the owner of the remote repository, and we tested it.
Apparently the request is not getting to the remote repository as the
archiva.log, audit.log and wrapper.log on that server showed no activity
at all while mine reports the exception caused by the 500 error.  I will
now follow up with our MIS and operations team to trace the request as
see where it is being blocked.

-----Original Message-----
From:
archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1259-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Thursday, April 03, 2008 9:52 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> Why would restarting MY instance of Archiva temporarily fix this issue
>  though?  I'll get more information from the remote side when the
owner
>  is available.
>

Good point - sorry I forgot that.

Let's see what they have to say - though others have also reported
this so perhaps there is something else going on here.

Thanks,
Brett

-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Proxy connectors fails to download, Archiva needs restart

Posted by Brett Porter <br...@gmail.com>.
On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> Why would restarting MY instance of Archiva temporarily fix this issue
>  though?  I'll get more information from the remote side when the owner
>  is available.
>

Good point - sorry I forgot that.

Let's see what they have to say - though others have also reported
this so perhaps there is something else going on here.

Thanks,
Brett

-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
Why would restarting MY instance of Archiva temporarily fix this issue
though?  I'll get more information from the remote side when the owner
is available.

-----Original Message-----
From:
archiva-users-return-1257-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1257-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Thursday, April 03, 2008 9:29 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository
is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of
the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more
info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and
the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
-
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository.
Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we
have
>  >  internal to our company.  The proxy connector is setup for a
direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Proxy connectors fails to download, Archiva needs restart

Posted by Brett Porter <br...@gmail.com>.
ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  - OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
> [http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>  [http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>  org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>  org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>  org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>  org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>  org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>  org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>  com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>  org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>  org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>  org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>  org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code: 500
>  for URL:
>  http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>  sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>  org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  - OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
> [http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>  [http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>  org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>  org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>  org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>  org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>  org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>  com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>  org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>  org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>  org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>  org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>  org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>  org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code: 500
>  for URL:
>  http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>  sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>  org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>  [mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we have
>  >  internal to our company.  The proxy connector is setup for a direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
That didn't take long.

Here's the full stacktrace, which implies that the remote repository is
returning a 500 error, but if I hit the same URL through a browser I
can't reproduce the 500 error.  I will coordinate with the owner of the
remote repository and see if I can get more info from the logs on his
end.

418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
transfer from repository [Central Repository]).
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [cache-failures] policy with [no]
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  - OK
to fetch, check-failures policy set to NO.
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [releases] policy with [once]
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
update releases, local file does not exist.
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [snapshots] policy with [never]
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK to
update, snapshot policy does not apply for non-snapshot versions.
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - No
authentication for remote repository needed
418722 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
419035 [SocketListener0-1] WARN
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Transfer error from repository "wdig.releases" for artifact
com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
message: Download failure on resource
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
/tea/3.3.11/tea-3.3.11.pom]:Error transferring file
419035 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Full
stack trace
org.apache.maven.archiva.proxy.ProxyException: Download failure on
resource
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
/tea/3.3.11/tea-3.3.11.pom]:Error transferring file
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
SimpleFile(DefaultRepositoryProxyConnectors.java:717)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
File(DefaultRepositoryProxyConnectors.java:542)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
mProxies(DefaultRepositoryProxyConnectors.java:155)
	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
Relocation(ProxiedDavServer.java:447)
	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
mProxies(ProxiedDavServer.java:354)
	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
DavServer.java:189)
	at
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
service(MultiplexedWebDavServlet.java:119)
	at
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
toryServlet.java:155)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:830)
	at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
atcher.java:189)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:39)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
ContextCleanUp.java:88)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:104)
	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
SimpleFile(DefaultRepositoryProxyConnectors.java:679)
	... 28 more
Caused by: java.io.IOException: Server returned HTTP response code: 500
for URL:
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
ea/3.3.11/tea-3.3.11.pom
	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:1241)
	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:83)
	... 30 more
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
transfer from repository [Codehaus Releases]).
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
transfer from repository [Java.net Repository for Maven 2]).
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
transfer from repository [AndroMDA Releases]).
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
not found.
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
transfer from repository [Central Repository]).
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [cache-failures] policy with [no]
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  - OK
to fetch, check-failures policy set to NO.
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [releases] policy with [once]
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
update releases, local file does not exist.
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Applying [snapshots] policy with [never]
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK to
update, snapshot policy does not apply for non-snapshot versions.
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - No
authentication for remote repository needed
419050 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
419269 [SocketListener0-1] WARN
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Transfer error from repository "wdig.releases" for artifact
com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
message: Download failure on resource
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
/tea/3.3.11/tea-3.3.11.jar]:Error transferring file
419269 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Full
stack trace
org.apache.maven.archiva.proxy.ProxyException: Download failure on
resource
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
/tea/3.3.11/tea-3.3.11.jar]:Error transferring file
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
SimpleFile(DefaultRepositoryProxyConnectors.java:717)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
File(DefaultRepositoryProxyConnectors.java:542)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
mProxies(DefaultRepositoryProxyConnectors.java:155)
	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
mProxies(ProxiedDavServer.java:356)
	at
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
DavServer.java:189)
	at
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
service(MultiplexedWebDavServlet.java:119)
	at
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
toryServlet.java:155)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:830)
	at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
atcher.java:189)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:39)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
ContextCleanUp.java:88)
	at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:104)
	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
	at
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
SimpleFile(DefaultRepositoryProxyConnectors.java:679)
	... 27 more
Caused by: java.io.IOException: Server returned HTTP response code: 500
for URL:
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
ea/3.3.11/tea-3.3.11.jar
	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:1241)
	at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:83)
	... 29 more
419269 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
transfer from repository [Codehaus Releases]).
419410 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
transfer from repository [Java.net Repository for Maven 2]).
419410 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Path
[com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
transfer from repository [AndroMDA Releases]).
419410 [SocketListener0-1] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
not found.


-----Original Message-----
From:
archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jackson, Brian R
Sent: Thursday, April 03, 2008 9:18 AM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

Brett,
I turned on the debug level logging and will update you with more info
when it starts happening again.

Brian

-----Original Message-----
From:
archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Wednesday, April 02, 2008 6:10 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

I commented in the JIRA issue - it'd be great if you could turn on
debug level logging in log4j.xml to see what the exception is that
causes this.

Cheers,
Brett

On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I'm experiencing the following issue.  After the Archiva server has
been
>  up for some time, one of my proxy connectors starts to fail and the
only
>  solution is to restart the service.  I see the following errors in
the
>  log:
>
>
>
>  76814726 [SocketListener0-0] WARN
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>  com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
>  message: Download failure on resource
>
>
>
>
>
>  The repository wdig.releases is another Archiva instance that we have
>  internal to our company.  The proxy connector is setup for a direct
>  connection with no HTTP proxying.  I know the network connection
isn't
>  an issue because a restart of just the Archiva service solves the
>  problem temporarily.
>
>
>
>  _______________________________________
>
>  Brian Jackson
>
>  Sr. Software Engineer
>
>  ESPN.com Fantasy Games
>
>  (860) 766-2511
>
>
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Proxy connectors fails to download, Archiva needs restart

Posted by "Jackson, Brian R" <Br...@espn3.com>.
Brett,
I turned on the debug level logging and will update you with more info
when it starts happening again.

Brian

-----Original Message-----
From:
archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Brett Porter
Sent: Wednesday, April 02, 2008 6:10 PM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

I commented in the JIRA issue - it'd be great if you could turn on
debug level logging in log4j.xml to see what the exception is that
causes this.

Cheers,
Brett

On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I'm experiencing the following issue.  After the Archiva server has
been
>  up for some time, one of my proxy connectors starts to fail and the
only
>  solution is to restart the service.  I see the following errors in
the
>  log:
>
>
>
>  76814726 [SocketListener0-0] WARN
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>  com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
>  message: Download failure on resource
>
>
>
>
>
>  The repository wdig.releases is another Archiva instance that we have
>  internal to our company.  The proxy connector is setup for a direct
>  connection with no HTTP proxying.  I know the network connection
isn't
>  an issue because a restart of just the Archiva service solves the
>  problem temporarily.
>
>
>
>  _______________________________________
>
>  Brian Jackson
>
>  Sr. Software Engineer
>
>  ESPN.com Fantasy Games
>
>  (860) 766-2511
>
>
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Proxy connectors fails to download, Archiva needs restart

Posted by Brett Porter <br...@gmail.com>.
I commented in the JIRA issue - it'd be great if you could turn on
debug level logging in log4j.xml to see what the exception is that
causes this.

Cheers,
Brett

On 03/04/2008, Jackson, Brian R <Br...@espn3.com> wrote:
> I'm experiencing the following issue.  After the Archiva server has been
>  up for some time, one of my proxy connectors starts to fail and the only
>  solution is to restart the service.  I see the following errors in the
>  log:
>
>
>
>  76814726 [SocketListener0-0] WARN
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>  com.go.trove:trove:1.5.4::pom, continuing to next repository. Error
>  message: Download failure on resource
>
>
>
>
>
>  The repository wdig.releases is another Archiva instance that we have
>  internal to our company.  The proxy connector is setup for a direct
>  connection with no HTTP proxying.  I know the network connection isn't
>  an issue because a restart of just the Archiva service solves the
>  problem temporarily.
>
>
>
>  _______________________________________
>
>  Brian Jackson
>
>  Sr. Software Engineer
>
>  ESPN.com Fantasy Games
>
>  (860) 766-2511
>
>
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/