You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brian Jackson (JIRA)" <ji...@codehaus.org> on 2008/04/02 22:09:58 UTC

[jira] Commented: (MRM-717) Performance affected using Archiva Repository

    [ http://jira.codehaus.org/browse/MRM-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129588#action_129588 ] 

Brian Jackson commented on MRM-717:
-----------------------------------

I'm getting similar errors in my logs when attempting to download artifacts from a remote repository.  Restarting Archiva temporarily resolves this.  How can I help resolve this issue?  This is a real showstopper for me because the remote repository is another Archiva instance within our company that is used frequently and this is affecting us pretty severely.

> Performance affected using Archiva Repository
> ---------------------------------------------
>
>                 Key: MRM-717
>                 URL: http://jira.codehaus.org/browse/MRM-717
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 1.0.1
>         Environment: C:\IS\ISEC\DyC\Klinic>mvn -v
> Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Ausiàs Armesto
>             Fix For: 1.x
>
>
> Hello,
> I have downloaded and installed the Maven Archiva StandAlone 1.0.1. At the configuration of the Maven Archiva I have deleted the internal defined repository and created a new one called "EXT". At the proxy configuration I have set the central as the proxy connector from EXT. I have also created a networkProxy and defined to be used in the Proxy Connector for Central.
> My settings.xml is the following:
> ...
>  <servers>
>     <server>
>       <!-- http://acasto.dimension.es:8012/archiva/repository/EXT -->
>       <id>EXT</id>
>       <username>myUsername</username>
>       <password>myPassword</password>
>       <configuration></configuration>
>     </server>
>   </servers>
> <proxies>
>    <proxy>
>       <active>true</active>
>       <protocol>http</protocol>
>       <host>X.X.X.X</host>
>       <port>8080</port>
>       <username>myUsername</username>
>       <password>myPassword</password>
>       <nonProxyHosts>SomeHosts separeted from | character</nonProxyHosts>
>     </proxy>
>  </proxies>
> ....
> My pom.xml contains the following in the repositories section
> <repositories>
>        <repository>
>              <id>EXT</id>
>              <name>COTS-EXT</name>
>              <url>http://acasto.dimension.es:8012/archiva/repository/EXT</url>
>               <releases>
>                       <enabled>true</enabled>
>               </releases>
>               <snapshots>
>                       <enabled>true</enabled>
>               </snapshots>
>        </repository>
> </repositories>
> <pluginRepositories>
>        <pluginRepository>
>               <id>EXT</id>
>               <name>COTS-EXT</name>
>               <url>http://acasto.dimension.es:8012/archiva/repository/EXT</url>
>               <releases>
>                       <enabled>true</enabled>
>               </releases>
>               <snapshots>
>                       <enabled>true</enabled>
>               </snapshots>
>        </pluginRepository>
> </pluginRepositories>
> I remove any file from my local repository to check that the files are being downloaded from my Repository and not from Central. And I execute the clean goal.
> C:\IS\ISEC\DyC\Klinic>mvn clean
> [INFO] Scanning for projects...
> Downloading: http://acasto.dimension.es:8012/archiva/repository/EXT/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.pom
> 806b downloaded
> Downloading: http://acasto.dimension.es:8012/archiva/repository/EXT/org/apache/maven/wagon/wagon-providers/1.0-alpha-6/wagon-providers-1.0-alpha-6.pom
> 1K downloaded
> Downloading: http://acasto.dimension.es:8012/archiva/repository/EXT/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom
> 6K downloaded
> Downloading: http://acasto.dimension.es:8012/archiva/repository/EXT/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom
> The problem comes that for downloading those files it lasts more than 3 minutes. That's unnacceptable time for such a tiny files being in my network. 
> If I access those files through the web browser I get the same time to download the files.
> On the other hand, I have still configured a web server in my EXT repository  (ACASTO) that listens to the following URL for using without Archiva (http://acasto/maven/EXT ) and it works fine if I try to download those files.
> I do not know  why is this happenning.
> Here I show you the archiva.log for further information
> 422282 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-provider-api:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom]:Error transferring file
> 443652 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus-utils:1.0.4::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom]:Error transferring file
> 465147 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact commons-net:commons-net:1.4.1::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/commons-net/commons-net/1.4.1/commons-net-1.4.1.pom]:Error transferring file
> 486299 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact oro:oro:2.0.8::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.pom]:Error transferring file
> 507622 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus-utils:1.1::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom]:Error transferring file
> 528929 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus:1.0.4::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom]:Error transferring file
> 549925 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-ftp:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.pom]:Error transferring file
> 570999 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-ftp:1.0-alpha-6::jar, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.jar]:Error transferring file
> 2001131 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-ftp:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.pom]:Error transferring file
> 2022314 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-providers:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-alpha-6/wagon-providers-1.0-alpha-6.pom]:Error transferring file
> 2043481 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom]:Error transferring file
> 2064680 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.apache.maven.wagon:wagon-provider-api:1.0-alpha-6::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom]:Error transferring file
> 2086174 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus-utils:1.0.4::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom]:Error transferring file
> 2107404 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact commons-net:commons-net:1.4.1::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/commons-net/commons-net/1.4.1/commons-net-1.4.1.pom]:Error transferring file
> 2128899 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact oro:oro:2.0.8::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.pom]:Error transferring file
> 2150175 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus-utils:1.1::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom]:Error transferring file
> 2171451 [SocketListener0-0] WARN  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Transfer error from repository "central" for artifact org.codehaus.plexus:plexus:1.0.4::pom, continuing to next repository. Error message: Download failure on resource [http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom]:Error transferring file

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