You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Rick Fusaro (JIRA)" <ji...@codehaus.org> on 2005/09/20 21:32:11 UTC

[jira] Closed: (MAVEN-1678) ant:ftp - error during FTP transfer: java.net.SocketException: Software caused connection abort: connect

     [ http://jira.codehaus.org/browse/MAVEN-1678?page=all ]
     
Rick Fusaro closed MAVEN-1678:
------------------------------

    Resolution: Fixed

The problem turned out to be a issue with McAfee's Enterprise Virus Scan. That software was setup in our organization to block ports 20 and 21. Works great after disabling virus scan. 

> ant:ftp - error during FTP transfer: java.net.SocketException: Software caused connection abort: connect
> --------------------------------------------------------------------------------------------------------
>
>          Key: MAVEN-1678
>          URL: http://jira.codehaus.org/browse/MAVEN-1678
>      Project: Maven
>         Type: Bug
>   Components: jelly/ant integration
>     Versions: 1.0.2
>  Environment: maven 1.0.2 
> MAVEN_HOME\lib\ant-optional-1.5.3-1 
> MAVEN_HOME\lib\ant-1.5.3-1 
> NetComponents-1.3.8 
>     Reporter: Rick Fusaro

>
>
> When we try to use the ant:ftp task (see maven.xml and project.xml below) within maven we get the following message:error during FTP transfer: java.net.SocketException: Software caused connection abort: connect. Any ideas? We have also tried action="put" and got the same message.
> ======= maven.xml ======= 
> <goal name="ftp">
> <taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.net.FTP" />
> <ant:ftp server="165.201.129.199" userid="FTP_xxxx" password="xxxxxx" verbose="yes" action="list" listing="list.txt" >
> <fileset dir="${maven.repo.local}/EAS/ears">
> <include name="${mave.ear.final.name}" />
> </fileset>
> </ant:ftp>
> </goal> 
> ========= project.xml ========= 
> <dependencies>
> <dependency>
> <groupId>oro</groupId>
> <artifactId>NetComponents</artifactId>
> <type>jar</type>
> <version>1.3.8</version>
> <properties>
> <classloader>root</classloader>
> </properties>
> </dependency>
> </dependencies>
> ========= ftp log from server =================
> 0830 09:34:47 (00000b2c) 165.201.195.235:32961 connected to 165.201.129.199:21
> 0830 09:34:47 (00000b2c) www.srsks.sr.state.ks.us S(0) 165.201.195.235 ftp_cicm logon success (A1)
> 0830 09:35:09 (00000b2c) www.srsks.sr.state.ks.us S(0) 165.201.195.235 ftp_cicm logoff R:0 D:0 P:0
> 0830 09:35:09 (00000b2c) 165.201.195.235 connection closed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org