Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-364

FTP connection reset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1
    • None
    • wagon-ftp
    • None
    • Win 7, 64 bit. JDK 1.7.0_01. Maven 3.0.3.

    Description

      Hi.
      Deployment to the FTP repository fails - connection reset error.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project xxx: Failed to retrieve remote metadata xxx/maven-metadata.xml: Could not transfer metadata xxx/maven-metadata.xml from/to xxx (ftp://xxx): Error transferring file via FTP: Connection reset -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project xxx: Failed to retrieve remote metadata xxx/maven-metadata.xml: Could not transfer metadata xxx/maven-metadata.xml from/to xxx (ftp://xxx): Error transferring file via FTP
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to retrieve remote metadata xxx/maven-metadata.xml: Could not transfer metadata xxx/maven-metadata.xml from/to xxx (ftp://xxx): Error transferring file via FTP
      at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:193)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
      Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to retrieve remote metadata xxx/maven-metadata.xml: Could not transfer metadata xxx/maven-metadata.xml from/to xxx (ftp://xxx): Error transferring file via FTP
      at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141)
      at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167)
      at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:157)
      ... 21 more
      Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to retrieve remote metadata xxx/maven-metadata.xml: Could not transfer metadata xxx/maven-metadata.xml from/to xxx (ftp://xxx): Error transferring file via FTP
      at org.sonatype.aether.impl.internal.DefaultDeployer.upload(DefaultDeployer.java:407)
      at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:260)
      at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215)
      at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480)
      at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137)
      ... 23 more
      Caused by: org.sonatype.aether.transfer.MetadataTransferException: Could not transfer metadata xxx from/to xxx (ftp://xxx): Error transferring file via FTP
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$3.wrap(WagonRepositoryConnector.java:932)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$3.wrap(WagonRepositoryConnector.java:923)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
      at org.sonatype.aether.impl.internal.DefaultDeployer.upload(DefaultDeployer.java:379)
      ... 27 more
      Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring file via FTP
      at org.apache.maven.wagon.providers.ftp.FtpWagon.fillInputData(FtpWagon.java:368)
      at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
      at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
      at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
      at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
      at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:64)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:189)
      at java.net.SocketInputStream.read(SocketInputStream.java:121)
      at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
      at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
      at java.io.InputStreamReader.read(InputStreamReader.java:184)
      at java.io.BufferedReader.fill(BufferedReader.java:154)
      at java.io.BufferedReader.readLine(BufferedReader.java:317)
      at java.io.BufferedReader.readLine(BufferedReader.java:382)
      at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294)
      at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490)
      at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534)
      at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:583)
      at org.apache.commons.net.ftp.FTP.pasv(FTP.java:882)
      at org.apache.commons.net.ftp.FTPClient.openDataConnection(FTPClient.java:497)
      at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2296)
      at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2269)
      at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2046)
      at org.apache.maven.wagon.providers.ftp.FtpWagon.fillInputData(FtpWagon.java:345)
      ... 8 more

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmitya Dmytro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: