archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ecirame...@upromise.com>
Subject cannot upload do to No route to host: connect error
Date Sat, 20 Dec 2008 00:45:13 GMT
Hello all - I'm having some issues deploying regularly to an archiva
server we have here.
 
The sticky bit is if I use deploy:deploy-file versus just deploy, things
work just fine.
 
The full error is here:
 
No route to host: connect
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error retrieving
previous build number for artifact
'com.upromise.atgModule:olmAtgCommon:atg-module': repository metadata
for: 's
napshot com.upromise.atgModule:olmAtgCommon:2009-P2008006-SNAPSHOT'
could not be retrieved from repository: bertha due to an error: Error
transferring file
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:583)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:499)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
retrieving previous build number for artifact
'com.upromise.atgModule:olmAtgCommon:atg-module': repository metadata
for:
 'snapshot com.upromise.atgModule:olmAtgCommon:2009-P2008006-SNAPSHOT'
could not be retrieved from repository: bertha due to an error: Error
transferring file
        at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:558)
        ... 16 more
Caused by:
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
retrieving previous build number for artifact
'com.upromise.atgModule:olmAtgCommon:atg-module': reposito
ry metadata for: 'snapshot
com.upromise.atgModule:olmAtgCommon:2009-P2008006-SNAPSHOT' could not be
retrieved from repository: bertha due to an error: Error transferring
file
        at
org.apache.maven.artifact.transform.SnapshotTransformation.transformForD
eployment(SnapshotTransformation.java:106)
        at
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager
.transformForDeployment(DefaultArtifactTransformationManager.java:78)
        at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
tArtifactDeployer.java:71)
        at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
        ... 18 more
Caused by:
org.apache.maven.artifact.repository.metadata.RepositoryMetadataResoluti
onException: repository metadata for: 'snapshot
com.upromise.atgModule:olmAtgCommon:2009-P2008006-SNAP
SHOT' could not be retrieved from repository: bertha due to an error:
Error transferring file
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.resolveAlways(DefaultRepositoryMetadataManager.java:352)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatest
SnapshotBuildNumber(SnapshotTransformation.java:161)
        at
org.apache.maven.artifact.transform.SnapshotTransformation.transformForD
eployment(SnapshotTransformation.java:100)
        ... 21 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:104)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(Defa
ultWagonManager.java:470)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadat
aFromDeploymentRepository(DefaultWagonManager.java:379)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.getArtifactMetadataFromDeploymentRepository(DefaultRepositoryMeta
dataManager.java:380)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.resolveAlways(DefaultRepositoryMetadataManager.java:348)
        ... 23 more
Caused by: java.net.NoRouteToHostException: No route to host: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
        at sun.net.www.http.HttpClient.New(HttpClient.java:304)
        at sun.net.www.http.HttpClient.New(HttpClient.java:316)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:817)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:769)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:694)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:938)
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:83)
        ... 28 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message