Hello, As I checked archiva is not working properly on windows 2008 server.. Main issue is, not able to download the artifacts from remote repository using proxy setting.
Please let me know if there is any solution for this ? Thank you. Mit freundlichen Grüßen / Best regards G Chandrasekaran -----Original Message----- From: Chandrasekaran G (RBEI/ETT4) Sent: Wednesday, 28. September 2011 11:30 AM To: '[email protected]' Subject: RE: Archiva on windows 2008 server 2011/9/27 Chandrasekaran G (RBEI/ETT4) <[email protected]>: > Yes, I have configured Network Proxies... > I tested, the same settings is working fine on windows 2003 server.. > Only issue is on windows 2008 server... > > > Thank you. > Mit freundlichen Grüßen / Best regards > G Chandrasekaran > > > -----Original Message----- > From: Olivier Lamy [mailto:[email protected]] > Sent: Tuesday, 27. September 2011 5:36 PM > To: [email protected] > Subject: Re: Archiva on windows 2008 server > > Hello, > 502 means: "Bad Gateway ou Proxy Error". > Do you have any http proxy between Apache Archiva and > http://repo1.maven.org/maven2/ ? > If yes have you check if there is any issues with this ? > > 2011/9/27 Chandrasekaran G (RBEI/ETT4) <[email protected]>: >> Hi.. >> >> Archiva not able to access http://repo1.maven.org/maven2/ site and >> download files from windows 2008 server. >> Do we need to change any settings on 2008 windows server? Please see the >> archvia logs below. >> >> >> 2011-09-27 16:31:20,364 [btpool0-2] WARN >> org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors - Transfer >> error from repository "central" for artifact junit:junit:3.8.1::jar, >> continuing to next repository. Error message: Download failure on resource >> [http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar]:Error >> transferring file: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar (cause: >> java.io.IOException: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar) >> 2011-09-27 16:31:20,379 [btpool0-2] ERROR >> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory - Failures >> occurred downloading from some remote repositories: >> central: Download failure on resource >> [http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar]:Error >> transferring file: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar (cause: >> java.io.IOException: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar) >> org.apache.maven.archiva.policies.ProxyDownloadException: Failures occurred >> downloading from some remote repositories: >> central: Download failure on resource >> [http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar]:Error >> transferring file: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar (cause: >> java.io.IOException: Server returned HTTP response code: 502 for URL: >> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar) >> at >> org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:195) >> at >> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.fetchContentFromProxies(ArchivaDavResourceFactory.java:623) >> at >> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.processRepository(ArchivaDavResourceFactory.java:456) >> at >> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(ArchivaDavResourceFactory.java:246) >> at >> org.apache.maven.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:117) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) >> at >> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) >> at >> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) >> at >> org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) >> at >> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) >> at >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) >> at >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) >> at >> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at >> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) >> at >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) >> at >> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) >> at >> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) >> at >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) >> at >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at >> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) >> at >> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at >> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) >> at >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) >> >> Thank you. >> Best regards >> G Chandrasekaran >> >> >> >> > > > > -- > Olivier Lamy > Talend : http://talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy
