Hi all, hoping someone can help shed some light on this problem I'm having. We
use Ant and Ivy to publish build artifacts to Artifactory, with this stuff
being run on a Hudson server. We have about 30 projects that are built and
published throughout the day. But for the past week or two, I've been getting
intermittent errors when Ivy tries to publish the artifacts up to the
Artifactory server. It's usually (but not always) the same project which
fails, and it doesn't always fail. Most of the time, I can log into Hudson
immediately after seeing it fail, manually kick off another build and it works
fine.
The error that is reported by Ivy looks like this:
java.io.IOException: Error writing to server
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:583)
at
sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:595)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1198)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at
org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:225)
at
org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:148)
at
org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
at
org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
at
org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:234)
at
org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)
at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:281)
at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:260)
at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:172)
...
FWIW, the project that fails most often is the one that generates the largest
artifact; but I'm not 100% certain that has anything to do with what's going on.
Has anyone seen this sort of thing before? Is it likely to be a timeout
related issue of some sort? If so, any thoughts on what might resolve it?
If it helps, this is all running on a VM running Windows Server 2008, the
latest version of Ivy, the latest Artifactory and a relatively recent
Sun/Oracle JDK 1.6.
Thanks,
Phillip Rhodes
Redwood Software
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users