Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Bug
-
2.2.0, 2.3.0
-
None
-
ubuntu 12.0.4 with java 7 and ant 1.8
Description
This is a duplicate of bug 1197.
I have tried using ivy 2.2 and the recently released 2.3 to publish files larger than 100mb. The Ivy repository we are using is Artifactory. I was able to successfully upload large files to Artifactory via their web UI as well as using curl from commandline. So obviously the error is happning on the Ivy side. See details below.
1) I started out with the default httpclient that is shipped with Ivy/java and I got Out of memory error as shown below.
ant -f ivy/build.xml publish-shared
Buildfile: /media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml
require-artifact-dir:
resolve:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /media/data/workspace/Intercept_Installer-RB-1.35/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.coastal#Intercept_Installer#RB-1.35;1.35
[ivy:resolve] confs: [default]
[ivy:resolve] :: resolution report :: resolve 71ms :: artifacts dl 0ms
---------------------------------------------------------------------
modules | artifacts | |||||
---|---|---|---|---|---|---|
conf | number | search | dwnlded | evicted | number | dwnlded |
---------------------------------------------------------------------
default | 0 | 0 | 0 | 0 | 0 | 0 |
---|
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.coastal#Intercept_Installer
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/4ms)
ivy-new-version:
publish-shared:
[ivy:publish] :: delivering :: org.coastal#Intercept_Installer#trunk;1.35 :: 1.35.2 :: release :: Wed Feb 27 12:51:39 PST 2013
[ivy:publish] delivering ivy file to /media/data/workspace/Intercept_Installer-RB-1.35/dist/ivy.xml
[ivy:publish] :: publishing :: org.coastal#Intercept_Installer
BUILD FAILED
/media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml:88: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2271)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:78)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:183)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:162)
at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:256)
at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
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:275)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:254)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:166)
at org.apache.ivy.Ivy.publish(Ivy.java:615)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:312)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
Total time: 34 seconds
2) default httpclient that is shipped with Ivy/java and bumped up memory using export ANT_OPTS="-Xmx1024m". I got IOException error as shown below.
ant -f ivy/build.xml publish-shared
Buildfile: /media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml
require-artifact-dir:
resolve:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /media/data/workspace/Intercept_Installer-RB-1.35/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.coastal#Intercept_Installer#RB-1.35;1.35
[ivy:resolve] confs: [default]
[ivy:resolve] :: resolution report :: resolve 55ms :: artifacts dl 0ms
---------------------------------------------------------------------
modules | artifacts | |||||
---|---|---|---|---|---|---|
conf | number | search | dwnlded | evicted | number | dwnlded |
---------------------------------------------------------------------
default | 0 | 0 | 0 | 0 | 0 | 0 |
---|
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.coastal#Intercept_Installer
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/3ms)
ivy-new-version:
publish-shared:
[ivy:publish] :: delivering :: org.coastal#Intercept_Installer#trunk;1.35 :: 1.35.2 :: release :: Wed Feb 27 12:39:05 PST 2013
[ivy:publish] delivering ivy file to /media/data/workspace/Intercept_Installer-RB-1.35/dist/ivy.xml
[ivy:publish] :: publishing :: org.coastal#Intercept_Installer
BUILD FAILED
/media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml:88: impossible to publish artifacts for org.coastal#Intercept_Installer#trunk;1.35: java.io.IOException: Error writing to server
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:625)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:637)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1320)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:264)
at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
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:275)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:254)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:166)
at org.apache.ivy.Ivy.publish(Ivy.java:615)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:312)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 minute 5 seconds
3) Using httpclient 4.3-alpha1.I get IOexception error. see below
ant -f ivy/build.xml publish-shared
Buildfile: /media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml
require-artifact-dir:
resolve:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /media/data/workspace/Intercept_Installer-RB-1.35/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.coastal#Intercept_Installer#RB-1.35;1.35
[ivy:resolve] confs: [default]
[ivy:resolve] :: resolution report :: resolve 73ms :: artifacts dl 0ms
---------------------------------------------------------------------
modules | artifacts | |||||
---|---|---|---|---|---|---|
conf | number | search | dwnlded | evicted | number | dwnlded |
---------------------------------------------------------------------
default | 0 | 0 | 0 | 0 | 0 | 0 |
---|
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.coastal#Intercept_Installer
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/3ms)
ivy-new-version:
publish-shared:
[ivy:publish] :: delivering :: org.coastal#Intercept_Installer#trunk;1.35 :: 1.35.2 :: release :: Wed Feb 27 12:09:55 PST 2013
[ivy:publish] delivering ivy file to /media/data/workspace/Intercept_Installer-RB-1.35/dist/ivy.xml
[ivy:publish] :: publishing :: org.coastal#Intercept_Installer
BUILD FAILED
/media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml:88: impossible to publish artifacts for org.coastal#Intercept_Installer#trunk;1.35: java.io.IOException: Error writing to server
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:625)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:637)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1320)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:264)
at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
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:275)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:254)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:166)
at org.apache.ivy.Ivy.publish(Ivy.java:615)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:312)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 minute 6 seconds
4) Trying with commons-httpclient version 3.1 gave me a broken pipe error. See below
ant -f ivy/build.xml publish-shared
Buildfile: /media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml
require-artifact-dir:
resolve:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /media/data/workspace/Intercept_Installer-RB-1.35/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.coastal#Intercept_Installer#RB-1.35;1.35
[ivy:resolve] confs: [default]
[ivy:resolve] :: resolution report :: resolve 64ms :: artifacts dl 0ms
---------------------------------------------------------------------
modules | artifacts | |||||
---|---|---|---|---|---|---|
conf | number | search | dwnlded | evicted | number | dwnlded |
---------------------------------------------------------------------
default | 0 | 0 | 0 | 0 | 0 | 0 |
---|
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.coastal#Intercept_Installer
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/3ms)
ivy-new-version:
publish-shared:
[ivy:publish] :: delivering :: org.coastal#Intercept_Installer#trunk;1.35 :: 1.35.0 :: release :: Wed Feb 27 12:29:39 PST 2013
[ivy:publish] delivering ivy file to /media/data/workspace/Intercept_Installer-RB-1.35/dist/ivy.xml
[ivy:publish] :: publishing :: org.coastal#Intercept_Installer
Feb 27, 2013 12:30:09 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:30:09 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 27, 2013 12:30:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:30:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 27, 2013 12:31:09 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:31:09 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
BUILD FAILED
/media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml:88: impossible to publish artifacts for org.coastal#Intercept_Installer#trunk;1.35: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:183)
at org.apache.ivy.util.url.HttpClientHandler$FileRequestEntity.writeRequest(HttpClientHandler.java:425)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.apache.ivy.util.url.HttpClientHandler.upload(HttpClientHandler.java:136)
at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
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:275)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:254)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:166)
at org.apache.ivy.Ivy.publish(Ivy.java:615)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:312)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 2 minutes 3 seconds
5) Same result with commons-httpclient version 3.0
ant -f ivy/build.xml publish-shared
Buildfile: /media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml
require-artifact-dir:
resolve:
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /media/data/workspace/Intercept_Installer-RB-1.35/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.coastal#Intercept_Installer#RB-1.35;1.35
[ivy:resolve] confs: [default]
[ivy:resolve] :: resolution report :: resolve 69ms :: artifacts dl 0ms
---------------------------------------------------------------------
modules | artifacts | |||||
---|---|---|---|---|---|---|
conf | number | search | dwnlded | evicted | number | dwnlded |
---------------------------------------------------------------------
default | 0 | 0 | 0 | 0 | 0 | 0 |
---|
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.coastal#Intercept_Installer
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 0 already retrieved (0kB/4ms)
ivy-new-version:
publish-shared:
[ivy:publish] :: delivering :: org.coastal#Intercept_Installer#trunk;1.35 :: 1.35.0 :: release :: Wed Feb 27 12:33:47 PST 2013
[ivy:publish] delivering ivy file to /media/data/workspace/Intercept_Installer-RB-1.35/dist/ivy.xml
[ivy:publish] :: publishing :: org.coastal#Intercept_Installer
Feb 27, 2013 12:34:17 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:34:17 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 27, 2013 12:34:47 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:34:47 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Feb 27, 2013 12:35:17 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.SocketException) caught when processing request: Broken pipe
Feb 27, 2013 12:35:17 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
BUILD FAILED
/media/data/workspace/Intercept_Installer-RB-1.35/ivy/build.xml:88: impossible to publish artifacts for org.coastal#Intercept_Installer#trunk;1.35: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:183)
at org.apache.ivy.util.url.HttpClientHandler$FileRequestEntity.writeRequest(HttpClientHandler.java:425)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at org.apache.ivy.util.url.HttpClientHandler.upload(HttpClientHandler.java:136)
at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
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:275)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:254)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:166)
at org.apache.ivy.Ivy.publish(Ivy.java:615)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:312)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 2 minutes 3 seconds
Please help me with this. I have tried every possible way for the last 2+ months!