From archiva-usersjamesbrown@example.org Sun Apr 01 07:16:02 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 68939 invoked from network); 1 Apr 2007 07:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2007 07:16:00 -0000 Received: (qmail 9452 invoked by uid 500); 1 Apr 2007 07:16:07 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 9428 invoked by uid 500); 1 Apr 2007 07:16:07 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 9419 invoked by uid 99); 1 Apr 2007 07:16:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 00:16:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO webmail9.amenworld.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Apr 2007 00:15:59 -0700 Received: (qmail 9608 invoked from network); 1 Apr 2007 07:15:38 -0000 Received: from 90.52.68-86.rev.gaoland.net (HELO ?83.161.120.155?) (83.161.120.155) by 0 with SMTP; 1 Apr 2007 07:15:38 -0000 Message-ID: <jamesbrown@example.org> Date: Sun, 01 Apr 2007 09:15:29 +0200 From: Emmanuel Venisse <jamesbrown@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20070221) MIME-Version: 1.0 To: jamesbrown@example.org Subject: Re: Can't build Archive latest due to archive-proxy References: <jamesbrown@example.org> In-Reply-To: <jamesbrown@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org The build worked fine for lot of us, but with the latest fix, it should build fine for you too. Emmanuel Wendell a écrit : > I've been getting failed builds with Archiva since last night for the > following error in the archiva-proxy project. > > Test set: org.apache.maven.archiva.proxy.ProxyRequestHandlerTest > ------------------------------------------------------------------------------- > Tests run: 64, Failures: 0, Errors: 64, Skipped: 0, Time elapsed: 0.331 sec > <<< FAILURE! > testGetDefaultLayoutNotPresent(org.apache.maven.archiva.proxy.ProxyRequestHandlerTest) > Time elapsed: 0.041 sec <<< ERROR! > java.lang.NoSuchMethodError: > org.codehaus.plexus.PlexusContainer.setConfigurationResource(Ljava/io/Reader;)V > at org.codehaus.plexus.PlexusTestCase.setUp(PlexusTestCase.java:116) > at > org.apache.maven.archiva.proxy.ProxyRequestHandlerTest.setUp(ProxyRequestHandlerTest.java:98) > at junit.framework.TestCase.runBare(TestCase.java:125) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) > at org.apache.maven.surefire.Surefire.run(Surefire.java:129) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) > > > The problem was reported before @ > http://www.nabble.com/forum/ViewPost.jtp?post=9670861&framed=y > http://www.nabble.com/forum/ViewPost.jtp?post=9670861&framed=y , but I did > not see a solution however it seems the problem went away for the reporter. > I have tried building the latest as well as rev 521889 that was reported as > working. I have done clean checkouts on both revs as well as wiped the > repository for a full repo rebuild. > > What can I do to get past this problem and onto the next? > > Wb > From archiva-usersjamesbrown@example.org Sun Apr 01 20:08:15 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 49740 invoked from network); 1 Apr 2007 20:08:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2007 20:08:14 -0000 Received: (qmail 53414 invoked by uid 500); 1 Apr 2007 20:08:21 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 53280 invoked by uid 500); 1 Apr 2007 20:08:20 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 53271 invoked by uid 99); 1 Apr 2007 20:08:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 13:08:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 13:08:11 -0700 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HY6L8-00012j-OZ for jamesbrown@example.org; Sun, 01 Apr 2007 13:07:50 -0700 Message-ID: <jamesbrown@example.org> Date: Sun, 1 Apr 2007 13:07:50 -0700 (PDT) From: Wendell <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: Can't build Archive latest due to archive-proxy In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: jamesbrown@example.org References: <jamesbrown@example.org> <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org It's working now although the only 3 changes I have made is to update to maven 2.0.6, wipe out and let the new maven rebuild the repo and I updated the jdk to java 6 update 1. None of those changes should have affected the building but that's a mystery for another time. Wb Emmanuel Venisse wrote: >=20 > The build worked fine for lot of us, but with the latest fix, it should > build fine for you too. >=20 > Emmanuel >=20 > Wendell a =C3=A9crit : >> I've been getting failed builds with Archiva since last night for the >> following error in the archiva-proxy project. >>=20 >> Test set: org.apache.maven.archiva.proxy.ProxyRequestHandlerTest >> ------------------------------------------------------------------------= ------- >> Tests run: 64, Failures: 0, Errors: 64, Skipped: 0, Time elapsed: 0.331 >> sec >> <<< FAILURE! >> testGetDefaultLayoutNotPresent(org.apache.maven.archiva.proxy.ProxyReque= stHandlerTest)=20 >> Time elapsed: 0.041 sec <<< ERROR! >> java.lang.NoSuchMethodError: >> org.codehaus.plexus.PlexusContainer.setConfigurationResource(Ljava/io/Re= ader;)V >> =09at org.codehaus.plexus.PlexusTestCase.setUp(PlexusTestCase.java:116) >> =09at >> org.apache.maven.archiva.proxy.ProxyRequestHandlerTest.setUp(ProxyReques= tHandlerTest.java:98) >> =09at junit.framework.TestCase.runBare(TestCase.java:125) >> =09at junit.framework.TestResult$1.protect(TestResult.java:106) >> =09at junit.framework.TestResult.runProtected(TestResult.java:124) >> =09at junit.framework.TestResult.run(TestResult.java:109) >> =09at junit.framework.TestCase.run(TestCase.java:118) >> =09at junit.framework.TestSuite.runTest(TestSuite.java:208) >> =09at junit.framework.TestSuite.run(TestSuite.java:203) >> =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> =09at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:39) >> =09at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:25) >> =09at java.lang.reflect.Method.invoke(Method.java:597) >> =09at >> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:2= 10) >> =09at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSe= t(AbstractDirectoryTestSuite.java:135) >> =09at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstr= actDirectoryTestSuite.java:122) >> =09at org.apache.maven.surefire.Surefire.run(Surefire.java:129) >> =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> =09at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:39) >> =09at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:25) >> =09at java.lang.reflect.Method.invoke(Method.java:597) >> =09at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Suref= ireBooter.java:225) >> =09at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java= :747) >>=20 >>=20 >> The problem was reported before @=20 >> http://www.nabble.com/forum/ViewPost.jtp?post=3D9670861&framed=3Dy >> http://www.nabble.com/forum/ViewPost.jtp?post=3D9670861&framed=3Dy , but= I >> did >> not see a solution however it seems the problem went away for the >> reporter.=20 >> I have tried building the latest as well as rev 521889 that was reported >> as >> working. I have done clean checkouts on both revs as well as wiped the >> repository for a full repo rebuild. >>=20 >> What can I do to get past this problem and onto the next? >>=20 >> Wb >>=20 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Can%27t-build-Archive-l= atest-due-to-archive-proxy-tf3497575.html#a9781630 Sent from the archiva-users mailing list jamesbrown@example.org. From archiva-usersjamesbrown@example.org Mon Apr 02 14:21:41 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 34318 invoked from network); 2 Apr 2007 14:21:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 14:21:39 -0000 Received: (qmail 96592 invoked by uid 500); 2 Apr 2007 14:21:46 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 96555 invoked by uid 500); 2 Apr 2007 14:21:46 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 96538 invoked by uid 99); 2 Apr 2007 14:21:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 07:21:45 -0700 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 07:21:37 -0700 Received: by ug-out-1314.google.com with SMTP id j40so1653166ugd for <jamesbrown@example.org>; Mon, 02 Apr 2007 07:21:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=kg0PagBqYRmJsX7Xn2UJI2oYQp0yHU0F9JSFermQ7Vv78C9H8YyE4pWLBFZVn8HMfmqZTpbFVOSbbnMssSxiRWkijMmaHCa31tloaeMKnueS3Wq1AC8vGv6eG5jdl5ps04N0UU3jomxNV3J/ZoIzNc8AtTM1J2PhEOp1YozXoO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OQh9y4yIr9Kh10adRdErmgOQPppGsEv3r9OHguaftbgGdwWVkMljeSWNES+DEc1zW4LD72IXcUF20AApSMiOckTnGMEkuPG30e4n6WseJ5Z3cI0/EjmItszDEIPwi3lnjIs0330yzjwe5yL9E5nLOny1mKFnDFlYQUAYKYisch4= Received: by 83.161.120.155 with SMTP id g15mr1454029huf.1175523675164; Mon, 02 Apr 2007 07:21:15 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 2 Apr 2007 07:21:15 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Mon, 2 Apr 2007 16:21:15 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: ConcurrentModificationException MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_212343_23632631.1175523675068" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_212343_23632631.1175523675068 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I've setup archiva as proxy to maven central. I'm using a recent snapshot build. I get sometimes (?) 500 errors when downloading artifacts. According to logs, this is a ConcurrentModificationException. Is this a known bug ? Here is the stacktrace : 2007-04-02 10:11:25,392 [http-8888-1] ERROR [RepositoryServlet] = - "Servlet.service()" pour la servlet RepositoryServlet a g=E9n=E9r=E9 une ex= ception jamesbrown@example.org$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress( TransferEventSupport.java:117) at org.apache.maven.wagon.AbstractWagon.fireTransferProgress( AbstractWagon.java:350) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:336= ) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java :199) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java :182) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80) at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getFileFromReposi= tory (DefaultProxyRequestHandler.java:541) at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( DefaultProxyRequestHandler.java:393) at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getArtifactFromRe= pository (DefaultProxyRequestHandler.java:260) at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( DefaultProxyRequestHandler.java:196) at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( DefaultProxyRequestHandler.java:116) at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromPr= oxies (ProxiedDavServer.java:156) at org.apache.maven.archiva.web.repository.ProxiedDavServer.process( ProxiedDavServer.java:144) at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.ser= vice (MultiplexedWebDavServlet.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter( FilterDispatcher.java:189) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter( ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11AprProcessor.process( Http11AprProcessor.java:833) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process( Http11AprProtocol.java:639) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java :1285) at java.lang.Thread.run(Unknown Source) ------=_Part_212343_23632631.1175523675068-- From archiva-usersjamesbrown@example.org Mon Apr 02 16:13:05 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 82299 invoked from network); 2 Apr 2007 16:13:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 16:13:01 -0000 Received: (qmail 67606 invoked by uid 500); 2 Apr 2007 16:13:08 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 67566 invoked by uid 500); 2 Apr 2007 16:13:08 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 67557 invoked by uid 99); 2 Apr 2007 16:13:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 09:13:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 09:12:59 -0700 Received: by wr-out-0506.google.com with SMTP id i23so1495517wra for <jamesbrown@example.org>; Mon, 02 Apr 2007 09:12:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IXq5J2bPw+LIy8apTRq6Yyv3W937NNM0L/HQIVrVA+bXd16lURHia1HguV5KFSWhDo/Q7/rJwjiqFLYWHoI0cXZjdccDTkusMUGL57qYA/4gWcExEhGnMxDOAT3Nqg+FHQnn+5V4UJD2ZaAFtmcWUJIBooknXckl63cmMShqZPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UyaUDvgogDnhC9kSFVV56oGjYKrvL5+hqmMwBJvr3UczlU/gQN7a+Yd8tOOUTa+1gCSyH7IfrKzQRZJAhUW7/y5M9FLelsVpzWRl/+M9YaC3342D2oBE4OU7Q2QhAXW7cIjzFSA42RIYsyvztt5ibF2/XBgMEl4DxDVLoKfUIo8= Received: by 83.161.120.155 with SMTP id d4mr1861278wab.1175530357718; Mon, 02 Apr 2007 09:12:37 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 2 Apr 2007 09:12:37 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Mon, 2 Apr 2007 18:12:37 +0200 From: "Jan Delannoy" <jamesbrown@example.org> To: jamesbrown@example.org Subject: WebDAV uploading in Tomcat MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I deployed archiva in Tomcat (5.5.23) according to the instructions on http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat and all seems to be fine, except that when I try to deploy something to my archiva repository Maven repeatedly gives me the following message: INFO: Already tried to authenticate with 'Repository release' authentication jamesbrown@example.org, but still receiving: HTTP/1.1 401 Authorization Denied. And eventually the following exception: org.apache.commons.httpclient.HttpException: Unbuffered entity enclosing request can not be repeated. at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:436) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2316) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.putMethod(CorrectedWebdavResource.java:156) at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:287) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:222) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:151) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:152) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) At the same time I get the following exception in the archiva log file: 1093353 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/archiva].[RepositoryServlet] - Servlet.service() for servlet RepositoryServlet threw exception javax.servlet.ServletException: Unable to service DAV request due to unconfigured DavServerComponent for prefix []. at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) Does anyone know what might be the problem here? I wonder if this is an Archiva problem or a Tomcat problem... Has anyone been able to upload artifacts over WebDAV to an Archiva deployed in Tomcat? Any help would be greatly appreciated... Many thanks, Jan From archiva-usersjamesbrown@example.org Mon Apr 02 17:04:07 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 7132 invoked from network); 2 Apr 2007 17:04:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 17:04:06 -0000 Received: (qmail 2685 invoked by uid 500); 2 Apr 2007 17:04:14 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 2562 invoked by uid 500); 2 Apr 2007 17:04:13 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 2553 invoked by uid 99); 2 Apr 2007 17:04:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:04:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:04:05 -0700 Received: by an-out-0708.google.com with SMTP id c38so1264903ana for <jamesbrown@example.org>; Mon, 02 Apr 2007 10:03:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XV7Y4rXrSlqQDwNk9SnKOm4fQK/GmUMrbCC1y1dnPyWU9f93sgTSfvFJjAmnerCVHH3OGIFVRKi6X4Oa3EuQDqpljLg3RtbVKMBVcHgnYdIgkV+Uh0kq2auyoaS8F6oOsKKBU+OVcfdBwbsiHaiQkeI5gTXBaHJftBPHltpk4Y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QFsJlm7fIx6ntBPFjz8G0ae6zhumGAYxK2KHO39MUCW2Az14oovGbnbxvGVRBKy51EjcYzQgoORvQQK6wsUlyTNGqEs2ZUF4IM9h+NferV35ty6zoLpCAhKl/61l6sdQk2lrc/OjAdKYNX+yBac40B8CN4kSY/OTaPh0kbFyKuQ= Received: by 83.161.120.155 with SMTP id g14mr3672750ang.1175533423947; Mon, 02 Apr 2007 10:03:43 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 2 Apr 2007 10:03:43 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Mon, 2 Apr 2007 10:03:43 -0700 From: "Wendy Smoak" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: WebDAV uploading in Tomcat In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org On 4/2/07, Jan Delannoy <jamesbrown@example.org> wrote: > I deployed archiva in Tomcat (5.5.23) according to the instructions on > http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat and all > seems to be fine, except that when I try to deploy something to my > archiva repository Maven repeatedly gives me the following message: > > INFO: Already tried to authenticate with 'Repository release' > authentication jamesbrown@example.org, but still receiving: HTTP/1.1 > 401 Authorization Denied. Have you granted the 'Repository Manager' role and followed the instructions here to configure a userid/password? -- Wendy From archiva-usersjamesbrown@example.org Mon Apr 02 17:29:16 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 15678 invoked from network); 2 Apr 2007 17:29:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 17:29:14 -0000 Received: (qmail 42665 invoked by uid 500); 2 Apr 2007 17:29:21 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 42644 invoked by uid 500); 2 Apr 2007 17:29:21 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 42635 invoked by uid 99); 2 Apr 2007 17:29:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:29:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 10:29:13 -0700 Received: by an-out-0708.google.com with SMTP id c38so1274426ana for <jamesbrown@example.org>; Mon, 02 Apr 2007 10:28:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nTv0RqUGDUHKV/h3ve9rO4On5kq7UzNMtbvfPn2s6xMk6LAQBm2YFo/mMSZsEdp7NPK+jR8hp9EdFzCZCPS7i/W1VvoB83OGopi/JJTryWr4YIDZMr6yI9ldU0VZFRXXuOKQm0cPOXNhGuQrFzpC8p+AOCubWPa1qw/nJQnL8yQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MUPzuYxaBBR0CQ3iLMGcXIyRisRCIeRSj3c5Yvdge1OkZOiMAcXSIkM+zHxBlV5FlCOdcFHcHdGyd/KNC06w+r2B4cilbG1tJLboXEOMTAqIRYxbbiEFvTPgZ4hqTj+R6DlmLEdKqdbaCOaYP22Tnx2lXhv/OFqEm7RR3yM/dDo= Received: by 83.161.120.155 with SMTP id m8mr3691237ang.1175534932291; Mon, 02 Apr 2007 10:28:52 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 2 Apr 2007 10:28:52 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Mon, 2 Apr 2007 10:28:52 -0700 From: "Wendy Smoak" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: WebDAV uploading in Tomcat In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jamesbrown@example.org> <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org On 4/2/07, Wendy Smoak <jamesbrown@example.org> wrote: > Have you granted the 'Repository Manager' role and followed the > instructions here to configure a userid/password? The link would help... http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html -- Wendy From archiva-usersjamesbrown@example.org Mon Apr 02 18:11:24 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 33806 invoked from network); 2 Apr 2007 18:11:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2007 18:11:23 -0000 Received: (qmail 17139 invoked by uid 500); 2 Apr 2007 18:11:30 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 17013 invoked by uid 500); 2 Apr 2007 18:11:30 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 17004 invoked by uid 99); 2 Apr 2007 18:11:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 11:11:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO nmxmail.nanometrics.ca) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 11:11:22 -0700 Received: from localhost (localhost.localdomain [83.161.120.155]) by nmxmail.nanometrics.ca (Postfix) with ESMTP id A7AAF15709FD for <jamesbrown@example.org>; Mon, 2 Apr 2007 14:11:00 -0400 (EDT) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Apr 2 14:10:58 2007 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 46114732172331477013429 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.442 X-Spam-Level: Received: from nmxmail.nanometrics.ca ([83.161.120.155]) by localhost (nmxmail.nanometrics.ca [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 2qAjoJszmRqX for <jamesbrown@example.org>; Mon, 2 Apr 2007 14:10:58 -0400 (EDT) Received: from [83.161.120.155] (unknown [83.161.120.155]) by nmxmail.nanometrics.ca (Postfix) with ESMTP id B8C0F1570970 for <jamesbrown@example.org>; Mon, 2 Apr 2007 14:10:56 -0400 (EDT) Message-ID: <jamesbrown@example.org> Date: Mon, 02 Apr 2007 14:10:50 -0400 From: Ben Tatham <jamesbrown@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20070221) MIME-Version: 1.0 To: jamesbrown@example.org Subject: Indexer: cannot find artifact Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.442 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.057, BAYES_00=-2.599, DSPAM_HAM=-0.1] Hi, Whenever I run the indexer on my repository, I get a this error: Couldn't find artifact /disk1/maestro-1.1/project-server/data/project-server/repository/ca/nanometrics/apollo/core/1.0.9/core-1.0.9-test.jar If I just create that file, it works, but of course this error happens over and over for different artifacts. In fact, it happens for almost all my "war" projects...I am using the maven-jar-plugin, "test-jar" goal to make the test jar, which creates: core-1.0.9-tests-jar.jar for me. But the real question is why/how does Archiva care about them, and why can't it index them? Thanks, Ben From archiva-usersjamesbrown@example.org Tue Apr 03 07:00:03 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 24298 invoked from network); 3 Apr 2007 07:00:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 07:00:02 -0000 Received: (qmail 99773 invoked by uid 500); 3 Apr 2007 07:00:09 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 99653 invoked by uid 500); 3 Apr 2007 07:00:09 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 99644 invoked by uid 99); 3 Apr 2007 07:00:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 00:00:09 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 00:00:00 -0700 Received: by ug-out-1314.google.com with SMTP id j40so201673ugd for <jamesbrown@example.org>; Mon, 02 Apr 2007 23:59:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=D+yk8B8BA/9ALUK6Pj3E3QkGYsAFpQVOMXc1hCOrHTF+tLQ5ZbrWBqENm0zxvhjr5KXaFmf1ckSnQC8Rxy3z3yHSb+Hgv1p7cRqIFnNINXEyBnXZuZW79LyMsEF5Up+xXtm6jg1WjRKn5b/4OvYSx7j0CdbEsGVeGTwKGJdnZss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cn5/HdehbU02tJgv/Dm8Z47o37L6EV6QdcZCh4kLLy3o/8qmzuIBuUVikHAqkKSj66RhshnFlAnGXbLd8MquHwOPLbRqPs+g3pXEQHfEKRlux/pDXR+k+QTO1rl4hHxiH0e7mANpftbrjgChLS3SYEByyZ4uoYyu1soX2IkWhC8= Received: by 83.161.120.155 with SMTP id m16mr1600977hum.1175583579344; Mon, 02 Apr 2007 23:59:39 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 2 Apr 2007 23:59:39 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Tue, 3 Apr 2007 08:59:39 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: ConcurrentModificationException In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4249_29784763.1175583579268" References: <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4249_29784763.1175583579268 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This seems to be a thread-safety issue in Wagon TransferEventSupport<http://maven.apache.org/wagon/wagon-provider-api/xref/= org/apache/maven/wagon/events/TransferEventSupport.html> The listeners list is an ArrayList and add/remove/fireEvent methods are not synchronized. This requires either synchronization or use of a CopyOnWriteArrayList. I've created http://jira.codehaus.org/browse/WAGON-79 for this. 2007/4/2, nicolas de loof <jamesbrown@example.org>: > > Hello, > > I've setup archiva as proxy to maven central. I'm using a recent snapshot > build. > I get sometimes (?) 500 errors when downloading artifacts. According to > logs, this is a ConcurrentModificationException. > > Is this a known bug ? > > Here is the stacktrace : > > > 2007-04-02 10:11:25,392 [http-8888-1] ERROR [RepositoryServlet] > - "Servlet.service()" pour la servlet RepositoryServlet a g=E9n=E9r=E9 un= e > exception > java.util.ConcurrentModificationException > at java.util.AbstractList$Itr.checkForComodification(Unknown Source) > at java.util.AbstractList$Itr.next(Unknown Source) > at > org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress ( > TransferEventSupport.java:117) > at org.apache.maven.wagon.AbstractWagon.fireTransferProgress( > AbstractWagon.java:350) > at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java > :336) > at org.apache.maven.wagon.AbstractWagon.getTransfer ( > AbstractWagon.java:199) > at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.jav= a > :182) > at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80) > at > org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getFileFromRepo= sitory( > DefaultProxyRequestHandler.java:541) > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > DefaultProxyRequestHandler.java:393) > at > org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getArtifactFrom= Repository( > DefaultProxyRequestHandler.java:260) > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > DefaultProxyRequestHandler.java:196) > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > DefaultProxyRequestHandler.java :116) > at > org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFrom= Proxies > (ProxiedDavServer.java:156) > at org.apache.maven.archiva.web.repository.ProxiedDavServer.process( > ProxiedDavServer.java:144) > at > org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.s= ervice > (MultiplexedWebDavServlet.java:111) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter ( > ApplicationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:173) > at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter( > FilterDispatcher.java :189) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:173) > at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( > PageFilter.java:39) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter ( > ApplicationFilterChain.java:173) > at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter( > ActionContextCleanUp.java:88) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java :202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:173) > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke ( > StandardContextValve.java:178) > at org.apache.catalina.core.StandardHostValve.invoke( > StandardHostValve.java:126) > at org.apache.catalina.valves.ErrorReportValve.invoke( > ErrorReportValve.java:105) > at org.apache.catalina.core.StandardEngineValve.invoke ( > StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service( > CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11AprProcessor.process( > Http11AprProcessor.java:833) > at > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proces= s( > Http11AprProtocol.java:639) > at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java > :1285) > at java.lang.Thread.run(Unknown Source) > ------=_Part_4249_29784763.1175583579268-- From archiva-usersjamesbrown@example.org Tue Apr 03 07:20:53 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 37402 invoked from network); 3 Apr 2007 07:20:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 07:20:52 -0000 Received: (qmail 30194 invoked by uid 500); 3 Apr 2007 07:20:59 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 30167 invoked by uid 500); 3 Apr 2007 07:20:59 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 30157 invoked by uid 99); 3 Apr 2007 07:20:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 00:20:59 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 00:20:51 -0700 Received: by ug-out-1314.google.com with SMTP id j40so206203ugd for <jamesbrown@example.org>; Tue, 03 Apr 2007 00:20:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HdHmLAhtY5f/ZHM5ZQRHUntM+l0acGkG3dx1xraE4HBgmUv9gXPMZMFWAb59Z+NeqfNvHFWkr5+gz0WlyuydbTpEmBs0sHEzQN9yc5ISMQS0wR+nUms5zFQdumvxMc6uFlC6pAtrVN8YMsvCQyFQSt/dMo8h/qrTyNErXJ+Jb2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DqcxjeSPxL8JHbq2xtwCzk8HfL4TMmgYP+QN4AOp0qcnxFGPbU0cIk2agHTm/6dSgZu2xaOJh/mPFA0d5kOs3cl9qa7bLC8FESB2Mcb3/rv84e90R72G5CxuEqbFkTEp89mi7UwCMVWc1mQYNPzGPk7op0cAsz/ArzCmJCMAnAQ= Received: by 83.161.120.155 with SMTP id y20mr1605636hue.1175584829720; Tue, 03 Apr 2007 00:20:29 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 3 Apr 2007 00:20:29 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Tue, 3 Apr 2007 09:20:29 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: ConcurrentModificationException In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4441_10045503.1175584829674" References: <jamesbrown@example.org> <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4441_10045503.1175584829674 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've attached a simple "synchronized" patch for this, but htis will require to set wagon dependencies to 2.0-SNAPSHOT. This may have some incidence on archiva stability. 2007/4/3, nicolas de loof <jamesbrown@example.org>: > > This seems to be a thread-safety issue in Wagon TransferEventSupport<http= ://maven.apache.org/wagon/wagon-provider-api/xref/org/apache/maven/wagon/ev= ents/TransferEventSupport.html> > > The listeners list is an ArrayList and add/remove/fireEvent methods are > not synchronized. > This requires either synchronization or use of a CopyOnWriteArrayList. > > I've created http://jira.codehaus.org/browse/WAGON-79 for this. > > > 2007/4/2, nicolas de loof <jamesbrown@example.org>: > > > > Hello, > > > > I've setup archiva as proxy to maven central. I'm using a recent > > snapshot build. > > I get sometimes (?) 500 errors when downloading artifacts. According to > > logs, this is a ConcurrentModificationException. > > > > Is this a known bug ? > > > > Here is the stacktrace : > > > > > > 2007-04-02 10:11:25,392 [http-8888-1] ERROR > > [RepositoryServlet] - "Servlet.service()" pour la servlet > > RepositoryServlet a g=E9n=E9r=E9 une exception > > java.util.ConcurrentModificationException > > at java.util.AbstractList$Itr.checkForComodification(Unknown Source= ) > > at java.util.AbstractList$Itr.next(Unknown Source) > > at > > org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress= ( > > TransferEventSupport.java:117) > > at org.apache.maven.wagon.AbstractWagon.fireTransferProgress( > > AbstractWagon.java:350) > > at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java > > :336) > > at org.apache.maven.wagon.AbstractWagon.getTransfer ( > > AbstractWagon.java:199) > > at org.apache.maven.wagon.AbstractWagon.getTransfer( > > AbstractWagon.java:182) > > at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80) > > at > > org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getFileFromRe= pository( > > DefaultProxyRequestHandler.java:541) > > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > > DefaultProxyRequestHandler.java:393) > > at > > org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.getArtifactFr= omRepository( > > DefaultProxyRequestHandler.java:260) > > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > > DefaultProxyRequestHandler.java:196) > > at org.apache.maven.archiva.proxy.DefaultProxyRequestHandler.get( > > DefaultProxyRequestHandler.java :116) > > at > > org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFr= omProxies > > (ProxiedDavServer.java:156) > > at org.apache.maven.archiva.web.repository.ProxiedDavServer.process= ( > > ProxiedDavServer.java :144) > > at > > org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet= .service > > (MultiplexedWebDavServlet.java:111) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= ( > > ApplicationFilterChain.java:252) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > ApplicationFilterChain.java:173) > > at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter( > > FilterDispatcher.java :189) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= ( > > ApplicationFilterChain.java:202) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > ApplicationFilterChain.java:173) > > at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( > > PageFilter.java:39) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= ( > > ApplicationFilterChain.java:202) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter ( > > ApplicationFilterChain.java:173) > > at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilte= r > > (ActionContextCleanUp.java:88) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= ( > > ApplicationFilterChain.java :202) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > ApplicationFilterChain.java:173) > > at org.apache.catalina.core.StandardWrapperValve.invoke( > > StandardWrapperValve.java:213) > > at org.apache.catalina.core.StandardContextValve.invoke ( > > StandardContextValve.java:178) > > at org.apache.catalina.core.StandardHostValve.invoke( > > StandardHostValve.java:126) > > at org.apache.catalina.valves.ErrorReportValve.invoke( > > ErrorReportValve.java:105) > > at org.apache.catalina.core.StandardEngineValve.invoke ( > > StandardEngineValve.java:107) > > at org.apache.catalina.connector.CoyoteAdapter.service( > > CoyoteAdapter.java:148) > > at org.apache.coyote.http11.Http11AprProcessor.process( > > Http11AprProcessor.java:833) > > at > > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proc= ess( > > Http11AprProtocol.java:639) > > at org.apache.tomcat.util.net.AprEndpoint$Worker.run( > > AprEndpoint.java:1285) > > at java.lang.Thread.run(Unknown Source) > > > > ------=_Part_4441_10045503.1175584829674-- From archiva-usersjamesbrown@example.org Tue Apr 03 10:24:08 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 8762 invoked from network); 3 Apr 2007 10:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2007 10:24:06 -0000 Received: (qmail 14317 invoked by uid 500); 3 Apr 2007 10:24:14 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 14184 invoked by uid 500); 3 Apr 2007 10:24:13 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 14175 invoked by uid 99); 3 Apr 2007 10:24:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 03:24:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 03:24:05 -0700 Received: by wr-out-0506.google.com with SMTP id i23so1731311wra for <jamesbrown@example.org>; Tue, 03 Apr 2007 03:23:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LmZY/7W2b3LveeNNRxt50CuWYYmJg0DapqzszuAPegShaH/orCtzM3COo9UKbR6jTX9sClgXZ3TAY7smxvHoH9eQbtth5X1XHTRGymfG3VUpI1+Ny5eWMfFdOcIBSpNWS1REyJNFrBu/+tHnVwsJQXe+OsI4T+HwBDUb9dhzuTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pmj2/nRzT+CJx5LrGpEATCHQ1augTnDLuidi/lvs7FLh1RDzXDNJbIcuNQmYI99/sdQwjuAHrfHqqYnz4OxxrHeMefFEXmGspnyU4PHs5R2tRDxP9GXxC1zrJKGFBrUf1D4lQemog2VtWvxYqS+7PqK3Pw1vIAvD3rlvLm5pp3k= Received: by 83.161.120.155 with SMTP id q1mr2152725wal.1175595824348; Tue, 03 Apr 2007 03:23:44 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 3 Apr 2007 03:23:44 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Tue, 3 Apr 2007 12:23:44 +0200 From: "Jan Delannoy" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: WebDAV uploading in Tomcat In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jamesbrown@example.org> <jamesbrown@example.org> <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Yes, I did all that, but no luck... When I run archiva standalone (plexus-runtime), everything works perfectly, using exactly the same settings (same pom, same users, same roles, same repositories, ...). So it looks like its a Tomcat problem instead of an archiva problem... Maybe I need to set certain Tomcat settings to be able to use WebDAV in the archiva web application? Anyone got a clue? Thanks! Jan On 4/2/07, Wendy Smoak <jamesbrown@example.org> wrote: > On 4/2/07, Wendy Smoak <jamesbrown@example.org> wrote: > > > Have you granted the 'Repository Manager' role and followed the > > instructions here to configure a userid/password? > > The link would help... > http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html > > -- > Wendy > From archiva-usersjamesbrown@example.org Wed Apr 04 08:47:37 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 84425 invoked from network); 4 Apr 2007 08:47:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Apr 2007 08:47:36 -0000 Received: (qmail 46897 invoked by uid 500); 4 Apr 2007 08:47:43 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 46856 invoked by uid 500); 4 Apr 2007 08:47:42 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 46847 invoked by uid 99); 4 Apr 2007 08:47:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 01:47:42 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 01:47:35 -0700 Received: by ug-out-1314.google.com with SMTP id j40so628643ugd for <jamesbrown@example.org>; Wed, 04 Apr 2007 01:47:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Qdj7CWLhWnN8cBX0o0/g1XCqTP2LkdF4PZeMyKj4aMVpPB2KMiCp56dbMaJ0785MhQbkxjHjphm9ezdl2KAn+9GkfmjSjQxyJ4PrPQyKlHAf2v9CHoZ92WRzIU0yCk97U7gNe5tgHqEFRdDgSySDCMNE18sJrqQVMv6dtGyzaZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GM1pYOeyg5QoHrfLFBcw6KJ54TpjDx2wzJ2anMIiVhCJ6m2E6FinPjnntBVUDLATKZnHv/CAEi/dM7FGciP6Q/kLaMHL+Qu0SyxKcXI4ZxW7tahm5wiBDAYdupUHrVa0dZlc7EQ+6bQ3x2KsKXs7LbSXqXKJM2vliqCLiv+43pY= Received: by 83.161.120.155 with SMTP id c18mr45641huf.1175676431852; Wed, 04 Apr 2007 01:47:11 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 4 Apr 2007 01:47:11 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Wed, 4 Apr 2007 10:47:11 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: what JvmMx to set ? (OutOfMemoryError: Java heap space) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_37799_31948488.1175676431617" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_37799_31948488.1175676431617 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello I'm using archiva SNAPSHOT as proxy to multiple public repos in my corporate environment I get some OutOfMemoryError: Java heap space. Not sure this is related to archiva itself as it is deployed on a windows box as Tomcat service, with default config. What would you recommand for JvmMx to be used with archiva ? As I'm not admin on the windows box I can't make easy experiments... ------=_Part_37799_31948488.1175676431617-- From archiva-usersjamesbrown@example.org Thu Apr 12 11:46:13 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 36032 invoked from network); 12 Apr 2007 11:46:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Apr 2007 11:46:12 -0000 Received: (qmail 40122 invoked by uid 500); 12 Apr 2007 11:46:18 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 40089 invoked by uid 500); 12 Apr 2007 11:46:18 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 40080 invoked by uid 99); 12 Apr 2007 11:46:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 04:46:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 04:46:11 -0700 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HbxkM-00084C-Uf for jamesbrown@example.org; Thu, 12 Apr 2007 04:45:50 -0700 Message-ID: <jamesbrown@example.org> Date: Thu, 12 Apr 2007 04:45:50 -0700 (PDT) From: erm31 <jamesbrown@example.org> To: jamesbrown@example.org Subject: Archiva on WebSphere MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jamesbrown@example.org X-Virus-Checked: Checked by ClamAV on apache.org Hi, Is it possible to run Archiva on a WebSphere server (what are the config files) ? -- View this message in context: http://www.nabble.com/Archiva-on-WebSphere-tf3565003.html#a9957775 Sent from the archiva-users mailing list jamesbrown@example.org. From archiva-usersjamesbrown@example.org Thu Apr 12 11:53:17 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 37434 invoked from network); 12 Apr 2007 11:53:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Apr 2007 11:53:17 -0000 Received: (qmail 51850 invoked by uid 500); 12 Apr 2007 11:53:23 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 51718 invoked by uid 500); 12 Apr 2007 11:53:22 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 51709 invoked by uid 99); 12 Apr 2007 11:53:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 04:53:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO webmail9.amenworld.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 12 Apr 2007 04:53:16 -0700 Received: (qmail 5934 invoked from network); 12 Apr 2007 11:52:58 -0000 Received: from 90.52.68-86.rev.gaoland.net (HELO ?83.161.120.155?) (83.161.120.155) by 0 with SMTP; 12 Apr 2007 11:52:58 -0000 Message-ID: <jamesbrown@example.org> Date: Thu, 12 Apr 2007 13:52:31 +0200 From: Emmanuel Venisse <jamesbrown@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20070221) MIME-Version: 1.0 To: jamesbrown@example.org Subject: Re: Archiva on WebSphere References: <jamesbrown@example.org> In-Reply-To: <jamesbrown@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I think it's possible but we don't have a websphere to test. You can read the docs for others app servers, with that, you'll probably find what to configure in your websphere. Please update the wiki when you'll know how to do it. Thanks, Emmanuel erm31 a écrit : > Hi, > > Is it possible to run Archiva on a WebSphere server (what are the config > files) ? > > From archiva-usersjamesbrown@example.org Thu Apr 19 15:34:01 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 11048 invoked from network); 19 Apr 2007 15:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Apr 2007 15:34:00 -0000 Received: (qmail 40063 invoked by uid 500); 19 Apr 2007 15:34:06 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 39937 invoked by uid 500); 19 Apr 2007 15:34:06 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 39928 invoked by uid 99); 19 Apr 2007 15:34:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 08:34:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 08:33:59 -0700 Received: by wr-out-0506.google.com with SMTP id i23so620633wra for <jamesbrown@example.org>; Thu, 19 Apr 2007 08:33:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cFV3J298YPm91THq5MLQWuBvccBRZHSkUSRIoVRxWEkIb2LQH/gO09wz1U0tbzIZDuf0YS1MO4g4I4KEuNgJkMz7BX5eMiuzjdA81zXb17egRFDuwphFXOktKDBauJCVTdTfbuPXi+0bw4cVePk9zjyqpd2td5VX2ossci3xAQU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tq7FhJ3Xmuccypwz9d6Eq1p50jTfB3+9RVu76Dzpof5+Gn5QWL7sLlvQ49oEmhUJTaslrSOIpYISx7Vye55ZlEtIsjrrrNNqTaNutpCAWI4CgGb2xZcqCPzd3UrL+H0YqbjrokpFpIpCvOBNru3HY0jfKvTh76RnG/Iy6dOyksI= Received: by 83.161.120.155 with SMTP id m1mr790163wab.1176996816570; Thu, 19 Apr 2007 08:33:36 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 19 Apr 2007 08:33:36 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Thu, 19 Apr 2007 17:33:36 +0200 From: "Jan Delannoy" <jamesbrown@example.org> To: jamesbrown@example.org Subject: insufficient and/or wrong information when browsing archiva repository MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a Maven project that I'm trying to deploy into Archiva, and all seems to work fine, except that when I browse to the artifact in my Archiva repository I only get the most basic of information: groupId, artifactId, version and packaging. There's no other information (POM dependency snippet, other details, SCM, dependency tab, ...). Also, the value for packaging is wrong, it says 'pom' instead of the 'jar' that is in my pom file. When I checked the archiva log file, I found this error: 98083709 [pool-1-thread-1] ERROR org.apache.maven.archiva.indexer.record.RepositoryIndexRecordFactory:standard - Error reading POM file [/var/local/repository/snapshot/com/mediamine/common/common/3.2-SNAPSHOT/common-3.2-20070419.140014-8.pom] for com.mediamine.common:common:jar:3.2-SNAPSHOT:runtime, not populating in index: Cannot find parent: com.mediamine:mediamine for project: com.mediamine.common:common:jar:3.2-SNAPSHOT Strangely enough this parent pom is nicely deployed in my repository, and both Maven and Continuum don't seem to have any problems retrieving it. Is it possible that Archiva has problems indexing artifacts that use POM inheritance? Or does Archiva somehow need more information about this parent pom? Or is this error message unrelated to my problem? Any ideas/suggestions? Many thanks! Jan From archiva-usersjamesbrown@example.org Thu Apr 19 18:17:55 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 65244 invoked from network); 19 Apr 2007 18:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Apr 2007 18:17:50 -0000 Received: (qmail 86868 invoked by uid 500); 19 Apr 2007 18:17:53 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 86789 invoked by uid 500); 19 Apr 2007 18:17:53 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 86740 invoked by uid 99); 19 Apr 2007 18:17:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 11:17:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 11:17:46 -0700 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HebC9-0006sr-Tw for jamesbrown@example.org; Thu, 19 Apr 2007 11:17:25 -0700 Message-ID: <jamesbrown@example.org> Date: Thu, 19 Apr 2007 11:17:25 -0700 (PDT) From: egarza <jamesbrown@example.org> To: jamesbrown@example.org Subject: Registration emails not being sent MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jamesbrown@example.org X-Virus-Checked: Checked by ClamAV on apache.org I have deployed the Archiva SNAPSHOT, most recent revision 530476, web-app to Tomcat 5.5.23 on Unix. I have followed all the Tomcat setup instructions. I have Continuum installed on this server as well. I get emails from the Continuum SNAPSHOT for builds, but none for registration as well. I have updated the application.xml file and supplied the correct email settings for Archiva. <component> <role>org.codehaus.plexus.mailsender.MailSender</role> <implementation>org.codehaus.plexus.mailsender.javamail.JavamailMailSender</implementation> <configuration> <smtpHost>xxxxx.xxxxx.xxx</smtpHost> <smtpPort>xxxx</smtpPort> <username>xxxx</username> <password>xxxx</password> </configuration> </component> Is this a known issue. Can't find one in Jira. No stacktrace for debug information is logged either when registering the user. The user does get created in Archiva. -- Eric Garza -- View this message in context: http://www.nabble.com/Registration-emails-not-being-sent-tf3608829.html#a10083778 Sent from the archiva-users mailing list jamesbrown@example.org. From archiva-usersjamesbrown@example.org Thu Apr 19 18:21:35 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 66449 invoked from network); 19 Apr 2007 18:21:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Apr 2007 18:21:33 -0000 Received: (qmail 96626 invoked by uid 500); 19 Apr 2007 18:21:40 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 96582 invoked by uid 500); 19 Apr 2007 18:21:39 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 96573 invoked by uid 99); 19 Apr 2007 18:21:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 11:21:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 11:21:30 -0700 Received: by an-out-0708.google.com with SMTP id c38so571213ana for <jamesbrown@example.org>; Thu, 19 Apr 2007 11:21:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=se9+GLz2sjbyz6Wgta7RoSdV6BDPD5MnS+H1alSXusJ/C6dCu6amK4inRk6jWknfX4xmbSsnkzfCvRxujajCaHWK8ifIatMFR6M20Q0BdDiultkLri//3OLblXM93MQMG1Kx9hP+zLyZsGoTWydpjicd/i1puESOoMdJbCGZhWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DoIxfr8ttdNO6VtMhZHmwyMdUUQ6ZrRAiFkR8rPWcsGkqnP5JoXRsm16igMagZl8u0lW78c3VJNu4P069IloqHbNohlzOzZCao6AljEXi5YYxfXO8sLRlT5NyycPzq8Z/yC+zuVCOj89aAYmg3H4KUQq310BwLogLtS1kX6nBsM= Received: by 83.161.120.155 with SMTP id u8mr1087571anc.1177006870138; Thu, 19 Apr 2007 11:21:10 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 19 Apr 2007 11:21:10 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Thu, 19 Apr 2007 11:21:10 -0700 From: "Wendy Smoak" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: Registration emails not being sent In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org On 4/19/07, egarza <jamesbrown@example.org> wrote: > I have deployed the Archiva SNAPSHOT, most recent revision 530476, web-app to > Tomcat 5.5.23 on Unix. I have followed all the Tomcat setup instructions. Nothing in the logs? I'm surprised... http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat WARNING: The Tomcat 5.5.20 and 5.5.23 releases are missing MailSessionFactory and a few other classes. JNDI mail sessions will not work. Use Tomcat 5.5.17 or see the workaround on Bug 40668. -- Wendy From archiva-usersjamesbrown@example.org Thu Apr 19 20:48:59 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 18442 invoked from network); 19 Apr 2007 20:48:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 19 Apr 2007 20:48:58 -0000 Received: (qmail 52799 invoked by uid 500); 19 Apr 2007 20:49:04 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 52773 invoked by uid 500); 19 Apr 2007 20:49:04 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 52764 invoked by uid 99); 19 Apr 2007 20:49:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 13:49:04 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 13:48:57 -0700 Received: by an-out-0708.google.com with SMTP id c38so623265ana for <jamesbrown@example.org>; Thu, 19 Apr 2007 13:48:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=EmL5HRlBq+zn3LYPYF4mC87JBdy3JtgKUVNYSvqTgolzpAQK7wMkqLVwoohfKWqQJ7giUf98RuEFRTjbZdFofgOVUxmQRBBJMf85VibvNopPZm5Jado1NSxgi7E1ybh8+Rc4Fp0L9VO5xuO/K6Zu97Fz7+RhiyEkw9d9qYvii+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=NV0IdbNr05JrGFVDaUiqMkRb8j9xtUar3Tdqa36wJEgzgQ+xPtwqWNRkImvYjPiSARk9aktvAofgzTKatgRT0KlG2DJrmcoWKRcEsNREiqBg1pHdTGSPD/enKqFEMRgovho5mY2Dk+nHkTr2T1jDgZUrpHyrz9V2WVSN/4l1y6o= Received: by 83.161.120.155 with SMTP id y1mr916892wae.1177015712036; Thu, 19 Apr 2007 13:48:32 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 19 Apr 2007 13:48:31 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Thu, 19 Apr 2007 22:48:31 +0200 From: "Arnaud HERITIER" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Maven and Archiva in a corporate environment MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84619_457959.1177015711885" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_84619_457959.1177015711885 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everybody, I would like to have your feedback about the usage of maven (1 & 2) with archiva in a corporate environment. Up until now in a corporate environment I was using by default 5 managed repositories : - corporate-releases : for inhouse releases filled by teams (and by continuum 1.1 shortly). - corporate-snapshots : for inhouse snapshots filled by the CI. - proxy-releases : for the central repository and few others not synchronized. - proxy-snapshots : for snapshots coming from apache, codehaus and more. - 3rdparties : for 3rd party editors which don't publish their libraries. I think it is a good separation for repositories because they don't have the same size (releases vs snapshots) and the same backup policy (corporate vs proxy). The problem with this approach is that we have to deploy a "complex" settings.xml for developers. We have to define : - several proxies using proxy-releases or proxy-snapshots - 5 repositories - 5 pluginRepositories Another problem is that when maven (1 or 2) tries to download a missing dependency it will send several requests to archiva and it can be slow if the network isn't enough rapid. This problem occurs often when you have to update your IDE settings. Maven tries to download X times the javadocs and sources (but it's useful to have them). I tried to find a workaroung for that by replacing both proxy repositories by only one (proxy-all) which proxies at the same time my internal repositories and the releases and snapshots outside of the company. It's working find and I have better performances because maven send only one request to archiva. My settings are very reduced because I just have to define one proxy (with *), one repository and one pluginRepository. The counterpart is that now maven 2 updates all its plugins with SNAPSHOTs because in my proxy-all repo, I have metadata updated from snapshots repositories. Thus I can't keep these settings without to have a unstable environment. What do you think ? How are you doing ? Arnaud ------=_Part_84619_457959.1177015711885-- From archiva-usersjamesbrown@example.org Fri Apr 20 07:00:50 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 7759 invoked from network); 20 Apr 2007 07:00:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Apr 2007 07:00:49 -0000 Received: (qmail 18981 invoked by uid 500); 20 Apr 2007 07:00:55 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 18844 invoked by uid 500); 20 Apr 2007 07:00:51 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 18835 invoked by uid 99); 20 Apr 2007 07:00:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 00:00:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 00:00:44 -0700 Received: by ug-out-1314.google.com with SMTP id j40so744031ugd for <jamesbrown@example.org>; Fri, 20 Apr 2007 00:00:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ctJBcOry6t13w+gIL3j5BTKGzs6rbjfnFALE5qIboaunkLdFSeKI6ZC/czvnDxX6UMIdP/HR18gKt+P7GMvd+m5KWfKukruge0iX+jRO3SiDWIDS5HziTwCkweAU3lhPz3OTqyJzRjFW+hBl7jqLdlHU4Y5DTsnCvbXgn/J5+U0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NbZCU0SJtk+0jFDPxq8leDZiOAaDTJne3prk2N7yZAFcoXeTMtWcoErm9IjNlsrjuuU2GH/wOn6uPU1zJND7fnG0LLMdZVEK/UTvvdUA91Dq7B8u3etrwxemiHy6f00R2chs3qV7iL157LyM7AV5HO9YZHmJnfoQzBtY5K2vghg= Received: by 83.161.120.155 with SMTP id c18mr441371huf.1177052422451; Fri, 20 Apr 2007 00:00:22 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 20 Apr 2007 00:00:22 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Fri, 20 Apr 2007 09:00:22 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: Re: Maven and Archiva in a corporate environment In-Reply-To: <jamesbrown@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_182039_29777637.1177052422374" References: <jamesbrown@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_182039_29777637.1177052422374 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I myself have this config : I have folder-based repositories (hand managed, not included in archiva as managed repo) for - private corporate artifacts (release + snapshots) - restricted libs (sun jar, oracle driver...) - free libs not available on repo1 OR -soures.jar for existing libs (spring-xx) I have configured an archiva managed repository that proxies - my 3 private repos - repo1.maven.org - snapshots from apache & codehaus - java.net repo The developpers configure maven2 to use archiva as <mirrorOf>*</mirrorOf> If some artifact is missing, I can add the expected repo as proxied or copy the expected artifact in my "free libs" repo. This config has an issue : I' writing a corporate POM and deployed a snapshot. For any project to use it as parent I have to add a repository entry with snapshot enabled, pointing to my "corporate artifacts" repo. As mirrorOf redirects to archiva, this also enables snapshots from apache/codehaus. This may introduce unexpected snapshots pluginsin the build and make it unreproductible. I encourage users to force the plugin <version> (see recent thread on list) to avoid this issue. Nico. 2007/4/19, Arnaud HERITIER <jamesbrown@example.org>: > > Hi everybody, > > I would like to have your feedback about the usage of maven (1 & 2) with > archiva in a corporate environment. > > Up until now in a corporate environment I was using by default 5 managed > repositories : > - corporate-releases : for inhouse releases filled by teams (and by > continuum 1.1 shortly). > - corporate-snapshots : for inhouse snapshots filled by the CI. > - proxy-releases : for the central repository and few others not > synchronized. > - proxy-snapshots : for snapshots coming from apache, codehaus and more. > - 3rdparties : for 3rd party editors which don't publish their > libraries. > > I think it is a good separation for repositories because they don't have > the same size (releases vs snapshots) and the same backup policy > (corporate > vs proxy). > The problem with this approach is that we have to deploy a "complex" > settings.xml for developers. We have to define : > - several proxies using proxy-releases or proxy-snapshots > - 5 repositories > - 5 pluginRepositories > Another problem is that when maven (1 or 2) tries to download a missing > dependency it will send several requests to archiva and it can be slow if > the network isn't enough rapid. This problem occurs often when you have to > update your IDE settings. Maven tries to download X times the javadocs and > sources (but it's useful to have them). > > I tried to find a workaroung for that by replacing both proxy > repositories > by only one (proxy-all) which proxies at the same time my internal > repositories and the releases and snapshots outside of the company. > It's working find and I have better performances because maven send only > one request to archiva. My settings are very reduced because I just have > to > define one proxy (with *), one repository and one pluginRepository. > The counterpart is that now maven 2 updates all its plugins with > SNAPSHOTs > because in my proxy-all repo, I have metadata updated from snapshots > repositories. Thus I can't keep these settings without to have a unstable > environment. > > What do you think ? How are you doing ? > > Arnaud > ------=_Part_182039_29777637.1177052422374-- From archiva-usersjamesbrown@example.org Fri Apr 20 08:34:34 2007 Return-Path: <archiva-usersjamesbrown@example.org> Delivered-To: jamesbrown@example.org Received: (qmail 41370 invoked from network); 20 Apr 2007 08:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 20 Apr 2007 08:34:30 -0000 Received: (qmail 77978 invoked by uid 500); 20 Apr 2007 08:34:34 -0000 Delivered-To: jamesbrown@example.org Received: (qmail 77879 invoked by uid 500); 20 Apr 2007 08:34:34 -0000 Mailing-List: contact jamesbrown@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:jamesbrown@example.org> List-Unsubscribe: <mailto:jamesbrown@example.org> List-Post: <mailto:jamesbrown@example.org> List-Id: <archiva-users.maven.apache.org> Reply-To: jamesbrown@example.org Delivered-To: mailing list jamesbrown@example.org Received: (qmail 77802 invoked by uid 99); 20 Apr 2007 08:34:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 01:34:34 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jamesbrown@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ik-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 01:34:26 -0700 Received: by ik-out-1112.google.com with SMTP id b32so896980ika for <jamesbrown@example.org>; Fri, 20 Apr 2007 01:34:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=jrw7aVICfv6MwRvSdToFF+Tv3eekD7nnRqCImpIr9ZHr5JiuDcGAHc0mVB9QZg2/nomY9OUeBdYpxv9dSqqQ663HzDVKtrf2XIPUxroyKwyP862BhgUrqV3POFVy8zG1nHhSIsvru4xqXGMHJTSOVsffMoalIQ9nl+duV/ISCbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UZBAUEjDly50IZfeClX0bKwRtFhURUVLnkCS6Rdx/hghx6xQY2tvO62yW4WEADS4Ho7HPHTd8eD/ssLDIbOhpnaANinLGk50sgqMqcN91UGB9/u4nQpKdrDEvFKCC3e9oSX5rpCIClvfwGyC3N9iMBI/b3b7T41U++bUjlxL7g0= Received: by 83.161.120.155 with SMTP id g15mr445438huf.1177058044736; Fri, 20 Apr 2007 01:34:04 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 20 Apr 2007 01:34:04 -0700 (PDT) Message-ID: <jamesbrown@example.org> Date: Fri, 20 Apr 2007 10:34:04 +0200 From: "nicolas de loof" <jamesbrown@example.org> To: jamesbrown@example.org Subject: snapshot updates ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_183078_28114505.1177058044663" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_183078_28114505.1177058044663 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I've configured archiva to proxy my corporate-artifacts repo. I've got some snapshots in this repo, and set the update policy to "hourly". When I re-deploy a snapshot, developpers don't get an updated one. Is this issue related
{'source': 'Apache Software Foundation Public Mail Archives'}