Hi,

something is wrong with my Artifactory 3.0.4 (or Maven or network...) and I
can't figure out what is the real cause of the problem. I'm starting to
suspect some network issue (?). My Artifactory runs on Amazon EC2.

So my pom.xml declares dependency on eclipse jetty-server (this is only an
example - I had the same issue with many different dependencies as well).
The artifactory logs shows this:

==> /home/ubuntu/artifactory-3.0.4/logs/access.log <==
2013-12-03 12:27:56,794 [ACCEPTED DOWNLOAD]
jcenter-cache:org/eclipse/jetty/jetty-server/9.0.5.v20130815/jetty-server-9.0.5.v20130815.pom
for USER/MY_IP.

==> /home/ubuntu/artifactory-3.0.4/logs/request.log <==
20131203122756|1566|REQUEST|195.116.242.159|admin|GET|/repo/org/eclipse/jetty/jetty-server/9.0.5.v20130815/jetty-server-9.0.5.v20130815.pom|HTTP/1.1|200|3998

==> /home/ubuntu/artifactory-3.0.4/logs/access.log <==
2013-12-03 12:27:57,832 [ACCEPTED DOWNLOAD]
repo:org/eclipse/jetty/jetty-server/9.0.5.v20130815/jetty-server-9.0.5.v20130815.pom.sha1
for USER/MY_IP.

==> /home/ubuntu/artifactory-3.0.4/logs/request.log <==
20131203122757|912|REQUEST|195.116.242.159|admin|GET|/repo/org/eclipse/jetty/jetty-server/9.0.5.v20130815/jetty-server-9.0.5.v20130815.pom.sha1|HTTP/1.1|200|40
20131203122814|16890|REQUEST|195.116.242.159|admin|GET|/repo/org/eclipse/jetty/jetty-server/9.0.5.v20130815/jetty-server-9.0.5.v20130815.jar|HTTP/1.1|404|0

The result is, that I have pom file in artifatory, but the JAR is not there
(see the last log line with 404). (BTW. What does 404 really mean here?)

I can download the jetty-server in this exact version from central maven
repo without problem (using wget or browser).

>From the maven side it looks like this (for different artifact but the logs
are similar):

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ SOME_PROJECT ---
Downloading:
http://SOME_IP/artifactory/repo/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom
Downloaded:
http://SOME_IP/artifactory/repo/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom
(2 KB at 0.3 KB/sec)
Downloading:
http://SOME_IP/artifactory/repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom
Downloaded:
http://SOME_IP/artifactory/repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom
(3 KB at 0.7 KB/sec)
Downloading:
http://SOME_IP/artifactory/repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-jar-plugin:2.2:jar (default-jar) on project
MY_PROJECT: Execution default-jar of goal
org.apache.maven.plugins:maven-jar-plugin:2.2:jar failed: Plugin
org.apache.maven.plugins:maven-jar-plugin:2.2 or one of its dependencies
could not be resolved: Could not find artifact
org.codehaus.plexus:plexus-utils:jar:1.4.9 in artifactory
(http://SOME_IP/artifactory/repo) -> [Help 1]

After some tries each artifact finally gets downloaded.

What can be the cause of this strange behaviour? 

Please help.

--
Regards,
Tomek Kaczanowski



--
View this message in context: 
http://forums.jfrog.org/problems-with-downloading-artifacts-tp7579466.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to