hudson.util.IOException2: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.3-bin.zip

165 views
Skip to first unread message

Dennis Tait

unread,
Nov 21, 2012, 10:58:36 AM11/21/12
to users...@googlegroups.com
Can anyone help with the following error?

I have searched the internet and have not found a solution, I am behind a proxy but it does not seem to be a network error. 

Started by an SCM change
Building in workspace d:\jabox\data\.hudson\jobs\test-project-webapp\workspace
hudson.util.IOException2: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.3-bin.zip to d:\jabox\data\.hudson\tools\Maven\Maven_3.0.3
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:725)
	at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:72)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:198)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:522)
	at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:171)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
	at hudson.model.Run.run(Run.java:1434)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:239)
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:684)
	... 14 more
[ci-game] evaluating rule: Build result
[ci-game] evaluating rule: Increased number of failed tests

Dennis Tait

unread,
Nov 22, 2012, 6:38:11 AM11/22/12
to users...@googlegroups.com
I have solved the problem by manually extracting to d:\jabox\data\.hudson\tools\Maven\Maven_3.0.3 making sure that Maven\Maven_3.0.3 is the root with the bin etc folders. I could not get this to work automatically from within jabox.
Reply all
Reply to author
Forward
0 new messages